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
###@###.### 2005-1-11 03:34:02 GMT
- duplicates
-
JDK-6270816 arrayEquals used in java.text should be replaced with java.util.Arrays.equals
-
- Closed
-