date class broken in 1.9 compatibility mode
-------------------------------------------
Key: JRUBY-3513
URL: http://jira.codehaus.org/browse/JRUBY-3513
Project: JRuby
Issue Type: Bug
Components: Core Classes/Modules
Affects Versions: JRuby 1.2
Environment: Windows Vista 64 and Ubuntu 8.4
Sun JDK 1.6.0_12
Reporter: Adam Zell
jruby --1.9 bug.rb -e 'require "date"'
/opt/jruby-1.2.0/lib/ruby/1.8/rational.rb:93: undefined method 'new' for class
'#<Class:01x18e18a3>' (NameError)
from /opt/jruby-1.2.0/lib/ruby/1.8/rational.rb:196:in `require'
from /opt/jruby-1.2.0/lib/ruby/1.8/date.rb:196
from /opt/jruby-1.2.0/lib/ruby/1.8/date.rb:1:in `require'
from -e:1
Does not occur if --1.9 flag is removed.
--
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