Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Compile error - IncompatibleClassChangeError #156
What steps will reproduce the problem?
What is the expected output? What do you see instead?
What version of the product are you using? On what operating system?
Please provide any additional information below.
Note that I have another project with Lombok in eclipse which compiles just
lombok.javac.handlers.HandleSetter failed on GenerationManager.java:
This appears to be some sort of incompatibility between different versions of the javac compiler.
This bug would be bordering on the impossible if you're actually seeing these on compile runs with java
Once you've found the real JVM being used to compile here, or even if it really is your 1.6.0_17b4, find that
javap -classpath path\to\this\JDKs\tools.jar com.sun.tools.javac.code.Symtab
you'll get a dump of the structure of the Symtab class. Here is the relevant part when I do this on my java
note how there's a public final non-static field named 'voidType'. Your stack trace is complaining that this
Thanks for the fast answer, you were absolutely right.
javap Output (voidtype is static):
Compiled from "Symtab.java"
Excellent sleuthing work, Gabor. That explains a thing or two. We should nevertheless try to be compatible with
Download this git latest build: https://projectlombok.org/downloads/lombok-0.9.2-HEAD.jar
and give it a spin. Does it solve the problem? If so, we can scratch this one from the list on the eve of the 0.9.2