When restructuring locale support classes in JDK8, the optimization of removing unsupported locales from locale candidates wasn't fixed to reflect the restructuring. Specifically, sun.util.resources.LocaleData.LocaleDataResourceBundleControl.getCandidateLocales() needs to look-up locale service provider type specific language tags correctly.