-
Notifications
You must be signed in to change notification settings - Fork 227
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
Problems with method references (ClasNotFoundException) #49
Comments
Which Retrolambda version are you using? Please try both versions 1.8.1 and 2.0.1. Please post the full stack trace, the output from Retrolambda and a link to a ZIP containing the following .class files:
|
Zip Archive: http://www.sibvisions.com/files/download/issue_49_classes.zip The 'button' folder contains relevant classes and 'all' folder contains the whole lib (if I forgot something) Retrolambda version: 2.0.1 I'll try 1.8.1 today. |
Same problem with 1.8.1 |
The lambda class giving the error implements |
Clear and sure. We solved the problem with a helper interface. |
It's a little bit tricky:
We have following code in one of our JavaFX classes:
(Complete source code: http://sourceforge.net/p/jvxfx/code/919/tree/branches/dev2015/java/src/com/sibvisions/rad/ui/javafx/ext/FXButton.java)
and the utility method:
javac doesn't like the code and throws errors -> great.
JDT (Luna version) compiles the code without warnings and errors.
retrolambda converts the class with above code without problems but after installing the whole application with JavaFX and javafxports on an Android tablet, a ClassNotFoundException occurs. But the class is available and was created from retrolambda.
If you have an idea about the problem, it would be great because it's complicated to send you the whole application.
We fixed javac problems in our current revision, but maybe this problem could help to improve retrolambda?
The text was updated successfully, but these errors were encountered: