[commit-cp] classpath ChangeLog java/text/DateFormatSymbols...

Andrew John Hughes <[email protected]> Thu, 12 Jan 2012 18:04:25 +0000
Newsgroups gmane.comp.java.classpath.cvs
Message-ID <[email protected]>
CVSROOT:	/sources/classpath
Module name:	classpath
Changes by:	Andrew John Hughes <gnu_andrew>	12/01/12 18:04:25

Modified files:
	.              : ChangeLog 
	java/text      : DateFormatSymbols.java 

Log message:
	RH712013: pdftk crashes with java.lang.ArrayIndexOutOfBoundsException
	
	2011-12-12  Andrew John Hughes  <[email protected]>
	
		RH712013: pdftk crashes with java.lang.ArrayIndexOutOfBoundsException
		* java/text/DateFormatSymbols.java:
		(getStringArray(List<ResourceBundle>, String, int)):
		Calls getStringArray(list,string,int,null).
		(getStringArray(List<ResourceBundle>, String, int, String[])):
		Populate a String array with locale data.  The data
		used is the first non-null non-empty element found
		as we traverse the locale hierarchy. May be supplemented
		by fallback data.
		(DateFormatSymbols(Locale)): Get a list of all bundles up the
		locale hierarchy, rather than just using the one specific locale.
		Use the improved getStringArray method to populate the arrays,
		supplying existing data where "sideways" inheritance takes place.

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/classpath/ChangeLog?cvsroot=classpath&r1=1.9836&r2=1.9837
http://cvs.savannah.gnu.org/viewcvs/classpath/java/text/DateFormatSymbols.java?cvsroot=classpath&r1=1.28&r2=1.29