[lworld] java/util/logging/ParentLoggersTest.java failed with missing myParentLogger value

XMLWordPrintable

    • Type: Bug
    • Resolution: Unresolved
    • Priority: P4
    • None
    • Affects Version/s: repo-valhalla
    • Component/s: core-libs

      The following test failed in the Valhalla CI:

      java/util/logging/ParentLoggersTest.java

      Here's a snippet from the log file:

      #section:main
      ----------messages:(8/337)----------
      command: main ParentLoggersTest
      reason: User specified action: run main/othervm ParentLoggersTest
      started: Sat Mar 07 21:14:33.824 UTC 2026
      Mode: othervm [/othervm specified]
      Additional options from @modules: --add-modules java.logging
      Process id: 24692
      finished: Sat Mar 07 21:15:30.925 UTC 2026
      elapsed time (seconds): 57.101
      ----------configuration:(3/43)----------
      Boot Layer
        add modules: java.logging

      ----------System.out:(22/851)----------
      # default loggers are: [, global]
      # initial loggers are: []

      # Created loggers are: [myParentLogger.myLogger, abc.xyz.foo.myBar.myLogger]
      # Expected loggers are: [, global, myParentLogger, myParentLogger.myLogger, abc.xyz.foo, abc.xyz.foo.myBar.myLogger]
      # Returned loggers are: [, abc.xyz.foo, global, myParentLogger.myLogger, abc.xyz.foo.myBar.myLogger]

      # checkLoggers: getLoggerNames() returned unexpected loggers
      # expected logger names (6):
       expNames[0] =
       expNames[1] = global
       expNames[2] = myParentLogger
       expNames[3] = myParentLogger.myLogger
       expNames[4] = abc.xyz.foo
       expNames[5] = abc.xyz.foo.myBar.myLogger
      # returned logger names (5):
        retNames[0] =
        retNames[1] = abc.xyz.foo
        retNames[2] = global
        retNames[3] = myParentLogger.myLogger
        retNames[4] = abc.xyz.foo.myBar.myLogger
      ParentLoggersTest: failed
      ----------System.err:(11/627)----------
      java.lang.Exception: ParentLoggersTest: failed
      at ParentLoggersTest.main(ParentLoggersTest.java:94)
      at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:104)
      at java.base/java.lang.reflect.Method.invoke(Method.java:565)
      at com.sun.javatest.regtest.agent.MainWrapper$MainTask.run(MainWrapper.java:138)
      at java.base/java.lang.Thread.run(Thread.java:1527)

      JavaTest Message: Test threw exception: java.lang.Exception: ParentLoggersTest: failed
      JavaTest Message: shutting down test

      STATUS:Failed.`main' threw exception: java.lang.Exception: ParentLoggersTest: failed
      ----------rerun:(55/6194)*----------

            Assignee:
            Daniel Fuchs
            Reporter:
            Daniel Daugherty
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated: