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

Several GC tests fails with: java.lang.NumberFormatException: Unparseable number: "-"

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P2
    • Resolution: Fixed
    • Affects Version/s: 11
    • Fix Version/s: 11
    • Component/s: hotspot
    • Subcomponent:
      gc
    • Resolved In Build:
      b11

      Description

      Tests:
      serviceability/tmtools/jstat/GcTest01.java
      serviceability/tmtools/jstat/GcTest02.java
      serviceability/tmtools/jstat/GcCauseTest01.java
      serviceability/tmtools/jstat/GcCauseTest02.java
      serviceability/tmtools/jstat/GcCauseTest03.java

      java.lang.NumberFormatException: Unparseable number: "-"
      at utils.JstatResults.getFloatValue(JstatResults.java:65)
      at utils.JstatGcCauseResults.assertConsistency(JstatGcCauseResults.java:73)
      at GcCauseTest03.main(GcCauseTest03.java:50)
      at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
      at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      at java.base/java.lang.reflect.Method.invoke(Method.java:564)
      at com.sun.javatest.regtest.agent.MainWrapper$MainThread.run(MainWrapper.java:115)
      at java.base/java.lang.Thread.run(Thread.java:842)

        Attachments

        1. 8199519.patch
          3 kB
        2. 8199519.patch
          3 kB
        3. 8199519-jstat.patch
          13 kB

          Activity

            People

            • Assignee:
              ysuenaga Yasumasa Suenaga
              Reporter:
              jwilhelm Jesper Wilhelmsson
            • Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: