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

sun.text.Utility.arrayEquals methods no longer needed

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Fixed
    • Icon: P4 P4
    • 6
    • 5.0
    • core-libs
    • None
    • b48
    • generic
    • generic

      The class sun.text.Utility provides several arrayEquals methods, which are used by the classes java.text.MessageFormat and java.text.DateFormatSymbols (and possibly others). These methods are somewhat dubious in that they accept non-arrays. In any case, they're no longer needed because java.util.Arrays provides equals methods. The arrayEquals and arrayRegionMatches methods should be removed and calls to them replaced with calls to java.util.Arrays.equals.
      ###@###.### 2005-1-11 03:34:02 GMT

            peytoia Yuka Kamiya (Inactive)
            nlindenbsunw Norbert Lindenberg (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: