![]() |
|
|
Issue Type:
|
Bug
|
Affects Versions:
|
JRuby 1.7.0.pre2, JRuby 1.7.0.pre1 |
Assignee:
|
Thomas E Enebo
|
Created:
|
19/Sep/12 6:12 AM
|
Description:
|
Since Generator is now built in, strictly speaking "require 'generator'" is not needed. However, old application code (particularly old Ruby 1.8 code) still does require 'generator'. This fails as follows in --1.8 mode:
LoadError: no such file to load – generator_internal
require at org/jruby/RubyKernel.java:1015
(root) at /f/Development/Live/jruby-1.7.0.preview2/lib/ruby/1.8/generator.rb:4
This appears to have its root cause in JRUBY-4218. I gather at some point the internal structure changed, rendering this fix inoperable. In my own copy of 1.7.0.pre2 I have simply modified generator.rb, commenting out the require.
|
Environment:
|
OpenVMS/Itanium, Debian GNU/Linux (unstable), Windows XP
|
Project:
|
JRuby
|
Priority:
|
Major
|
Reporter:
|
Ben Armstrong
|
|
|
|
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators.
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