1

I'm working on upgrading several programs to JDK 1.7 for the company I work for. I have run into the ClassFormatError described in

Java7 ClassFormatError: Illegal local variable table length while creating the object

and

Java 7 with emma and junit causing java.lang.VerifyError and Illegal local variable Errors

Is anyone aware of a fix other than the "-XX:-UseSplitVerifier" jvm arg?

Community
  • 1
  • 1
crunk1
  • 2,560
  • 1
  • 26
  • 32

1 Answers1

1

This isn't really a fix, but since Java 8 got rid of "-XX:-UseSplitVerifier" the only alternative going forward is the "-noverify" option which is also a temporary fix until libraries like AspectJ are updated accordingly.

Source.

Tomasz
  • 5,269
  • 8
  • 56
  • 65