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

Regtest closed/sun/misc/FloatingDecimal/ToString.java now failing.

XMLWordPrintable

    • b109
    • generic
    • generic
    • Verified

      This started failing sometime between b72 and b76. The /java/re JDK's are missing, so I can't pinpoint it any further.

      TEST: closed/sun/misc/FloatingDecimal/ToString.java
      JDK under test: (/java/re/jdk/7/promoted/all/b76/binaries/solaris-sparc)
      java version "1.7.0-ea"
      Java(TM) SE Runtime Environment (build 1.7.0-ea-b76)
      Java HotSpot(TM) Server VM (build 17.0-b05, mixed mode)

      ACTION: build -- Passed. All files up to date
      REASON: Named class compiled on demand
      TIME: 0.0030 seconds
      messages:
      command: build ToString
      reason: Named class compiled on demand
      elapsed time (seconds): 0.0030

      ACTION: main -- Failed. Execution failed: `main' threw exception: java.lang.RuntimeException: 2 failure(s), first
      REASON: Assumed action based on file name: run main ToString
      TIME: 1.177 seconds
      messages:
      command: main ToString
      reason: Assumed action based on file name: run main ToString
      elapsed time (seconds): 1.177
      STDOUT:
      STDERR:
      FAILED: float '': Expected '0.0010', got '0.001'
      FAILED: double '': Expected '0.0010', got '0.001'
      java.lang.RuntimeException: 2 failure(s), first
              at ToString.main(ToString.java:20)
              at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
              at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
              at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
              at java.lang.reflect.Method.invoke(Method.java:613)
              at com.sun.javatest.regtest.MainWrapper$MainThread.run(MainWrapper.java:94)
              at java.lang.Thread.run(Thread.java:717)
      Caused by: java.lang.RuntimeException: float '': Expected '0.0010', got '0.001'
              at ToString.setFirst(ToString.java:52)
              at ToString.fail(ToString.java:45)
              at ToString.test(ToString.java:31)
              at ToString.main(ToString.java:17)
              ... 6 more

      JavaTest Message: Test threw exception: java.lang.RuntimeException: 2 failure(s), first
      JavaTest Message: shutting down test

      STATUS:Failed.`main' threw exception: java.lang.RuntimeException: 2 failure(s), first

      TEST RESULT: Failed. Execution failed: `main' threw exception: java.lang.RuntimeException: 2 failure(s), first
      --------------------------------------------------
      Test results: failed: 1
      Report written to JTreport/html/report.html

            darcy Joe Darcy
            wetmore Bradford Wetmore
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: