[1.9] Symbol bytes can contain null byte
----------------------------------------
Key: JRUBY-4829
URL: http://jira.codehaus.org/browse/JRUBY-4829
Project: JRuby
Issue Type: Bug
Components: Ruby 1.9
Affects Versions: JRuby 1.5, JRuby 1.6
Environment: trunk
Reporter: Hiro Asari
Assignee: Thomas E Enebo
{noformat}
$ ruby1.9 -ve 'x="ab\000cd"; p x.to_sym'ruby 1.9.3dev (2010-05-26 trunk 28028)
[x86_64-darwin10.3.0]
:"ab\x00cd"
$ jruby --1.9 -ve 'x="ab\000cd"; p x.to_sym'
jruby 1.6.0.dev (ruby 1.9.2dev trunk -1) (2010-05-27 96e045e) (Java HotSpot(TM)
64-Bit Server VM 1.6.0_20) [x86_64-java]
-e:1: symbol cannot contain '\0' (SyntaxError)
{noformat}
--
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