summaryrefslogtreecommitdiff
blob: ec98343a7690f8c3fb85cd21c7d742146f0075f1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
diff -Nru /tmp/freemarker-2.3.19.orig/build.xml ./build.xml
--- /tmp/freemarker-2.3.19.orig/build.xml	2012-03-01 02:56:24.000000000 +0200
+++ ./build.xml	2012-09-29 21:45:17.876005850 +0300
@@ -54,13 +54,14 @@
     <property name="lib.dom4j" location="lib/dom4j.jar"/>
     <property name="lib.struts" location="lib/struts.jar"/>
     <property name="lib.rhino" location="lib/js.jar"/>
-    <property name="lib.servlet" location="lib/servlet.jar"/>
-    <property name="lib.jsp12" location="lib/jsp-api-1.2.jar"/>
-    <property name="lib.jsp20" location="lib/jsp-api-2.0.jar"/>
-    <property name="lib.jsp21" location="lib/jsp-api-2.1.jar"/>
+    <property name="lib.servlet" location="lib/jsp-2.0/servlet-api.jar"/>
+    <property name="lib.jsp12" location="lib/jsp-2.0/jsp-api.jar"/>
+    <property name="lib.jsp20" location="lib/jsp-2.0/jsp-api.jar"/>
+    <property name="lib.jsp21" location="lib/jsp-2.1/jsp-api.jar"/>
+    <property name="lib.el" location="lib/jsp-2.1/el-api.jar"/>
     
     <property name="lib.jython20" location="lib/jython-2.0.jar"/>
-    <property name="lib.jython22" location="lib/jython-2.2.1.jar"/>
+    <property name="lib.jython22" location="lib/jython.jar"/>
     <property name="lib.jython25" location="lib/jython-2.5.jar"/>
     <!-- If not overridden, use default -->
     <property name="boot.class.path" value="${sun.boot.class.path}"/>
@@ -86,11 +87,12 @@
     <path id="compile.classpath">
         <path refid="compile.nomultiversion.classpath"/>
         <pathelement path="${lib.jsp21}"/>
+	<pathelement path="${lib.el}"/>
     </path>
 
     <path id="compile.jsp1.classpath">
         <path refid="compile.nomultiversion.classpath"/>
-        <pathelement path="${lib.jsp12}"/>
+        <fileset dir="lib/jsp-2.1" includes="*.jar"/>
     </path>
 
     <path id="compile.jsp2.classpath">
@@ -561,8 +563,7 @@
         <antcall target="compile-commons-logging"/>
         <antcall target="compile-jdk14"/>
         <antcall target="compile-jdk15"/>
-        <antcall target="compile-jsp1"/>
-        <antcall target="compile-jsp2"/>
+	<antcall target="compile-jsp2"/>
         <antcall target="compile-jython20"/>
         <antcall target="compile-jython22"/>
         <antcall target="compile-jython25"/>
diff -Nru /tmp/freemarker-2.3.19.orig/src/freemarker/ext/beans/BeansWrapper.java ./src/freemarker/ext/beans/BeansWrapper.java
--- /tmp/freemarker-2.3.19.orig/src/freemarker/ext/beans/BeansWrapper.java	2012-03-01 02:56:25.000000000 +0200
+++ ./src/freemarker/ext/beans/BeansWrapper.java	2012-09-29 21:43:29.368369974 +0300
@@ -232,7 +232,7 @@
      */
     public BeansWrapper() {
         if(javaRebelAvailable) {
-            JavaRebelIntegration.registerWrapper(this);
+            //JavaRebelIntegration.registerWrapper(this);
         }
     }
     
@@ -1672,13 +1672,7 @@
 
     
     private static boolean isJavaRebelAvailable() {
-        try {
-            JavaRebelIntegration.testAvailability();
-            return true;
-        }
-        catch(NoClassDefFoundError e) {
-            return false;
-        }
+	return false;
     }
     
     /**
diff -Nru /tmp/freemarker-2.3.19.orig/src/freemarker/log/SLF4JLoggerFactory.java ./src/freemarker/log/SLF4JLoggerFactory.java
--- /tmp/freemarker-2.3.19.orig/src/freemarker/log/SLF4JLoggerFactory.java	2012-03-01 02:56:25.000000000 +0200
+++ ./src/freemarker/log/SLF4JLoggerFactory.java	2012-09-29 21:43:29.369369962 +0300
@@ -86,7 +86,7 @@
 
 		public void debug(String message, Throwable t) {
 			logger.log(null, ADAPTER_FQCN,
-					LocationAwareLogger.DEBUG_INT, message, null, t);
+					LocationAwareLogger.DEBUG_INT, message, t);
 		}
 
 		public void info(String message) {
@@ -95,7 +95,7 @@
 
 		public void info(String message, Throwable t) {
 			logger.log(null, ADAPTER_FQCN,
-					LocationAwareLogger.INFO_INT, message, null, t);
+					LocationAwareLogger.INFO_INT, message, t);
 		}
 
 		public void warn(String message) {
@@ -104,7 +104,7 @@
 
 		public void warn(String message, Throwable t) {
 			logger.log(null, ADAPTER_FQCN,
-					LocationAwareLogger.WARN_INT, message, null, t);
+					LocationAwareLogger.WARN_INT, message, t);
 		}
 
 		public void error(String message) {
@@ -113,7 +113,7 @@
 
 		public void error(String message, Throwable t) {
 			logger.log(null, ADAPTER_FQCN,
-					LocationAwareLogger.ERROR_INT, message, null, t);
+					LocationAwareLogger.ERROR_INT, message, t);
 		}
 
 		public boolean isDebugEnabled() {