-
Notifications
You must be signed in to change notification settings - Fork 226
Description
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)
@Override
protected void layoutChildren()
{
LayoutUtil.layoutContent(this, this, null, super::layoutChildren,
super::computePrefWidth, super::computePrefHeight);
}
and the utility method:
public static void layoutContent(Region pContainer, IFXContentAlignable pContentAlignable,
String pContentSelector, Runnable pDoLayout,
DoubleUnaryOperator pDefaultPrefWidth,
DoubleUnaryOperator pDefaultPrefHeight)
{
...
}
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?