Author: ilgrosso
Date: Mon Feb 2 09:23:46 2015
New Revision: 1656424
URL: http://svn.apache.org/r1656424
Log:
[COCOON-2344] Restore compatibility with Java 1.4
Added:
cocoon/branches/BRANCH_2_1_X/lib/core/org.eclipse.jdt.core-3.9.1.v20130905-0837.jar (with props)
Removed:
cocoon/branches/BRANCH_2_1_X/lib/core/org.eclipse.jdt.core_3.10.0.v20140902-0626.jar
Modified:
cocoon/branches/BRANCH_2_1_X/lib/jars.xml
cocoon/branches/BRANCH_2_1_X/misc/notes/review-jars.txt
cocoon/branches/BRANCH_2_1_X/src/blocks/xsp/java/org/apache/cocoon/components/language/programming/java/EclipseJavaCompiler.java
Added: cocoon/branches/BRANCH_2_1_X/lib/core/org.eclipse.jdt.core-3.9.1.v20130905-0837.jar
URL: http://svn.apache.org/viewvc/cocoon/branches/BRANCH_2_1_X/lib/core/org.eclipse.jdt.core-3.9.1.v20130905-0837.jar?rev=1656424&view=auto
==============================================================================
Binary file - no diff available.
Propchange: cocoon/branches/BRANCH_2_1_X/lib/core/org.eclipse.jdt.core-3.9.1.v20130905-0837.jar
------------------------------------------------------------------------------
svn:mime-type = application/octet-stream
Modified: cocoon/branches/BRANCH_2_1_X/lib/jars.xml
URL: http://svn.apache.org/viewvc/cocoon/branches/BRANCH_2_1_X/lib/jars.xml?rev=1656424&r1=1656423&r2=1656424&view=diff
==============================================================================
--- cocoon/branches/BRANCH_2_1_X/lib/jars.xml (original)
+++ cocoon/branches/BRANCH_2_1_X/lib/jars.xml Mon Feb 2 09:23:46 2015
@@ -705,7 +705,7 @@
<title>Eclipse Java Development Tools Core</title>
<description>Eclipse Java Compiler</description>
<used-by>XSP</used-by>
- <lib>core/org.eclipse.jdt.core_3.10.0.v20140902-0626.jar</lib>
+ <lib>core/org.eclipse.jdt.core-3.9.1.v20130905-0837.jar</lib>
<homepage>http://www.eclipse.org/jdt/</homepage>
</file>
Modified: cocoon/branches/BRANCH_2_1_X/misc/notes/review-jars.txt
URL: http://svn.apache.org/viewvc/cocoon/branches/BRANCH_2_1_X/misc/notes/review-jars.txt?rev=1656424&r1=1656423&r2=1656424&view=diff
==============================================================================
--- cocoon/branches/BRANCH_2_1_X/misc/notes/review-jars.txt (original)
+++ cocoon/branches/BRANCH_2_1_X/misc/notes/review-jars.txt Mon Feb 2 09:23:46 2015
@@ -94,7 +94,7 @@ L: lib/core/jcs-1.2.5-dev-20050313.jar
F: C:
R:
-L: lib/core/org.eclipse.jdt.core_3.10.0.v20140902-0626.jar
+L: lib/core/org.eclipse.jdt.core-3.9.1.v20130905-0837.jar
F: C:
R:
Modified: cocoon/branches/BRANCH_2_1_X/src/blocks/xsp/java/org/apache/cocoon/components/language/programming/java/EclipseJavaCompiler.java
URL: http://svn.apache.org/viewvc/cocoon/branches/BRANCH_2_1_X/src/blocks/xsp/java/org/apache/cocoon/components/language/programming/java/EclipseJavaCompiler.java?rev=1656424&r1=1656423&r2=1656424&view=diff
==============================================================================
--- cocoon/branches/BRANCH_2_1_X/src/blocks/xsp/java/org/apache/cocoon/components/language/programming/java/EclipseJavaCompiler.java (original)
+++ cocoon/branches/BRANCH_2_1_X/src/blocks/xsp/java/org/apache/cocoon/components/language/programming/java/EclipseJavaCompiler.java Mon Feb 2 09:23:46 2015
@@ -340,8 +340,8 @@ public class EclipseJavaCompiler impleme
// Set the sourceCodeVersion
switch (this.compilerComplianceLevel) {
case 180:
- settings.put(CompilerOptions.OPTION_Source, CompilerOptions.VERSION_1_8);
- settings.put(CompilerOptions.OPTION_Compliance, CompilerOptions.VERSION_1_8);
+ settings.put(CompilerOptions.OPTION_Source, CompilerOptions.VERSION_1_7);
+ settings.put(CompilerOptions.OPTION_Compliance, CompilerOptions.VERSION_1_7);
break;
case 170:
settings.put(CompilerOptions.OPTION_Source, CompilerOptions.VERSION_1_7);
@@ -364,7 +364,7 @@ public class EclipseJavaCompiler impleme
// Set the target platform
switch (SystemUtils.JAVA_VERSION_INT) {
case 180:
- settings.put(CompilerOptions.OPTION_TargetPlatform, CompilerOptions.VERSION_1_8);
+ settings.put(CompilerOptions.OPTION_TargetPlatform, CompilerOptions.VERSION_1_7);
break;
case 170:
settings.put(CompilerOptions.OPTION_TargetPlatform, CompilerOptions.VERSION_1_7);
lmpx.com only provides a reader for public news (NNTP) servers. It is not
affiliated with the servers or forums shown here and is not responsible for
the content of articles, which is written by their respective authors.