JDK-8057901 : Test closed/java/text/Format/DateFormat/Bug4845901.java failed in nightly
  • Type: Bug
  • Component: core-libs
  • Sub-Component: java.text
  • Affected Version: 9
  • Priority: P4
  • Status: Closed
  • Resolution: Duplicate
  • Submitted: 2014-09-09
  • Updated: 2014-09-09
  • Resolved: 2014-09-09
Related Reports
Duplicate :  
Description
The test closed/java/text/Format/DateFormat/Bug4845901.java failed in nightly. see logs:

----------direct:(2/182)----------
Note: /Users/aurora/sandbox/testbase/test/closed/java/text/Format/DateFormat/Bug4845901.java uses or overrides a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
result: Passed. Compilation successful

#section:main
----------messages:(3/118)----------
command: main Bug4845901
reason: Assumed action based on file name: run main Bug4845901 
elapsed time (seconds): 0.09
----------rerun:(19/1506)*----------
DISPLAY=sc11152338.us.oracle.com:1 \\
HOME=/Users/aurora \\
LANG=en_US.UTF-8 \\
PATH=/bin:/usr/bin \\
    /Users/aurora/CommonData/jdk/bin/java \\
        -Dtest.vm.opts='-ea -esa -Xmx512m' \\
        -Dcompile.jdk=/Users/aurora/CommonData/jdk \\
        -Dtest.src.path=/Users/aurora/sandbox/testbase/test/closed/java/text/Format/DateFormat \\
        -Dtest.src=/Users/aurora/sandbox/testbase/test/closed/java/text/Format/DateFormat \\
        -Dtest.tool.vm.opts='-J-ea -J-esa -J-Xmx512m' \\
        -Dtest.class.path=/Users/aurora/sandbox/gresults/testoutput/jdk_text/JTwork/classes/closed/java/text/Format/DateFormat \\
        -Dtest.timeout.factor=4.0 \\
        -Dtest.classes=/Users/aurora/sandbox/gresults/testoutput/jdk_text/JTwork/classes/closed/java/text/Format/DateFormat \\
        -Dtest.class.path.prefix=/Users/aurora/sandbox/gresults/testoutput/jdk_text/JTwork/classes/closed/java/text/Format/DateFormat:/Users/aurora/sandbox/testbase/test/closed/java/text/Format/DateFormat \\
        -Dtest.jdk=/Users/aurora/CommonData/jdk \\
        -Dtest.java.opts=-d32 \\
        -Dtest.compiler.opts= \\
        -classpath /Users/aurora/CommonData/jtreg/lib/javatest.jar:/Users/aurora/CommonData/jtreg/lib/jtreg.jar:/Users/aurora/CommonData/jdk/lib/tools.jar:/Users/aurora/sandbox/gresults/testoutput/jdk_text/JTwork/classes/closed/java/text/Format/DateFormat:/Users/aurora/sandbox/testbase/test/closed/java/text/Format/DateFormat:/Users/aurora/CommonData/jdk/lib/tools.jar \\
        Bug4845901
----------System.err:(15/759)----------
java.lang.RuntimeException: parsed date has wrong hour: 3, expected: 11
given string: 2003.01.13 11:10:00.802 EST
parsedDate = Tue Jan 14 03:10:00 AEDT 2003
	at Bug4845901.testParse(Bug4845901.java:32)
	at Bug4845901.main(Bug4845901.java:18)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:484)
	at com.sun.javatest.regtest.MainAction$SameVMRunnable.run(MainAction.java:759)
	at java.lang.Thread.run(Thread.java:745)

JavaTest Message: Test threw exception: java.lang.RuntimeException
JavaTest Message: shutting down test

result: Failed. Execution failed: `main' threw exception: java.lang.RuntimeException: parsed date has wrong hour: 3, expected: 11 given string: 2003.01.13 11:10:00.802 EST parsedDate = Tue Jan 14 03:10:00 AEDT 2003


test result: Failed. Execution failed: `main' threw exception: java.lang.RuntimeException: parsed date has wrong hour: 3, expected: 11 given string: 2003.01.13 11:10:00.802 EST parsedDate = Tue Jan 14 03:10:00 AEDT 2003