This is the mail archive of the java@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]
Other format: [Raw text]

MissingResourceException: Bundle gnu.java.locale.Calendar not found


I have tried to compile a small Java program that uses SimpleDateFormat to print out System.currentTimeMillis() nicely. When I try to run it, it fails with the following dump. Does anyone know 1) why GregorianCalendar is involved and 2) why I am getting this MissingResourceException?

Thanks,

Vlad

Exception in thread "Thread-1" java.util.MissingResourceException: Bundle gnu.java.locale.Calendar not found
at 0x10044e94: java::lang::Throwable::Throwable[in-charge](java::lang::String*) (../../../gcc-3.2.3/libjava/java/lang/Throwable.java:152)
at 0x1003bf68: java::lang::Exception::Exception[in-charge](java::lang::String*) (../../../gcc-3.2.3/libjava/java/lang/Exception.java:75)
at 0x1003f414: java::lang::RuntimeException::RuntimeException[in-charge](java::lang::String*) (../../../gcc-3.2.3/libjava/java/lang/RuntimeException.java:78)
at 0x10063be4: java::util::MissingResourceException::MissingResourceException[in-charge](java::lang::String*, java::lang::String*, java::lang::String*) (../../../gcc-3.2.3/libjava/java/util/MissingResourceException.java:77)
at 0x10066a44: java::util::ResourceBundle::getBundle(java::lang::String*, java::util::Locale*, java::lang::ClassLoader*)
(../../../gcc-3.2.3/libjava/java/util/ResourceBundle.java:415)
at 0x10066228: java::util::ResourceBundle::getBundle(java::lang::String*, java::util::Locale*) (../../../gcc-3.2.3/libjava/java/util/ResourceBundle.java:224)
at 0x100adf78: java::util::Calendar::Calendar[in-charge](java::util::TimeZone*, java::util::Locale*) (../../../gcc-3.2.3/libjava/java/util/Calendar.java:391)
at 0x1005b1d0: java::util::GregorianCalendar::GregorianCalendar[in-charge](java::util::TimeZone*, java::util::Locale*) (../../../gcc-3.2.3/libjava/java/util/GregorianCalendar.java:123)
at 0x1005b198: java::util::GregorianCalendar::GregorianCalendar[in-charge](java::util::Locale*) (../../../gcc-3.2.3/libjava/java/util/GregorianCalendar.java:110)
at 0x10078fe4: java::text::SimpleDateFormat::SimpleDateFormat[in-charge](java::lang::String*, java::util::Locale*) (../../../gcc-3.2.3/libjava/java/text/SimpleDateFormat.java:203)
at 0x10078f7c: java::text::SimpleDateFormat::SimpleDateFormat[in-charge](java::lang::String*) (../../../gcc-3.2.3/libjava/java/text/SimpleDateFormat.java:192)
at 0x10001c4c: com::Scheduler::date(long long) (??:0)
at 0x10001338: com::Scheduler::run() (??:0)
at 0x1004284c: java::lang::Thread::run() (../../../gcc-3.2.3/libjava/java/lang/Thread.java:132)
at 0x100362d0: _Jv_ThreadRun(java::lang::Thread*) (../../../gcc-3.2.3/libjava/java/lang/natThread.cc:301)
at 0x10084564: really_start (../../../gcc-3.2.3/libjava/posix-threads.cc:377)
at 0x10088188: GC_start_routine (../../../gcc-3.2.3/boehm-gc/linux_threads.c:1377)
at 0x100d62d4: pthread_start_thread (/usr/src/cross/builds/glibc-2.3.2/linuxthreads/manager.c:303)
at 0x101090e0: clone (??:0)




Vladimir Levin wrote:

I am wondering if there are benchmark programs out there I can use to measure various performance and resource consumption parameters for GCJ on a particular platform? In my case it is a 50Mhz Motorola 855 PowerPC architecture with Linux on it. I am writing my own simple tests, but it occured to me that some kindof suite that would report things like GC latency for a range of scenarios would be really nice.






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