Details
-
Type:
Bug
-
Status:
Closed
-
Priority:
Major
-
Resolution: Fixed
-
Affects Version/s: JRuby 1.1, JRuby 1.1.1, JRuby 1.1.2
-
Fix Version/s: JRuby 1.1.3
-
Component/s: None
-
Labels:None
-
Number of attachments :
Description
It works with ruby and worked in jruby 1.0.x, but it does not work in jruby 1.1.x
Eclipse DLTK ruby debugger uses this variable and this issue prevent it from working with JRuby 1.1.x
Please see the example:
programName.rb
puts 'PROGRAM_NAME=' + $PROGRAM_NAME.to_s
And output in different versions:
C:\>ruby -r programName.rb programName.rb
PROGRAM_NAME=programName.rb
PROGRAM_NAME=programName.rb
C:\>C:\jruby-1.0.3\bin\jruby.bat -r programName.rb programName.rb
PROGRAM_NAME=programName.rb
PROGRAM_NAME=programName.rb
C:\>C:\jruby-1.1.2\bin\jruby.bat -r programName.rb programName.rb
PROGRAM_NAME=
PROGRAM_NAME=programName.rb
Blocks https://bugs.eclipse.org/bugs/show_bug.cgi?id=238078