#462 ClassFormatError: LVTT entry for ... does not match any LVT entry

v4.8
open
None
5
2015-02-19
2013-01-29
No

The same issue as bug#376 reported earlier.

Exception in thread "main" java.lang.ClassFormatError: LVTT entry for 'classOnTop' in class file org/.../PropertyHolderStrategy does not match any LVT entry
    at java.lang.ClassLoader.defineClass1(Native Method)
    at java.lang.ClassLoader.defineClassCond(Unknown Source)
    at java.lang.ClassLoader.defineClass(Unknown Source)
    at java.security.SecureClassLoader.defineClass(Unknown Source)

No obfuscation tool place, only optimization.

Source code is attached. Java v1.6.0_37, ProGuard v4.8 (from Maven). Also tested for ProGuard v4.5 with the same result.

1 Attachments

Discussion

  • Eric Lafortune

    Eric Lafortune - 2013-01-29
    • assigned_to: Eric Lafortune
     
  • Eric Lafortune

    Eric Lafortune - 2013-01-29

    This is a duplicate of bug#376 and bug#459. Thanks for the additional example.

     
  • Dmitry Katsubo

    Dmitry Katsubo - 2013-01-30

    Thanks for pointing out the workaround: -optimizations !code/allocation/variable worked nicely!

     
    Last edit: Dmitry Katsubo 2013-01-30

Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:

JavaScript is required for this form.





No, thanks