Other |
---|
1.4.0 betaFixed |
Duplicate :
|
|
Duplicate :
|
|
Duplicate :
|
|
Duplicate :
|
|
Duplicate :
|
|
Duplicate :
|
|
Duplicate :
|
|
Relates :
|
Regression test: java/text/Format/Bug4407042.java failed with jdk1.4 beta b56 on Solaris sparc 8 tw.UTF8 and C locale. Below is a part of a message: #section:main ----------messages:(3/120)---------- command: main Bug4407042 reason: Assumed action based on file name: run main Bug4407042 elapsed time (seconds): 73.418 ----------System.out:(0/0)---------- ----------System.err:(10/616)---------- java.lang.ArithmeticException: / by zero at java.util.GregorianCalendar.timeToFields(GregorianCalendar.java:1333) at java.util.GregorianCalendar.computeFields(GregorianCalendar.java:1246) at java.util.Calendar.setTimeInMillis(Calendar.java:940) at java.util.Calendar.setTime(Calendar.java:919) at java.text.SimpleDateFormat.format(SimpleDateFormat.java:417) at java.text.SimpleDateFormat.format(SimpleDateFormat.java:407) at java.text.DateFormat.format(DateFormat.java:309) at Bug4407042$DateFormatThread.run(Bug4407042.java:72) STATUS:Failed.`main' threw exception: java.lang.ArithmeticException: / by zero result: Failed. Execution failed: `main' threw exception: java.lang.ArithmeticException: / by zero It passed on windows. keiko.nakayama@Eng 2001-03-19 naveena.suryadevara@Eng 2001-04-05 JDK version : Merlin beta build# 58 Regression test: java/text/Format/Bug4407042.java Failing on OS : Solaris6,8 and linux(Redhat6.2) NOTE: 1.Exceptions throwing are different on solaris and linux OS Please see below. 2.Passing on Sol6-x86, winNT,win2000,win98 Part of the test results from sol8: ----------------------------------- #section:main ----------messages:(3/119)---------- command: main Bug4407042 reason: Assumed action based on file name: run main Bug4407042 elapsed time (seconds): 9.075 ----------System.out:(0/0)---------- ----------System.err:(12/726)---------- java.lang.ArithmeticException: / by zero at java.text.DigitList.set(DigitList.java:478) at java.text.DecimalFormat.format(DecimalFormat.java:548) at java.text.DecimalFormat.format(DecimalFormat.java:501) at java.text.NumberFormat.format(NumberFormat.java:246) at java.text.SimpleDateFormat.zeroPaddingNumber(SimpleDateFormat.java:666) at java.text.SimpleDateFormat.subFormat(SimpleDateFormat.java:554) at java.text.SimpleDateFormat.format(SimpleDateFormat.java:427) at java.text.SimpleDateFormat.format(SimpleDateFormat.java:407) at java.text.DateFormat.format(DateFormat.java:309) at Bug4407042$DateFormatThread.run(Bug4407042.java:72) STATUS:Failed.`main' threw exception: java.lang.ArithmeticException: / by zero result: Failed. Execution failed: `main' threw exception: java.lang.ArithmeticException: / by zero test result: Failed. Execution failed: `main' threw exception: java.lang.ArithmeticException: / by zero Part of the test results from linux: ------------------------------------ #section:main ----------messages:(3/120)---------- command: main Bug4407042 reason: Assumed action based on file name: run main Bug4407042 elapsed time (seconds): 69.905 ----------System.out:(0/0)---------- ----------System.err:(11/582)---------- java.lang.NullPointerException at java.lang.String.charAt(String.java:434) at java.lang.Long.parseLong(Long.java:308) at java.lang.Long.parseLong(Long.java:363) at java.text.DigitList.getLong(DigitList.java:153) at java.text.DecimalFormat.parse(DecimalFormat.java:986) at java.text.SimpleDateFormat.subParse(SimpleDateFormat.java:1050) at java.text.SimpleDateFormat.parse(SimpleDateFormat.java:793) at java.text.DateFormat.parse(DateFormat.java:326) at Bug4407042$DateParseThread.run(Bug4407042.java:48) STATUS:Failed.`main' threw exception: java.lang.NullPointerException result: Failed. Execution failed: `main' threw exception: java.lang.NullPointerException test result: Failed. Execution failed: `main' threw exception: java.lang.NullPointerException al.smith@eng 2001-04-17 Regression test java/text/Format/Bug4407042.java fails in build 60. Will verify integration in b61. -------- verified the fix with jdk1.4 b63. The test/java/text/Format/Bug4407043.java passed on the tw.UTF8 and C on solaris sparc 8 with client VM. keiko.nakayama@Eng 2001-05-06
|