Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-7194219

java/awt/Component/UpdatingBootTime/UpdatingBootTime.html fails on Linux

XMLWordPrintable

    • 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

            serb Sergey Bylokhov
            kshefov Konstantin Shefov
            Votes:
            0 Vote for this issue
            Watchers:
            9 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: