summaryrefslogtreecommitdiff
path: root/test/files/run/bcodeInlinerMixed
Commit message (Collapse)AuthorAgeFilesLines
* Don't crash the inliner in mixed compilationLukas Rytz2015-03-113-0/+39
In mixed compilation, the bytecode of Java classes is not availalbe: the Scala compiler does not produce any, and there are no classfiles yet. When inlining a (Scala defined) method that contains an invocation to a Java method, we need the Java method's bytecode in order to check whether that invocation can be transplanted to the new location without causing an IllegalAccessError. If the bytecode cannot be found, inlining won't be allowed.