![]() |
|
|
Issue Type:
|
Bug
|
Affects Versions:
|
JRuby 1.7.3 |
Assignee:
|
Unassigned |
Attachments:
|
braces.rb, test.rb |
Components:
|
Compiler |
Created:
|
04/Apr/13 1:59 PM
|
Description:
|
compilation of methods with brackets [] in them appears to break complication in 1.7.3. (I have not experienced this problem previously to 1.7.3, but before this I was running on 1.6.5.1.)
example:
def [](key}
@data[key]
end
I normally choose the compiled option in warbler, and let it handle the compilation for me. Since upgrading to 1.7.3, I started to notice errors like this for methods like the one above:
LoadError: No such file to load – java.lang.NoClassDefFoundError: lib$my_class$method__16$RUBY$\={}
Removing the method removes the error. Perhaps something was changed in how method signatures are generated that makes this no longer work in 1.7.3?
I tried to make a simplified example, but couldn't get jrubyc to even compile it without manually specifying a java signature (maybe there is something else that warbler is doing with jrubyc I dont' know about?)
|
Environment:
|
Mac and Windows
|
Project:
|
JRuby
|
Priority:
|
Major
|
Reporter:
|
Matt Hauck
|
|
|
|
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
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