Partial fox for https://issues.apache.org/bugzilla/show_bug.cgi?id=49082
authormarkt <markt@13f79535-47bb-0310-9956-ffa450edef68>
Mon, 12 Apr 2010 09:26:39 +0000 (09:26 +0000)
committermarkt <markt@13f79535-47bb-0310-9956-ffa450edef68>
Mon, 12 Apr 2010 09:26:39 +0000 (09:26 +0000)
java.home may not include the final path separator

git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@933162 13f79535-47bb-0310-9956-ffa450edef68

java/javax/el/ExpressionFactory.java

index 27e8b79..0780f0c 100644 (file)
@@ -63,8 +63,8 @@ public abstract class ExpressionFactory {
                     new PrivilegedAction<String>(){
                         @Override
                         public String run() {
-                            return System.getProperty("java.home") + "lib" +
-                                    SEP + "el.properties";
+                            return System.getProperty("java.home") + SEP +
+                                    "lib" + SEP + "el.properties";
                         }
 
                     }