-
-
Notifications
You must be signed in to change notification settings - Fork 2.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
@ExtensionMethod fails on Eclipse Oxygen if there is more than 1 parameter #1441
Comments
I have the same problem and Eclipse show that error |
Having the same issue with Eclipse Oxygen: |
I make a correction: |
Following simple example fails with an ArrayIndexOutOfBoundsException due to compiling with Eclipse Oxygen (jdk 1.8+):
public class A {
public static Object test(Object object, Object returnThis) {
return returnThis;
}
}
@ExtensionMethod(A.class)
class B {
public Object testExtensionMethod(Object object) {
return object.test(new Object());
}
}
Exception
Internal compiler error:
java.lang.ArrayIndexOutOfBoundsException
In Eclipse Neon it works!
The text was updated successfully, but these errors were encountered: