Details
-
Type:
Bug
-
Status:
Open
-
Priority:
Minor
-
Resolution: Unresolved
-
Affects Version/s: None
-
Fix Version/s: JRuby 1.6.4
-
Component/s: Ruby 1.9.2
-
Labels:None
-
Number of attachments :
Description
Ruby 1.9 no longer includes the "." dir in the default load path. We can make this change, and JRUBY-5251 tracks the progress of that fix (and a related bug). However, we also include "." in the default CLASSPATH, which means even if it's not in load path, we will eventually still find resources in the current directory.
There are a couple possible routes here:
- Ignore it, and just accept that CLASSPATH and load path are different. I'm not sure this is an option, since it will cause us to always deviate on whether we find resources in the current directory.
- At startup, don't include . in CLASSPATH. Currently, in both jruby.bash and the native launcher, I think we include "." explicitly. We could turn that off, if so.
Of course, system-global CLASSPATH settings would be impossible to modify.
Activity
Charles Oliver Nutter
made changes -
| Field | Original Value | New Value |
|---|---|---|
| Fix Version/s | JRuby 1.6 [ 17062 ] | |
| Fix Version/s | JRuby 1.6RC1 [ 16275 ] |
Charles Oliver Nutter
made changes -
| Fix Version/s | JRuby 1.6.1 [ 17085 ] | |
| Fix Version/s | JRuby 1.6 [ 17062 ] | |
| Priority | Major [ 3 ] | Minor [ 4 ] |
Charles Oliver Nutter
made changes -
| Fix Version/s | JRuby 1.6.2 [ 17306 ] | |
| Fix Version/s | JRuby 1.6.1 [ 17085 ] |
Charles Oliver Nutter
made changes -
| Fix Version/s | JRuby 1.6.3 [ 17374 ] | |
| Fix Version/s | JRuby 1.6.2 [ 17306 ] |
Thomas E Enebo
made changes -
| Fix Version/s | JRuby 1.6.4 [ 17472 ] | |
| Fix Version/s | JRuby 1.6.3 [ 17374 ] |