Recently I found the following problems. (1) Currency related problem:
While trying to run HSQLDB, java.lang.ExceptionInInitializerError at org.hsqldb.Database.reopen (Database.java:258) at org.hsqldb.Database.open (Database.java:232) at org.hsqldb.DatabaseManager.getDatabase (source file unknown) at org.hsqldb.DatabaseManager.newSession (source file unknown) at org.hsqldb.jdbc.jdbcConnection.<init> (jdbcConnection.java:2410) at org.hsqldb.jdbcDriver.getConnection (jdbcDriver.java:188) at org.hsqldb.jdbcDriver.connect (jdbcDriver.java:166) at java.sql.DriverManager.getConnection (DriverManager.java:164) at java.sql.DriverManager.getConnection (DriverManager.java:188) at TestHSQLDB.execute (TestHSQLDB.java:36) at TestHSQLDB.main (TestHSQLDB.java:21) Caused by: java.lang.IllegalArgumentException: Invalid (empty) country code for locale:en at java.util.Currency.<init> (Currency.java:187) at java.util.Currency.getInstance (Currency.java:280) at java.text.DecimalFormatSymbols.<init> (DecimalFormatSymbols.java:151) at java.text.NumberFormat.computeInstance (NumberFormat.java:327) at java.text.NumberFormat.getNumberInstance (NumberFormat.java:456) at java.text.NumberFormat.getInstance (NumberFormat.java:381) at java.text.SimpleDateFormat.<init> (SimpleDateFormat.java:220) at org.hsqldb.Library.<clinit> (source file unknown) at org.hsqldb.Database.reopen (Database.java:258) (2) Timezone related problem: bash-3.00$ cat TestDate.java import java.util.Date; public class TestDate { public static void main(String args[]) throws Exception { Date date = new Date(1098968427000L); // 04-10-28 14:00:27 GMT+00:00 System.out.println(date); } } bash-3.00$ kaffe TestDate Thu Oct 28 22:00:27 JDT 2004 This must be "Thu Oct 28 23:00:27 JST 2004" because Japanese Standard Time does not have a daylight saving system. _______________________________________________ kaffe mailing list kaffe@kaffe.org http://kaffe.org/cgi-bin/mailman/listinfo/kaffe