Wrong Time.now after VMware suspension
--------------------------------------

                 Key: JRUBY-3304
                 URL: http://jira.codehaus.org/browse/JRUBY-3304
             Project: JRuby
          Issue Type: Bug
          Components: Core Classes/Modules
    Affects Versions: JRuby 1.1.6
         Environment: Windows XP SP2 with JDK 1.6.0u7, running inside a VMware 
6.0 virtual machine
            Reporter: Peter K Chan


I noticed something interesting when I suspended a VMWare virtual machine 
running an active JRuby program. It seems like JRuby is not aware of time 
change during suspension:

Before suspension:
java.util.Date.new.to_s
=> Wed Jan 14 10:54:45 CST 2009

Time.now.to_s
=> Wed Jan 14 10:54:38 -0600 2009

After suspension for a few minutes:
java.util.Date.new.to_s
=> Wed Jan 14 10:58:20 CST 2009

Time.now.to_s
=> Wed Jan 14 10:54:52 -0600 2009

So far, I can replicate this bug with suspension in VMware, but not when 
suspending a Windows or a mac.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email


Reply via email to