--- old/src/java.base/share/classes/java/time/temporal/WeekFields.java 2017-11-10 15:30:20.758374812 -0800 +++ new/src/java.base/share/classes/java/time/temporal/WeekFields.java 2017-11-10 15:30:20.407368251 -0800 @@ -286,13 +286,17 @@ * Obtains an instance of {@code WeekFields} appropriate for a locale. *

* This will look up appropriate values from the provider of localization data. + * If the locale contains "fw" (First day of week) and/or "rg" + * (Region Override) + * Unicode extensions, returned instance will reflect the values specified with + * those extensions. If both "fw" and "rg" are specified, the value from + * "fw" extension supersedes the implicit one from "rg" extension. * * @param locale the locale to use, not null * @return the week-definition, not null */ public static WeekFields of(Locale locale) { Objects.requireNonNull(locale, "locale"); - locale = new Locale(locale.getLanguage(), locale.getCountry()); // elminate variants int calDow = CalendarDataUtility.retrieveFirstDayOfWeek(locale); DayOfWeek dow = DayOfWeek.SUNDAY.plus(calDow - 1);