lkishalmi commented on issue #4704: URL: https://github.com/apache/netbeans/issues/4704#issuecomment-1263976144
Well, I'd leave the fun of creating a patch for you. I'm occupied elsewhere. https://github.com/apache/netbeans/blob/62a9953d4d5e27dc4b530b72e08d934c7098c59d/java/gradle.java/src/org/netbeans/modules/gradle/java/api/GradleJavaSourceSet.java#L137 the corresponding compiler args are also available in this class. On Fri, Sep 30, 2022 at 11:39 AM errael ***@***.***> wrote: > (ahhhh, and I was just getting ready to test it on a dev build) > > Gradle 7.5 officially supports Java up to version 18 as a runtime. > > That's not really the issue. And I have some projects that use gradle > 6.8.3. I have code, "switch pattern matching with case when", in a grail > built project that compiles from NetBeans. I'm using frgaal. > > You confirm that with NB-16 the wrong jdk version will be given to the > nbjavac/editor. > > Would you entertain a patch that if it finds a "--source","" in the > compiler args it uses that version to inform NetBeans? > > — > Reply to this email directly, view it on GitHub > <https://github.com/apache/netbeans/issues/4704#issuecomment-1263897792>, > or unsubscribe > <https://github.com/notifications/unsubscribe-auth/AAKRKRNOWHKLP776YOLRGZ3WA4XWNANCNFSM6AAAAAAQZGMRLU> > . > You are receiving this because you were mentioned.Message ID: > ***@***.***> > -- 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. To unsubscribe, e-mail: [email protected] 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
