-
Bug
-
Resolution: Duplicate
-
P4
-
None
-
8, 11, 16
-
generic
-
generic
ADDITIONAL SYSTEM INFORMATION :
Lanux, Windows, JDK 1.8 and above
A DESCRIPTION OF THE PROBLEM :
A reproducible problem. A software library can be compiled into a functional program using JDK 1.5 (and can be executed on any later versions of JDK). But if the program is compiled using JDK 1.6 (and above), it throws
java.lang.ClassFormatError: LineNumberTable attribute has wrong length in class
Full example: https://github.com/chekanov/RootIOreader
STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
See: : https://github.com/chekanov/RootIOreader
EXPECTED VERSUS ACTUAL BEHAVIOR :
EXPECTED -
IT reads a file without problem (creating *.j files)
ACTUAL -
bject hep.io.root.proxy.TString has length=1025
[java] Exception in thread "main" java.lang.ClassFormatError: LineNumberTable attribute has wrong length in class file hep/io/root/proxy/TString
[java] at java.base/java.lang.ClassLoader.defineClass1(Native Method)
---------- BEGIN SOURCE ----------
https://github.com/chekanov/RootIOreader
---------- END SOURCE ----------
CUSTOMER SUBMITTED WORKAROUND :
Not found
Lanux, Windows, JDK 1.8 and above
A DESCRIPTION OF THE PROBLEM :
A reproducible problem. A software library can be compiled into a functional program using JDK 1.5 (and can be executed on any later versions of JDK). But if the program is compiled using JDK 1.6 (and above), it throws
java.lang.ClassFormatError: LineNumberTable attribute has wrong length in class
Full example: https://github.com/chekanov/RootIOreader
STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
See: : https://github.com/chekanov/RootIOreader
EXPECTED VERSUS ACTUAL BEHAVIOR :
EXPECTED -
IT reads a file without problem (creating *.j files)
ACTUAL -
bject hep.io.root.proxy.TString has length=1025
[java] Exception in thread "main" java.lang.ClassFormatError: LineNumberTable attribute has wrong length in class file hep/io/root/proxy/TString
[java] at java.base/java.lang.ClassLoader.defineClass1(Native Method)
---------- BEGIN SOURCE ----------
https://github.com/chekanov/RootIOreader
---------- END SOURCE ----------
CUSTOMER SUBMITTED WORKAROUND :
Not found
- duplicates
-
JDK-8261887 jar file is not functional using target 16
-
- Closed
-