bug-classpath
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug classpath/32486] ResourceBundle/properties resolution


From: william dot adams at dot dot state dot fl dot us
Subject: [Bug classpath/32486] ResourceBundle/properties resolution
Date: 14 Sep 2007 14:34:36 -0000


------- Comment #1 from william dot adams at dot dot state dot fl dot us  
2007-09-14 14:34 -------
(In reply to comment #0)
> Trying to build gcj with the GNU Classpath jar tool falls over the following
> bug in our properties/locale system:
>         find gnu java javax org sun -name .svn -prune -o -name '*.class' 
> -print
> | \
>         jar -cfM@ $here/libgcj-4.3.0.jar
> jar: internal error:
> java.util.MissingResourceException: Key 'minNumberOfDaysInFirstWeek'not found
> in Bundle: gnu.java.locale.LocaleInformation_en_GB
>    at java.util.ResourceBundle.getObject(ResourceBundle.java:187)
>    at java.util.Calendar.<init>(Calendar.java:509)
>    at java.util.GregorianCalendar.<init>(GregorianCalendar.java:237)
>    at java.util.GregorianCalendar.<init>(GregorianCalendar.java:224)
>    at java.util.Calendar.getInstance(Calendar.java:612)
>    at java.util.Calendar.getInstance(Calendar.java:538)
>    at java.util.zip.ZipEntry.getCalendar(ZipEntry.java:225)
>    at java.util.zip.ZipEntry.setTime(ZipEntry.java:172)
>    at java.util.zip.ZipOutputStream.putNextEntry(ZipOutputStream.java:222)
>    at java.util.jar.JarOutputStream.putNextEntry(JarOutputStream.java:111)
>    at gnu.classpath.tools.jar.Creator.writeFile(Creator.java:116)
>    at gnu.classpath.tools.jar.Creator.writeFile(Creator.java:154)
>    at 
> gnu.classpath.tools.jar.Creator.writeCommandLineEntries(Creator.java:203)
>    at 
> gnu.classpath.tools.jar.Creator.writeCommandLineEntries(Creator.java:229)
>    at gnu.classpath.tools.jar.Creator.run(Creator.java:246)
>    at gnu.classpath.tools.jar.Main.run(Main.java:276)
>    at gnu.classpath.tools.jar.Main.main(Main.java:284)
> We should search further up the tree for this key, which indeed isn't in the
> en_GB properties file but there is a default further up which I assume we
> should rely on.  The java.util.ResourceBundle docs describe a parent chain 
> that
> I can't see us implementing from the code.

same problem exists trying to compile KJC java compiler with Jikes against
GNU classpath 0.93.

this appears to be a problem in classpath.

this is for confirmation only. 


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=32486





reply via email to

[Prev in Thread] Current Thread [Next in Thread]