-
Bug
-
Resolution: Fixed
-
P3
-
7, 8, 9, 10, 11, 12, 15
-
b05
-
generic, sparc
-
linux, solaris_10
Test java/awt/Component/UpdatingBootTime/UpdatingBootTime.html fails on Linux.
Times have 2 year difference.
Instructions:
1) Press the mouse over the button.
2) A two timestamps would be printed.
3) Verify that they are not differ a lot: it is okay to observe a 1 or 2
seconds difference.
4) Change the system time significantly(by a month or a year) by using the OS
abilities.
5) Click on the button once again.
6) Printed times should still be the same. Pay attention to the Month/Year if
they were changed.
7) It is okay to observe a 1 or 2 seconds difference and this is not a fail.
8) If the difference is more then 1-2 seconds noticed then the test fail;
otherwise pass.
Actual behaviour:
When I change system time for the first time - difference is only 1 second, but when I change the system time back - the difference is two years.
Event occured : java.awt.event.MouseEvent[MOUSE_PRESSED,(172,76),absolute(674,237),button=1,modifiers=Button1,extModifiers=Button1,clickCount=1] on button0
The event time is : Fri Oct 31 13:32:46 MSK 2014
The system time is : Mon Aug 27 13:32:47 MSK 2012
Times have 2 year difference.
Instructions:
1) Press the mouse over the button.
2) A two timestamps would be printed.
3) Verify that they are not differ a lot: it is okay to observe a 1 or 2
seconds difference.
4) Change the system time significantly(by a month or a year) by using the OS
abilities.
5) Click on the button once again.
6) Printed times should still be the same. Pay attention to the Month/Year if
they were changed.
7) It is okay to observe a 1 or 2 seconds difference and this is not a fail.
8) If the difference is more then 1-2 seconds noticed then the test fail;
otherwise pass.
Actual behaviour:
When I change system time for the first time - difference is only 1 second, but when I change the system time back - the difference is two years.
Event occured : java.awt.event.MouseEvent[MOUSE_PRESSED,(172,76),absolute(674,237),button=1,modifiers=Button1,extModifiers=Button1,clickCount=1] on button0
The event time is : Fri Oct 31 13:32:46 MSK 2014
The system time is : Mon Aug 27 13:32:47 MSK 2012