--- old/src/java.base/share/classes/java/util/ResourceBundle.java 2016-09-14 20:48:11.000000000 +0000 +++ new/src/java.base/share/classes/java/util/ResourceBundle.java 2016-09-14 20:48:11.000000000 +0000 @@ -2496,9 +2496,7 @@ * * @see #getFormats(String) */ - public static final List FORMAT_DEFAULT - = Collections.unmodifiableList(Arrays.asList("java.class", - "java.properties")); + public static final List FORMAT_DEFAULT = List.of("java.class", "java.properties"); /** * The class-only format List containing @@ -2507,8 +2505,7 @@ * * @see #getFormats(String) */ - public static final List FORMAT_CLASS - = Collections.unmodifiableList(Arrays.asList("java.class")); + public static final List FORMAT_CLASS = List.of("java.class"); /** * The properties-only format List containing @@ -2517,8 +2514,7 @@ * * @see #getFormats(String) */ - public static final List FORMAT_PROPERTIES - = Collections.unmodifiableList(Arrays.asList("java.properties")); + public static final List FORMAT_PROPERTIES = List.of("java.properties"); /** * The time-to-live constant for not caching loaded resource bundle