Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-6961502

TEST_BUG: test/java/lang/ClassLoader/defineClass/DefineClassByteBuffer.java fails

XMLWordPrintable

    • b100
    • generic
    • generic
    • Not verified

        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)

              mchung Mandy Chung (Inactive)
              mchung Mandy Chung (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Created:
                Updated:
                Resolved:
                Imported:
                Indexed: