Skip to content
Advertisement

Tag: binary-compatibility

What causes java.lang.IncompatibleClassChangeError?

I’m packaging a Java library as a JAR, and it’s throwing many java.lang.IncompatibleClassChangeErrors when I try to invoke methods from it. These errors seem to appear at random. What kinds of problems could be causing this error? Answer This means that you have made some incompatible binary changes to the library without recompiling the client code. Java Language Specification ยง13

Advertisement