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

runtime/MemberName/MemberNameLeak.java fails with RuntimeException

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: P3
    • Resolution: Fixed
    • Affects Version/s: 12
    • Fix Version/s: 12
    • Component/s: hotspot
    • Labels:
      None
    • Subcomponent:
    • Introduced In Build:
      b09
    • Introduced In Version:
      12
    • Resolved In Build:
      b11
    • CPU:
      generic
    • OS:
      linux

      Description

      Command used: ./jtregb13/bin/jtreg -verbose:all -jdk:./jdks/jdk-12 -dir:./jdk129/test/hotspot/jtreg runtime/MemberName/MemberNameLeak.java

      openjdk version "12-ea" 2019-03-19
      OpenJDK Runtime Environment 19.3 (build 12-ea+9)
      OpenJDK 64-Bit Server VM 19.3 (build 12-ea+9, mixed mode)

      Logs:
      stderr: [Error: VM option 'WhiteBoxAPI' is diagnostic and must be enabled via -XX:+UnlockDiagnosticVMOptions.
      Error: The unlock option must precede 'WhiteBoxAPI'.
      Error: Could not create the Java Virtual Machine.
      Error: A fatal exception has occurred. Program will exit.
      ]
       exitValue = 1

      java.lang.RuntimeException: 'ResolvedMethod entry added for MemberNameLeak$Leak.callMe()V' missing from stdout/stderr

      at jdk.test.lib.process.OutputAnalyzer.shouldContain(OutputAnalyzer.java:150)
      at MemberNameLeak.test(MemberNameLeak.java:76)
      at MemberNameLeak.main(MemberNameLeak.java:83)
      at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
      at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      at java.base/java.lang.reflect.Method.invoke(Method.java:566)
      at com.sun.javatest.regtest.agent.MainWrapper$MainThread.run(MainWrapper.java:127)
      at java.base/java.lang.Thread.run(Thread.java:834)

      JavaTest Message: Test threw exception: java.lang.RuntimeException: 'ResolvedMethod entry added for MemberNameLeak$Leak.callMe()V' missing from stdout/stderr

      JavaTest Message: shutting down test

      STATUS:Failed.`main' threw exception: java.lang.RuntimeException: 'ResolvedMethod entry added for MemberNameLeak$Leak.callMe()V' missing from stdout/stderr

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              pchilanomate Patricio Chilano Mateo
              Reporter:
              akolarkunnu Abdul Kolarkunnu
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: