JDK-8004240 : Return value from getAdapterPrefence() can be modified
Type:Bug
Component:core-libs
Sub-Component:java.util:i18n
Affected Version:8
Priority:P4
Status:Resolved
Resolution:Fixed
OS:generic
CPU:generic
Submitted:2012-11-30
Updated:2013-10-24
Resolved:2013-03-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.
LocaleProviderAdapter.getAdapterPreference() returns the preferred provider array which can be modified by the caller. Need to return a defensive copy of it.