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

runtime/MemberName/MemberNameLeak.java fails with RuntimeException

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P3 P3
    • 12
    • 12
    • hotspot
    • b09
    • 12
    • b11
    • generic
    • linux

      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

            pchilanomate Patricio Chilano Mateo
            akolarkunnu Abdul Kolarkunnu (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved: