This is the mail archive of the java-patches@gcc.gnu.org mailing list for the Java project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: Patch: FYI: java.text merge


Tom wrote:
> Try changing gnu/java/locale/LocaleInformation.java to extend
> LocaleInformation_en_US instead of just LocaleInformation_en.
> I introduced this problem :-(

This shows a different bug.   These LocaleInformation classes look like
they're written to be combined somehow (LocaleInformation_en_US only covers
what's not in LocaleInformation_en).  I suspect that this isn't happening
properly.  The clue is the ResourceBundle.getStringArray() in the stack trace
below.

AG


Exception in thread "main" java.util.MissingResourceException: Key not found
   at 0x401c8810: java.lang.Throwable.Throwable(java.lang.String)
(/fencer/cutlass/aph/green/trunk/gcc/i/lib/libgcj.so.2)
   at 0x401bce06: java.lang.Exception.Exception(java.lang.String)
(/fencer/cutlass/aph/green/trunk/gcc/i/lib/libgcj.so.2)
   at 0x401c1606:
java.lang.RuntimeException.RuntimeException(java.lang.String)
(/fencer/cutlass/aph/green/trunk/gcc/i/lib/libgcj.so.2)
   at 0x40210a59:
java.util.MissingResourceException.MissingResourceException(java.lang.String,
java.lang.String, java.lang.String)
(/fencer/cutlass/aph/green/trunk/gcc/i/lib/libgcj.so.2)
   at 0x40214eb6: java.util.ResourceBundle.getObject(java.lang.String)
(/fencer/cutlass/aph/green/trunk/gcc/i/lib/libgcj.so.2)
   at 0x40214e06: java.util.ResourceBundle.getStringArray(java.lang.String)
(/fencer/cutlass/aph/green/trunk/gcc/i/lib/libgcj.so.2)
   at 0x4026cec3:
java.text.DateFormatSymbols.DateFormatSymbols(java.util.Locale)
(/fencer/cutlass/aph/green/trunk/gcc/i/lib/libgcj.so.2)
   at 0x4026d2a8: java.text.DateFormatSymbols.DateFormatSymbols()
(/fencer/cutlass/aph/green/trunk/gcc/i/lib/libgcj.so.2)
   at 0x0804903d: dfs.main(java.lang.String[]) (/tmp/dfs.java:9)
   at 0x401a2c48: gnu.gcj.runtime.FirstThread.call_main()
(/fencer/cutlass/aph/green/trunk/gcc/i/lib/libgcj.so.2)
   at 0x4022eef8: gnu.gcj.runtime.FirstThread.run()
(/fencer/cutlass/aph/green/trunk/gcc/i/lib/libgcj.so.2)
   at 0x401afe8c: _Jv_ThreadRun(java.lang.Thread)
(/fencer/cutlass/aph/green/trunk/gcc/i/lib/libgcj.so.2)
   at 0x40189964: _Jv_RunMain(java.lang.Class, byte const, int, byte const,
boolean) (/fencer/cutlass/aph/green/trunk/gcc/i/lib/libgcj.so.2)
   at 0x40189abd: JvRunMain
(/fencer/cutlass/aph/green/trunk/gcc/i/lib/libgcj.so.2)
   at 0x08048fbc: main (/tmp/cc1BAzaHmain.i:0)
   at 0x405041eb: __libc_start_main (/lib/libc.so.6)
   at 0x08048eb9: _init ((null):0)



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]