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

Update existing test cases of test/java/text/Format.

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P3 P3
    • 9
    • 9
    • core-libs

        There are some i18n tests which needs to be updated.
        The following tests use old Collections API, such as Vector, Hashtable, which should be changed to the new Collections API with Generics.

        jdk/test/java/text/Format/common/FormatIteratorTest.java
        jdk/test/java/text/Format/common/PParser.java
        jdk/test/java/text/Format/DateFormat/DateFormatRegression.java
        jdk/test/java/text/Format/DateFormat/DateFormatRoundTripTest.java

        The following don't use autoboxing/unboxing and/or use deprecated APIs.

        jdk/test/java/text/Format/MessageFormat/MessageFormatsByArgumentIndex.java
                                             jdk/test/java/text/Format/MessageFormatMessageTest.java

        The following have style problems.

        jdk/test/java/util/Date/Bug4955000.java
        jdk/test/java/util/Calendar/GregorianCutoverTest.java

        There are others tests also requiring updating.

        This JBS entry is for updating test cases inside test/java/text/Format . Other test cases inside test/java/util/ will be tracked with separate JBS entry.

              nnigam Nancy Nigam (Inactive)
              rgoel Rachna Goel (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Created:
                Updated:
                Resolved: