Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Add java 8 language support to Eclipse #632
Not sure whether this issue is addressing my concern directly, but I just ran into errors while working with:
Prior to the installation of (4), Lombok was working as expected. After installation I get dozens of the following error (see attached for details).
At a glance, it looks like the JDT API has some breaking changes in these patches that support JDK 8, and this is causing Lombok to blow up with NoSuchMethodErrors.
Do let me know if I should create a separate issue to address this problem.
Added Eclipse BUG:
Works with this change.
We found an issue with val and lambdas. Something like this is fairly silly:
val r = someBool ? () -> 5 : () -> 7;
but you can type it, and it would cause exceptions if lombok was loaded. That's been fixed. This more common case:
val r = () -> System.out.println();
Even gets a special error message explaining that lambdas just don't work that way.
We did some more toying with JDK8 features in Eclipse Kepler with the JDK8 patch plugin, and didn't run into any major issues. 'val' in lambdas works, @ Cleanup in lambdas works, etc. I'm not closing this issue yet, as I want to do a little more testing, especially as we get closer to the official Luna release and the official JDK8 release.
This update (Fixing issues with val and lambdas) is in edge, here: