victorwss edited a comment on pull request #2924: URL: https://github.com/apache/netbeans/pull/2924#issuecomment-829620641
Sorry to comment this here, but since you (@sdedic) are working in the issue and the mailing lists are a confusing mess that I'm unable to follow, let me comment here. Pardon me if you already know what I will tell. I started to try out Netbeans 12.3 + Gradle 7 + Java 16 and the result was very bad. The machine was fresh and there was no Java nor Netbeans ever installed before. So I installed Java 16 and then just downloaded and installed Netbeans 12.3. I got a small project in Gradle and tried to build it. My first result was a silent NullPointerExceptions somewhere inside Netbeans when it tried to access some array in order to build the project, with the output panel blank. If you are interested, I can backtrack to this point in order to reproduce it. Anyway, trying to make it work, I manually downloaded Gradle 7.0 and setted it in the Options > Java > Gradle setting. Then, Netbeans tries to prime-loading the project with its internally downloaded Gradle 6.7 regardless of any setting that I to try to do to force the use of Gradle 7.0. This results in Gradle instantly crashing with unsupported classfile format because Gradle 6.7 can't recognize Java 16. To make it worse, when Netbeans fails the prime-loading, it alerts that the project is unloadable due to errors and fallbacks to an unchangeable "-source 5" which makes the java files are full of spurious errors about uses of diamonds, lambdas, records and a lot of other stuffs. The result is that so far, is that Netbeans 12.3 + Gradle 7 + Java 16 is pretty much an unusable combination. I lost some hours trying to make this work and after searching a lot on Google, I just landed here. So, I just wanted to inform you about the experience in order to avoid that some of those cases are missed. And also, to tell you that this problem is surely seen in the wild and are biting some random people out there like me. Anyway, keep the good work! -- 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: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] For further information about the NetBeans mailing lists, visit: https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
