bug-classpath
[Top][All Lists]
Advanced

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

[Bug classpath/32486] New: ResourceBundle/properties resolution


From: gnu_andrew at member dot fsf dot org
Subject: [Bug classpath/32486] New: ResourceBundle/properties resolution
Date: 24 Jun 2007 19:25:23 -0000

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.


-- 
           Summary: ResourceBundle/properties resolution
           Product: classpath
           Version: unspecified
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: classpath
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: gnu_andrew at member dot fsf dot org


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





reply via email to

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