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

HandlersOnComplexResetUpdate and HandlersOnComplexUpdate tests fail with "Unexpected reference" if timeoutFactor is less than 1/3

XMLWordPrintable

        When running tests under test/jdk/java/util locally on a macos M1 against latest JDK mainline, the following 2 tests failed:

        java/util/logging/LogManager/Configuration/updateConfiguration/HandlersOnComplexResetUpdate.java
        java/util/logging/LogManager/Configuration/updateConfiguration/HandlersOnComplexUpdate.java

        Both of them failed with similar failures:

        test result: Failed. Execution failed: `main' threw exception: java.lang.RuntimeException: Unexpected reference: java.lang.ref.WeakReference@13697cee expected: java.lang.ref.WeakReference@4a26adb7

        The complete stacktrace for each of these tests follows as separate comments.

              dfuchs Daniel Fuchs
              jpai Jaikiran Pai
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

                Created:
                Updated:
                Resolved: