Blame SOURCES/ecj-defaultto1.5.patch

a0c002
### Eclipse Workspace Patch 1.0
a0c002
#P org.eclipse.jdt.core
a0c002
Index: compiler/org/eclipse/jdt/internal/compiler/impl/CompilerOptions.java
a0c002
===================================================================
a0c002
RCS file: /cvsroot/eclipse/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/impl/CompilerOptions.java,v
a0c002
retrieving revision 1.203
a0c002
diff -u -r1.203 CompilerOptions.java
a0c002
--- compiler/org/eclipse/jdt/internal/compiler/impl/CompilerOptions.java	14 Apr 2008 19:41:33 -0000	1.203
a0c002
+++ compiler/org/eclipse/jdt/internal/compiler/impl/CompilerOptions.java	15 Dec 2008 19:50:02 -0000
a0c002
@@ -1145,9 +1145,9 @@
a0c002
 		
a0c002
 		// by default only lines and source attributes are generated.
a0c002
 		this.produceDebugAttributes = ClassFileConstants.ATTR_SOURCE | ClassFileConstants.ATTR_LINES;
a0c002
-		this.complianceLevel = this.originalComplianceLevel = ClassFileConstants.JDK1_4; // by default be compliant with 1.4
a0c002
-		this.sourceLevel = this.originalSourceLevel = ClassFileConstants.JDK1_3; //1.3 source behavior by default
a0c002
-		this.targetJDK = ClassFileConstants.JDK1_2; // default generates for JVM1.2
a0c002
+		this.complianceLevel = this.originalComplianceLevel = ClassFileConstants.JDK1_5;
a0c002
+		this.sourceLevel = this.originalSourceLevel = ClassFileConstants.JDK1_5;
a0c002
+		this.targetJDK = ClassFileConstants.JDK1_5;
a0c002
 
a0c002
 		this.defaultEncoding = null; // will use the platform default encoding
a0c002