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

javax/management/monitor/ThreadPoolTest.java and StartStopTest.java fail with Unexpected Maximum Pool Size Overflow!

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P4 P4
    • 26
    • 26
    • core-svc
    • None

      $file=C\:\\ade\\mesos\\work_dir\\jib-master\\install\\jdk-26+16-1620\\src.full\\open\\test\\jdk\\javax\\management\\monitor\\StartStopTest.java



      command: main -Djmx.x.monitor.maximum.pool.size=-5 StartStopTest 2
      reason: User specified action: run main/othervm/timeout=300 -Djmx.x.monitor.maximum.pool.size=-5 StartStopTest 2
      started: Wed Sep 17 12:14:36 UTC 2025
      Mode: othervm [/othervm specified]

      ----------System.out:(13/520)----------
      >>> MAXIMUM POOL SIZE = 1
      >>> CREATE MBeanServer
      >>> CREATE ObservedObject = :type=ObservedObject,instance=1
      >>> CREATE Monitor = :type=GaugeMonitor,instance=1
      >>> CREATE ObservedObject = :type=ObservedObject,instance=2
      >>> CREATE Monitor = :type=GaugeMonitor,instance=2
      >>> CREATE ObservedObject = :type=ObservedObject,instance=3
      >>> CREATE Monitor = :type=GaugeMonitor,instance=3
      >>> Start MONITORS
      >>> MONITORS started
      >>> Check FLAGS true
      KO: At least one attribute was not called
      >>> Unhappy Bye, Bye!
      ----------System.err:(11/734)----------
      java.lang.IllegalStateException: Test FAILED: Unexpected Maximum Pool Size Overflow!
      at StartStopTest.main(StartStopTest.java:211)
      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:1474)

      JavaTest Message: Test threw exception: java.lang.IllegalStateException: Test FAILED: Unexpected Maximum Pool Size Overflow!
      JavaTest Message: shutting down test

            kevinw Kevin Walls
            kevinw Kevin Walls
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: