Skip to content

Java 1.8.0_131 breaks some super calls inside 2.12 lambdas #10290

Closed
@SethTisue

Description

@SethTisue

as reported by @milessabin, and reproduced by myself and @dwijnand, test/files/run/t4300.scala (#4300) and test/files/run/t8803.scala (#8803) are failing now on Java 8 Update 131 with e.g.

java.lang.IllegalAccessError: Receiver class Test$$anon$1 must be the current class or a subtype of interface A

I haven't isolated the exact circumstances, but both tests involve super within lambdas

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions