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

(fmt) java/util/Formatter/Basic.java asserts if run with -esa

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • P3
    • Resolution: Fixed
    • 8
    • 8
    • core-libs
    • b75
    • Verified

    Description


      With jdk8/tl (or any build of jdk8) then this test fails if run with -esa.

      Exception in thread "main" java.lang.AssertionError
      at java.util.Formatter$FormatSpecifier.print(Formatter.java:3830)
      at java.util.Formatter$FormatSpecifier.print(Formatter.java:3816)
      at java.util.Formatter$FormatSpecifier.printDateTime(Formatter.java:2790)
      at java.util.Formatter$FormatSpecifier.print(Formatter.java:2694)
      at java.util.Formatter.format(Formatter.java:2487)
      at java.util.Formatter.format(Formatter.java:2422)
      at BasicDateTime.test(BasicDateTime.java:52)
      at BasicDateTime.testDateTime(BasicDateTime.java:149)
      at BasicDateTime.testDateTime(BasicDateTime.java:140)
      at BasicDateTime.test(BasicDateTime.java:1685)
      at Basic.main(Basic.java:97)

      Attachments

        Activity

          People

            bpb Brian Burkhalter
            alanb Alan Bateman
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: