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

java/awt/geom/Path2D/UnitTest.java failed with "RuntimeException: 2D bounds too small"

XMLWordPrintable

    • b25
    • x86_64, aarch64
    • os_x, windows

      The following test failed in the JDK19 CI:

      java/awt/geom/Path2D/UnitTest.java

      Here's a snippet from the log file:

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

      ----------System.out:(12/651)----------
      test bounds = java.awt.geom.Rectangle2D$Double[x=11.303064346313477,y=11.447156402089732,w=97.89670983262936,h=97.78632595875011]
      ref bounds = java.awt.geom.Rectangle2D$Double[x=11.303064405207321,y=11.443248359033289,w=97.8967067718771,h=97.79023384862587]
      xmin: 11.303064346313477 + 0 = 11.303064405207321 + 0
      ymin: 11.447156402089732 + 0 = 11.443248359033289 + 4097
      xmax: 109.19977417894283 + 0 = 109.19977117708443 + 1
      ymax: 109.23348236083984 + 0 = 109.23348220765916 + 0
      flt tbounds = [11.303064, 11.447156, 109.199776, 109.23348]
      flt rbounds = [11.303064, 11.443249, 109.19977, 109.23348]
      xmin ulp = 0
      ymin ulp = 4097
      xmax ulp = 0
      ymax ulp = 0
      ----------System.err:(16/818)----------
      java.lang.RuntimeException: 2D bounds too small
      at UnitTest.checkBounds(UnitTest.java:997)
      at UnitTest.checkBounds(UnitTest.java:926)
      at UnitTest.testBounds(UnitTest.java:1313)
      at UnitTest.testBounds(UnitTest.java:1306)
      at UnitTest.test(UnitTest.java:1175)
      at UnitTest.main(UnitTest.java:1435)
      at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:104)
      at java.base/java.lang.reflect.Method.invoke(Method.java:578)
      at com.sun.javatest.regtest.agent.MainWrapper$MainThread.run(MainWrapper.java:127)
      at java.base/java.lang.Thread.run(Thread.java:828)

      JavaTest Message: Test threw exception: java.lang.RuntimeException: 2D bounds too small
      JavaTest Message: shutting down test

      STATUS:Failed.`main' threw exception: java.lang.RuntimeException: 2D bounds too small
      ----------rerun:(36/5455)*----------

            prr Philip Race
            dcubed Daniel Daugherty
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved: