JIT-ed class names only use method names, causing collisions ------------------------------------------------------------
Key: JRUBY-6202 URL: https://jira.codehaus.org/browse/JRUBY-6202 Project: JRuby Issue Type: Bug Components: Compiler Affects Versions: JRuby 1.6.5, JRuby 1.7 Reporter: Nick Sieger Assignee: Nick Sieger Fix For: JRuby 1.6.6, JRuby 1.7 The JIT compiler calculates method java class names using only the bare method name plus the method contents. So if two unrelated classes have the identical method names and bodies, one method will overwrite the other. In the case where the method has for example an fcall call-site, the destination for the call site is different between the two methods. Originally spotted in Travis, see the following gists for details. https://gist.github.com/1355138 https://gist.github.com/5934af6ad8774e296461 -- This message is automatically generated by JIRA. 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