apt generator not working with java7
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Querydsl |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
Using JDK 1.7.0 to generate the query classes throws an error:
[javac] Compiling 58 source files to Z:\Entwicklung\
[javac] warning: Supported source version 'RELEASE_6' from annotation processor 'com.mysema.
[javac] Note: Running QuerydslAnnotat
[javac] Note: Serializing Supertypes
[javac] error: de.invesdwin.
[javac] Note: Running QuerydslAnnotat
[javac] 1 error
[javac] 1 warning
This happens when using source="1.6" and target="1.6" on the javac target that invokes the apt processor:
[javac] Compiling 58 source files to Z:\Entwicklung\
[javac] Note: Running QuerydslAnnotat
[javac] Note: Serializing Supertypes
[javac] error: de.invesdwin.
[javac] Note: Running QuerydslAnnotat
[javac] 1 error
The same problem, just without the warning...
This happens with any class file.
Changed in querydsl: | |
status: | In Progress → Fix Committed |
I remove the source version annotations from the processors. Now they should work with Java 7. Could you verify this?