MyEclipse 2022 offers the ability to use JDK17 preview features but not full JDK 17
Code that compiles with all OpenJDK-Versions 17 shows some errors in Java Editor.
E.g. using a functin definitio in a constructor like
private final int someVar;
public MaClass(String parentPanel, ...) {
super(parentPanel, title, lazyLoadText, model,
(tab) -> {
String s = null;
if (someVar ...) {
...
}
return s;
}
);
}
The built-in compiler says “Cannot refer to ‘this’ nor ‘super’ while explicitly invoking a constructor”