Join GitHub today
Delombok fails with Java 7 #495
A bunch of people are complaining that the lombok-maven-plugin does not work with Java 7. Sure enough, I get the following exception:
java.lang.VerifyError: (class: lombok/delombok/Delombok, method: delombok signature: ()Z) Incompatible argument to function
The above is with Maven 2.2.1, 64-bit Java 7 update 9, on Windows 7. I get a similar exception with Maven 3.0.4.
I understand that earlier versions worked fine with Java 7 -- but it failed around 0.11.0 or 0.11.2 and continues with 0.11.4.
If I do this first:
[ERROR] FATAL ERROR
Yup, thanks. Fixed in master: bde859c
Also rolled out an edge release so you can test that the fix works.
Could you let us know if the edge build fixes this for you?
NB: The current trunk is a mess, test wise. I fixed the issue where tests fail horribly if your local JRE does not match up to the javac6.jar we compile against, but now other discrepancies show up. We'll need to rewrite the test code to be more heuristic, or more likely, just do some regexp fu or something. We'll get there. At any rate, you can test against more things, but, there are more errors in the tests. Something to fix for tonight. None of this has an effect on lombok itself, just on running the lombok test suite.