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

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

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: P3
    • Resolution: Fixed
    • Affects Version/s: 9
    • Fix Version/s: 9
    • Component/s: core-libs
    • Labels:

      Description

      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.

        Attachments

          Activity

            People

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

              Dates

              Created:
              Updated:
              Resolved: