Wrong String comparison in StaticScope
--------------------------------------
Key: JRUBY-3645
URL: http://jira.codehaus.org/browse/JRUBY-3645
Project: JRuby
Issue Type: Bug
Components: Embedding
Affects Versions: JRuby 1.3RC1
Reporter: Yoko Harada
Attachments: StaticScope.patch
In namesAreInterned(String[] names) method of StaticScope class, a reference of
String object is compared with its interned object. As in Java API document,
this method should use String.equals() to compare "name" and "name.intern()."
Becase of this bug, JRuby Embed API failed to execute some test scripts.
--
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