In 1.9 mode, Time.now == nil should return false, not nil
---------------------------------------------------------
Key: JRUBY-3914
URL: http://jira.codehaus.org/browse/JRUBY-3914
Project: JRuby
Issue Type: Bug
Components: Core Classes/Modules
Affects Versions: JRuby 1.4
Environment: Java 6, Mac OS X 10.5.8, github trunk
Reporter: Hiro Asari
Fix For: JRuby 1.4
{noformat}
surfboard:~$ ruby -v -e 'puts Time.now == nil'
ruby 1.8.6 (2008-08-11 patchlevel 287) [universal-darwin9.0]
nil
surfboard:~$ ruby19 -v -e 'puts Time.now == nil'
ruby 1.9.2dev (2009-08-24 trunk 24636) [i386-darwin9.8.0]
false
surfboard:~$ jruby -v -e 'puts Time.now == nil'
jruby 1.4.0dev (ruby 1.8.7p174) (2009-08-24 bbc9b90) (Java HotSpot(TM) 64-Bit
Server VM 1.6.0_13) [x86_64-java]
nil
surfboard:~$ jruby --1.9 -v -e 'puts Time.now == nil'
jruby 1.4.0dev (ruby 1.9.1p0) (2009-08-24 bbc9b90) (Java HotSpot(TM) 64-Bit
Server VM 1.6.0_13) [x86_64-java]
nil
{noformat}
--
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