src/share/classes/sun/util/locale/provider/AuxLocaleProviderAdapter.java

Print this page
rev 6663 : imported patch 8008576

*** 41,50 **** --- 41,51 ---- import java.util.spi.CalendarNameProvider; import java.util.spi.CurrencyNameProvider; import java.util.spi.LocaleNameProvider; import java.util.spi.LocaleServiceProvider; import java.util.spi.TimeZoneNameProvider; + import sun.util.spi.CalendarProvider; /** * An abstract parent class for the * HostLocaleProviderAdapter/SPILocaleProviderAdapter. *
*** 138,147 **** --- 139,156 ---- @Override public CalendarNameProvider getCalendarNameProvider() { return getLocaleServiceProvider(CalendarNameProvider.class); } + /** + * Getter methods for sun.util.spi.* providers + */ + @Override + public CalendarProvider getCalendarProvider() { + return getLocaleServiceProvider(CalendarProvider.class); + } + @Override public LocaleResources getLocaleResources(Locale locale) { return null; }