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

Test failed with ClassNotFoundException: java.lang.ObjecT

XMLWordPrintable

    • x86_64
    • os_x

      Test: runtime/SelectionResolution/InvokeInterfaceICCE.java

      Ran 89856 cases
      Errors occurred in test:
      Failed:
      invoke: INVOKEINTERFACE
      methodref: I3
      objectref: C7
      callsite: C4
      result: Result=Exception{exc=class java.lang.IncompatibleClassChangeError}
      classes:

      interface Different.I0 { public static Integer m(); }

      interface Same.I1 implements I0 { public static Integer m(); }

      interface Different.I2 implements I0 { private instance Integer m(); }

      interface Different.I3 implements I2 { }

      class Same.C4 { }

      class Different.C5 { }

      class Different.C6 extends C5 implements I3 { }

      class Different.C7 extends C6 { }


      Expected Result=Exception{exc=class java.lang.IncompatibleClassChangeError} got java.lang.ClassNotFoundException: java.lang.ObjecT
      Classes written to error_0
      java.lang.RuntimeException: Errors occurred in test
      at selectionresolution.SelectionResolutionTest.run(SelectionResolutionTest.java:134)
      at InvokeInterfaceICCE.main(InvokeInterfaceICCE.java:165)
      at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:103)
      at java.base/java.lang.reflect.Method.invoke(Method.java:578)
      at com.sun.javatest.regtest.agent.MainWrapper$MainThread.run(MainWrapper.java:125)
      at java.base/java.lang.Thread.run(Thread.java:1623)


      One has to suspect a single-bit memory corruption that changed "Object" to "ObjecT".

            coleenp Coleen Phillimore
            dholmes David Holmes
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: