-
Bug
-
Resolution: Fixed
-
P4
-
7
-
b100
-
generic
-
generic
-
Not verified
Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-8191379 | 6u191 | Ivan Gerasimov | P4 | Resolved | Fixed | b01 |
test/java/lang/ClassLoader/defineClass/DefineClassByteBuffer.java fails in samevm mode but passes in othervm mode.
java.lang.ClassFormatError: Truncated class file
at java.lang.ClassLoader.defineClass2(Native Method)
at java.lang.ClassLoader.defineClass(ClassLoader.java:885)
at DefineClassByteBuffer$DummyClassLoader.findClass(DefineClassByteBuffer.java:122)
at java.lang.ClassLoader.loadClass(ClassLoader.java:422)
at java.lang.ClassLoader.loadClass(ClassLoader.java:355)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:264)
at DefineClassByteBuffer.test(DefineClassByteBuffer.java:41)
at DefineClassByteBuffer.main(DefineClassByteBuffer.java:56)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:613)
at com.sun.javatest.regtest.MainAction$SameVMThread.run(MainAction.java:575)
at java.lang.Thread.run(Thread.java:717)
java.lang.ClassFormatError: Truncated class file
at java.lang.ClassLoader.defineClass2(Native Method)
at java.lang.ClassLoader.defineClass(ClassLoader.java:885)
at DefineClassByteBuffer$DummyClassLoader.findClass(DefineClassByteBuffer.java:122)
at java.lang.ClassLoader.loadClass(ClassLoader.java:422)
at java.lang.ClassLoader.loadClass(ClassLoader.java:355)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:264)
at DefineClassByteBuffer.test(DefineClassByteBuffer.java:41)
at DefineClassByteBuffer.main(DefineClassByteBuffer.java:56)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:613)
at com.sun.javatest.regtest.MainAction$SameVMThread.run(MainAction.java:575)
at java.lang.Thread.run(Thread.java:717)
- backported by
-
JDK-8191379 TEST_BUG: test/java/lang/ClassLoader/defineClass/DefineClassByteBuffer.java fails
-
- Resolved
-