JDK-8055088 : Optimization for locale resources loading isn't working
  • Type: Bug
  • Component: core-libs
  • Sub-Component: java.util:i18n
  • Affected Version: 8,9
  • Priority: P4
  • Status: Closed
  • Resolution: Fixed
  • OS: generic
  • CPU: generic
  • Submitted: 2014-08-14
  • Updated: 2016-06-13
  • Resolved: 2014-08-19
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
JDK 8 JDK 9
8u60Fixed 9 b28Fixed
Description
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.