JRUBY-3670 fix introduces a symbol regression
---------------------------------------------
Key: JRUBY-3683
URL: http://jira.codehaus.org/browse/JRUBY-3683
Project: JRuby
Issue Type: Bug
Components: Interpreter
Environment: Mac OSX, Apple java 1.6, jruby 1.3.0RC2 (ruby 1.8.6p287)
(2009-05-21 8e117a1) (Java HotSpot(TM) 64-Bit Server VM 1.6.0_07) [x86_64-java]
Reporter: Brice Figureau
The fix commited in "8e117a193de738c8a010a6def67c8988787212db" for JRUBY-3670
introduced the following regression:
test.rb:
var = :symbol
a = "@#{var}".intern
When run:
% bin/jruby test.rb
test2.rb:2: symbol cannot contain '\0' (SyntaxError)
Issue: this prevents any jruby program to require 'rubygems' since that's the
first thing rubygems is doing :-(
--
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