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

vmTestbase/nsk/jdi/ObjectReference/referringObjects/referringObjects002/referringObjects002.java fails when running with JEP 416

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • P3
    • 18
    • 17
    • core-svc
    • None
    • b26

    Description

      vmTestbase/nsk/jdi/ObjectReference/referringObjects/referringObjects002/referringObjects002.java fails when running with the fix for JDK-6824466 [1]

      # ERROR: Unexpected size of ClassLoaderReference.referringObjects: 18, expected: 17
      The following stacktrace is for failure analysis.
      nsk.share.TestFailure: Unexpected size of ClassLoaderReference.referringObjects: 18, expected: 17
      at nsk.share.Log.logExceptionForFailureAnalysis(Log.java:432)
      at nsk.share.Log.complain(Log.java:403)
      at nsk.jdi.ObjectReference.referringObjects.referringObjects002.referringObjects002.checkClassObjectReferrersCount(referringObjects002.java:103)
      at nsk.jdi.ObjectReference.referringObjects.referringObjects002.referringObjects002.doTest(referringObjects002.java:126)
      at nsk.share.jdi.TestDebuggerType2.runIt(TestDebuggerType2.java:214)
      at nsk.jdi.ObjectReference.referringObjects.referringObjects002.referringObjects002.run(referringObjects002.java:86)
      at nsk.jdi.ObjectReference.referringObjects.referringObjects002.referringObjects002.main(referringObjects002.java:82)
      at java.base/jdk.internal.reflect.DirectMethodAccessorImpl$StaticMethodAccessor.invoke(DirectMethodAccessorImpl.java:150)
      at java.base/java.lang.reflect.Method.invoke(Method.java:574)
      at com.sun.javatest.regtest.agent.MainWrapper$MainThread.run(MainWrapper.java:127)
      at java.base/java.lang.Thread.run(Thread.java:831)

      [1] https://github.com/mlchung/jdk/tree/method-invoke-4

      Attachments

        Issue Links

          Activity

            People

              lmesnik Leonid Mesnik
              mchung Mandy Chung
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: