REGRESSION:
OS: Solaris9 (sparc), linux(i586)
JAVA: 6.0 b48, b49 FAILS, b47 PASS
Options: -esa
JCK: 6.0 b06
4 tests failed:
api/java_text/DateFormat/index.html#GetInstance[DateFormat0031]
api/java_text/DateFormat/index.html#GetInstance[DateFormat0034]
api/java_text/DateFormat/index.html#GetInstance[DateFormat0037]
api/java_text/SimpleDateFormat/index.html#Ctor[SimpleDateFormat0008]
java source of SimpleDateFormat:
......
private void initializeCalendar(Locale loc) {
if (calendar == null) {
assert loc != null;
......
When system assertions is enabled (-enablesystemassertions) and locale (loc) is null method should throw NullPointer or Illegal argument exception (according to JCK test expectation, API spec doesnt specify exception), but java.lang.AssertionError exception is thrown.