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

[REDO] JDK-8271063 Print injected fields for InstanceKlass

    XMLWordPrintable

Details

    • Enhancement
    • Resolution: Fixed
    • P4
    • 18
    • 18
    • hotspot
    • b08

    Description

      The following test failed in the JDK18 CI:

      gtest/GTestWrapper.java

      Here's a snippet from the log file:

      [----------] Global test environment tear-down
      [==========] 794 tests from 141 test cases ran. (34049 ms total)
      [ PASSED ] 793 tests.
      [ FAILED ] 1 test, listed below:
      [ FAILED ] InstanceKlass.class_loader_printer_vm

       1 FAILED TEST
        YOU HAVE 8 DISABLED TESTS

      Warning: asynclog is OFF.
      Warning: asynclog is OFF.
      Warning: asynclog is OFF.
      Java HotSpot(TM) 64-Bit Server VM warning: printing of assembly code is enabled; turning on DebugNonSafepoints to gain additional output
      Java HotSpot(TM) 64-Bit Server VM warning: printing of assembly code is enabled; turning on DebugNonSafepoints to gain additional output
      ERROR: RUN_ALL_TESTS() failed. Error 1

      [2021-07-23T12:44:55.091460480Z] Waiting for completion for process 29880
      [2021-07-23T12:44:55.091596868Z] Waiting for completion finished for process 29880
      ----------System.err:(12/779)----------
      java.lang.AssertionError: gtest execution failed; exit code = 2. the failed tests: [InstanceKlass::class_loader_printer_vm]
      at GTestWrapper.main(GTestWrapper.java:98)
      at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77)
      at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      at java.base/java.lang.reflect.Method.invoke(Method.java:568)
      at com.sun.javatest.regtest.agent.MainActionHelper$AgentVMRunnable.run(MainActionHelper.java:312)
      at java.base/java.lang.Thread.run(Thread.java:833)

      JavaTest Message: Test threw exception: java.lang.AssertionError
      JavaTest Message: shutting down test

      Attachments

        Issue Links

          Activity

            People

              coleenp Coleen Phillimore
              dcubed Daniel Daugherty
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: