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 with Date under mingw port


Before the i686-pc-mingw32 taget for the cvs branch became
uncompilable this morning, I was getting the following
exception in my code.  I narrowed it down to the following
simple test:

import java.util.Date;

public class DateBug
{
  public static void main( String[] args )
  {
    System.out.println( (new Date()).toString() );
  }
}

With the mingw port, I get:

T:\>datebag
Exception in thread "main" java.util.MissingResourceException: Bundle gnu.java.locale.Calendar not found

It runs fine when compiled with the linux target.

Am I missing a library I should be linking in?  I compiled it with:
  i686-pc-mingw32-gcj --main=DateBug -o datebug.exe DateBug.java

	Adam


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