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

javax/print/PrintServiceLookup/FlushCustomClassLoader.java fails to free

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: P4
    • Resolution: Fixed
    • Affects Version/s: 18
    • Fix Version/s: 19
    • Component/s: client-libs
    • Resolved In Build:
      b02
    • CPU:
      x86_64, aarch64
    • OS:
      linux

      Description

      The following test failed in the JDK18 CI:

      javax/print/PrintServiceLookup/FlushCustomClassLoader.java

      Here's a snippet from the log file:

      #section:main
      ----------messages:(5/219)----------
      command: main FlushCustomClassLoader
      reason: Assumed action based on file name: run main FlushCustomClassLoader
      Mode: othervm
      Additional options from @modules: --add-modules java.desktop
      elapsed time (seconds): 10.363
      ----------configuration:(3/40)----------
      Boot Layer
        add modules: java.desktop

      ----------System.out:(10/221)----------
      Not freed, attempt: 1
      Not freed, attempt: 2
      Not freed, attempt: 3
      Not freed, attempt: 4
      Not freed, attempt: 5
      Not freed, attempt: 6
      Not freed, attempt: 7
      Not freed, attempt: 8
      Not freed, attempt: 9
      Not freed, attempt: 10
      ----------System.err:(11/636)----------
      java.lang.RuntimeException: Too many attempts: 11
      at FlushCustomClassLoader.main(FlushCustomClassLoader.java:46)
      at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:104)
      at java.base/java.lang.reflect.Method.invoke(Method.java:577)
      at com.sun.javatest.regtest.agent.MainWrapper$MainThread.run(MainWrapper.java:127)
      at java.base/java.lang.Thread.run(Thread.java:833)

      JavaTest Message: Test threw exception: java.lang.RuntimeException: Too many attempts: 11
      JavaTest Message: shutting down test

      STATUS:Failed.`main' threw exception: java.lang.RuntimeException: Too many attempts: 11
      ----------rerun:(36/5266)*----------

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              serb Sergey Bylokhov
              Reporter:
              dcubed Daniel Daugherty
              Votes:
              0 Vote for this issue
              Watchers:
              8 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: