JDK-7171324 : getAvailableLocales() of locale sensitive services should return the actual availability of locales
  • Type: Enhancement
  • Component: core-libs
  • Sub-Component: java.util:i18n
  • Affected Version: 8
  • Priority: P4
  • Status: Closed
  • Resolution: Fixed
  • OS: generic
  • CPU: generic
  • Submitted: 2012-05-24
  • Updated: 2012-10-29
  • Resolved: 2012-09-05
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
8 b55Fixed
Related Reports
Relates :  
Relates :  
Relates :  
Description
Currently in JDK7, getAvailableLocales() method in each locale sensitive service class (e.g., DateFormat) returns exactly the same set of locales corresponding to the existence of sun.text.resources.FormatData resource bundles. The method should reflect the actual availability of locales for which the class provides its service.

Comments
Run the new test developed for JEP 127 with latest JPRT build and JDK8 b62.
29-10-2012

SUGGESTED FIX http://hg.openjdk.java.net/jdk8/tl/jdk/rev/131a683a2ce0
21-08-2012

EVALUATION Integrated along with 6336885
21-08-2012