Join GitHub today
GitHub is home to over 31 million developers working together to host and review code, manage projects, and build software together.Sign up
Painless: Fix bug for static method calls on interfaces #31348
We were not calling static interface methods correctly leading to errors. Java 8 didn't care, but Java 9+ is stricter. Example --
nik9000 left a comment
I think we should forbid augmentation methods on interfaces. That just feels so weird. And we can't make a test case for it anyway. But maybe that should be in a followup?
I think you should add a test for method references to static methods on an interface. Once you do that, merge away!