You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@netbeans.apache.org by GitBox <gi...@apache.org> on 2019/07/11 10:35:04 UTC

[GitHub] [netbeans] dukescript opened a new pull request #1368: Let Gradle Frontend Application run on JDK11

dukescript opened a new pull request #1368: Let Gradle Frontend Application run on JDK11
URL: https://github.com/apache/netbeans/pull/1368
 
 
   While testing the NetBeans 11.1 vc1 it turned out that Gradle Frontend Application project cannot be executed on JDK11, only on JDK8. The workaround is to run the IDE on JDK8, or change the project's JDK to JDK8, but given that many users use newer JDKs, having the support only on JDK8 would cause a lot of confusion when trying this new great NetBeans feature!
   
   If possible, let's backport this to 11.1 next voting candidate (if any). CCing @neilcsmith-net , @lkishalmi 
   
   The steps to reproduce the error are:
   * start NetBeans 11.1 vc1 with an empty user directory and on JDK11: `/netbeans-11.1-vc1/bin/netbeans --userdir /tmp/ud11 --jdkhome /jdk-11`
   * New Project/Java with Gradle/Java Frontend Application
   * Download and Activate - installs NbJavac and JavaFX wrapper modules
   * Generate the project somewhere
   * Build the project - fails on `Task: compileRetrolambdaMain FAILED` - d46c11b fixes that
   * Debug the project - fails with `NoClassDefFoundError: javafx/application/Application` - 1b5db1e fixes that
   * Run the project - works but prints exception `IllegalArgumentException at net.orfjackal.retrolambda.asm.ClassReader` -  f3095c1 fixes that.
   
   Sorry for being so late with this bugfix. At the time of creation of the skeleton project the retrolamda plugin 3.7.1 wasn't yet available and  support for JDK11 wasn't possible at all. Now it would be unfortunate to not have it in NetBeans 11.1. Please consider backporting it. Thanks for your consideration.
   

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@netbeans.apache.org
For additional commands, e-mail: notifications-help@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists