Aaron Patterson created JRUBY-6631:
--------------------------------------

             Summary: Time#nsec always returns 0
                 Key: JRUBY-6631
                 URL: https://jira.codehaus.org/browse/JRUBY-6631
             Project: JRuby
          Issue Type: Bug
          Components: Miscellaneous
    Affects Versions: JRuby 1.6.7, JRuby 1.7
         Environment: jruby 1.7.0.dev (ruby-1.9.3-p139) (2012-04-27 90f43f2) 
(Java HotSpot(TM) 64-Bit Server VM 1.6.0_31) [darwin-x86_64-java]
            Reporter: Aaron Patterson


Time.now.nsec always returns 0.  I'm pretty sure I'm not lucky enough to always 
call this method on the 0th nsec every time.  ;-)

To reproduce this issue, run `Time.now.nsec` a few times and you will get the 
feeling of being very lucky.

Anyway, since nsec always returns 0, I cannot roundtrip Time objects in YAML.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://jira.codehaus.org/secure/ContactAdministrators!default.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