summaryrefslogtreecommitdiff
path: root/test/files/run/sd242.scala
Commit message (Collapse)AuthorAgeFilesLines
* Fix the interface flag when re-writing a closure call to the body methodLukas Rytz2016-10-091-0/+13
When re-writing a closure invocation to the body method, the `itf` flag of the invocation instruction was incorrect: it needs to be true if the method is defined in an interface (including static methdos), not if the method is invoked through `INVOKEINTERFACE`. JDK 8 doesn't flag this inconsistency and executes the bytecode, but the verifier in JDK 9 throws an `IncompatibleClassChangeError`. Similar fixes went into e619b03.