Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

[COCOON-2344] Restore compatibility with Java 1.4

git-svn-id: https://svn.apache.org/repos/asf/cocoon/branches/BRANCH_2_1_X@1656424 13f79535-47bb-0310-9956-ffa450edef68
  • Loading branch information...
commit b59ba4424bc146aac9b487460318b2da8bf59286 1 parent e58d9f0
@ilgrosso ilgrosso authored
View
BIN  lib/core/org.eclipse.jdt.core-3.9.1.v20130905-0837.jar
Binary file not shown
View
BIN  lib/core/org.eclipse.jdt.core_3.10.0.v20140902-0626.jar
Binary file not shown
View
2  lib/jars.xml
@@ -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>
View
2  misc/notes/review-jars.txt
@@ -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:
View
6 .../xsp/java/org/apache/cocoon/components/language/programming/java/EclipseJavaCompiler.java
@@ -340,8 +340,8 @@ public void cleanup() {
// 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 void cleanup() {
// 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);
Please sign in to comment.
Something went wrong with that request. Please try again.