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

4 BigDecimal test cases in java/util/Formatter/Basic.java test fail

XMLWordPrintable

    • b01
    • b02
    • generic
    • generic

      Test name:
       java/util/Formatter/Basic.java

      Error Log:
      FAILED: '%.3e': Expected '1.000e-100', got '1e-100'
      FAILED: '%.3g': Expected '1.00e-05', got '1e-05'
      FAILED: '%.3G': Expected '1.00E-05', got '1E-05'
      FAILED: '%.3g': Expected '1.00e-100', got '1e-100'
      Exception in thread "main" java.lang.RuntimeException: 4191 tests: 4 failure(s), first
              at Basic.main(Basic.java:78)
      Caused by: java.lang.RuntimeException: '%.3e': Expected '1.000e-100', got '1e-100'
              at Basic.setFirst(Basic.java:41)
              at Basic.fail(Basic.java:34)
              at Basic.ck(Basic.java:49)
              at BasicBigDecimal.test(BasicBigDecimal.java:25)
              at BasicBigDecimal.test(BasicBigDecimal.java:735)
              at Basic.main(Basic.java:72)

            xlu Xiaobin Lu (Inactive)
            epavlova Ekaterina Pavlova
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: