Details
-
Type:
Wish
-
Status:
Resolved
-
Priority:
Major
-
Resolution: Fixed
-
Affects Version/s: JRuby 1.1.2
-
Fix Version/s: JRuby 1.7.0.pre1
-
Component/s: Interpreter
-
Labels:None
-
Number of attachments :
Description
Occasionally, when loading classes that have been compiled ahead-of-time, references such as require './foo.rb' is encountered by the runtime. The runtime is already smart enough to also look for foo.class when loading 'foo.rb'. It would be nice if it will also automatically consider foo.class if "./foo.rb" or ".\foo.rb" is requested.
Activity
Peter K Chan
made changes -
| Field | Original Value | New Value |
|---|---|---|
| Attachment | jruby_load_class_without_relative_prefix.patch [ 35553 ] |
Charles Oliver Nutter
made changes -
| Summary | JRuby should load | JRuby should load relative path reference to AOT classes |
| Fix Version/s | JRuby 1.1.3 [ 14342 ] |
Peter K Chan
made changes -
| Attachment | test_jruby_load_relative_path_from_jar.rb [ 35581 ] |
Peter K Chan
made changes -
| Attachment | test_jruby_load_relative_path_from_jar_2.rb [ 35883 ] |
Charles Oliver Nutter
made changes -
| Fix Version/s | JRuby 1.1.3 [ 14342 ] | |
| Fix Version/s | JRuby 1.1+ [ 13421 ] |
Hiro Asari
made changes -
| Status | Open [ 1 ] | Resolved [ 5 ] |
| Assignee | Charles Oliver Nutter [ headius ] | |
| Fix Version/s | JRuby 1.7 [ 17049 ] | |
| Fix Version/s | JRuby 1.x+ [ 13421 ] | |
| Resolution | Fixed [ 1 ] |
Sorry, the name of this issue is incomplete. It should be "JRuby should load relative path reference to AOT classes"