You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently some methods are defined in the AbstractStreamEx class which is package-private. This limits the possibilities to use method references with javac <8u102 (see JDK-8143647). Seems that ECJ also sometimes compiles such references incorrectly. Here's testcase which fails:
Seems that it's possible to make AbstractStreamEx public which would also solve some javadoc-related issues and compilation errors in some corner cases (like reported in #81). If you have better idea for its name, you're welcome.
I'm seeing the something similar with code compiled with kotlin (1.7.10).
Calling a StreamEx .distinct() works fine, but .distinct(java.util.function.Function) fails with NoSuchMethodError.
Any idea?
Currently some methods are defined in the
AbstractStreamEx
class which is package-private. This limits the possibilities to use method references with javac <8u102 (see JDK-8143647). Seems that ECJ also sometimes compiles such references incorrectly. Here's testcase which fails:When compiling with javac:
When compiling with ecj:
Seems that it's possible to make
AbstractStreamEx
public which would also solve some javadoc-related issues and compilation errors in some corner cases (like reported in #81). If you have better idea for its name, you're welcome.chain
methodThe text was updated successfully, but these errors were encountered: