Permalink
Browse files

ECJ 3.7.1 + missed the ASM jars

  • Loading branch information...
1 parent a8716a8 commit 5f8a094fe193e4a8f3ec9a9fab03cc95a9f287db @hraberg committed Oct 29, 2011
View
2 .classpath
@@ -19,7 +19,7 @@
<classpathentry kind="lib" path="lib/clojure-jsr223-1.0.jar"/>
<classpathentry kind="lib" path="lib/groovy-all-1.8.3.jar" sourcepath="lib/src/groovy-1.8.3-sources.jar"/>
<classpathentry kind="lib" path="lib/javaparser-1.0.8.jar" sourcepath="lib/src/javaparser-1.0.8-src.zip"/>
- <classpathentry kind="lib" path="lib/ecj-3.5.1.jar" sourcepath="lib/src/ecjsrc-3.5.1-sources.jar"/>
+ <classpathentry kind="lib" path="lib/ecj-3.7.1.jar" sourcepath="lib/src/ecjsrc-3.7.1-sources.jar"/>
<classpathentry kind="lib" path="lib/scala-compiler-2.9.1.jar"/>
<classpathentry kind="lib" path="lib/scala-library-2.9.1.jar"/>
<classpathentry kind="lib" path="lib/functionaljava-3.0.jar" sourcepath="lib/src/functionaljava-3.0-sources.jar"/>
View
2 README.markdown
@@ -201,7 +201,7 @@ The *LambdaOps* class is an example of a collection of static factory methods ma
Modified trees can also be compiled using [InMemoryCompiler](http://github.com/hraberg/enumerable/blob/master/src/main/java/org/enumerable/lambda/support/expression/InMemoryCompiler.java) in Java 6 (in Java 5 you can use [Janino](http://docs.codehaus.org/display/JANINO/Home)). The in-memory compiler defaults to using `ToolProvider.getSystemJavaCompiler()` (which is `javac` when using Sun's JDK).
-By setting the system property `lambda.support.expression.useECJ` to true and adding `ecj-3.5.2.jar` on your class path, you can use the Eclipse batch compiler instead.
+By setting the system property `lambda.support.expression.useECJ` to true and adding `ecj-3.7.1.jar` on your class path, you can use the Eclipse batch compiler instead.
## Implementation
View
2 build.xml
@@ -379,7 +379,7 @@
<dependency groupId="junit" artifactId="junit" version="4.7" scope="test"/>
<dependency groupId="org.clojure" artifactId="clojure" version="1.3.0" scope="compile" optional="true"/>
<dependency groupId="clojure-jsr223" artifactId="clojure-jsr223" version="1.0" scope="compile" optional="true"/>
- <dependency groupId="org.eclipse.jdt.core.compiler" artifactId="ecj" version="3.5.1" scope="compile" optional="true"/>
+ <dependency groupId="org.eclipse.jdt.core.compiler" artifactId="ecj" version="3.7.1" scope="compile" optional="true"/>
<dependency groupId="org.codehaus.jsr166-mirror" artifactId="extra166y" version="1.7.0" scope="compile" optional="true"/>
<dependency groupId="org.codehaus.jsr166-mirror" artifactId="jsr166y" version="1.7.0" scope="compile" optional="true"/>
<dependency groupId="org.functionaljava" artifactId="functionaljava" version="3.0" scope="compile" optional="true"/>
View
BIN lib/asm-all-3.3.1.jar
Binary file not shown.
View
BIN lib/asm-debug-all-3.3.1.jar
Binary file not shown.
View
BIN lib/ecj-3.5.1.jar
Binary file not shown.
View
BIN lib/ecj-3.7.1.jar
Binary file not shown.
View
BIN lib/src/asm-all-3.3.1-sources.jar
Binary file not shown.
View
BIN lib/src/asm-debug-all-3.3.1-sources.jar
Binary file not shown.
View
BIN lib/src/ecj-3.5.1-sources.jar
Binary file not shown.
View
BIN lib/src/ecj-3.7.1-sources.jar
Binary file not shown.
View
1 src/main/java/org/enumerable/lambda/weaving/InMemoryCompiler.java
@@ -89,6 +89,7 @@ public JavaFileObject getJavaFileForOutput(Location location, String className,
if (useECJ) {
options.add("-warn:-raw");
options.add("-warn:-deadCode");
+ options.add("-warn:-serial");
}
CompilationTask task = compiler.getTask(null, manager, diagnostics, options, null,

0 comments on commit 5f8a094

Please sign in to comment.