Hi Owen,
regarding NetBeans:
you will need NetBeans 22 or later for Java 22 features (NB 22 should be
officially released soon). Also keep in mind that JEP 447 (Statements
before super) is a preview feature and preview features create
non-portable bytecode which lock the bytecode to one JDK version.
regarding Gradle:
I believe latest gradle (8.8) has now full support for JDK 22.
-mbien
On 02.06.24 08:05, Owen Thomas wrote:
Hello Netbeans Users.
I have heard that Java SE 22 allows code before a call to super so
long as it doesn't refer to "this". Being that I think this feature
will help me a lot, I was wondering if Netbeans supports this Java
release.
My projects are currently using JSE 17 and Gradle 7.3 (I think) as per
the lauded compatibility matrix
<https://docs.gradle.org/current/userguide/compatibility.html>.
What advice might others be able to provide me before I decide to make
the move? I take it I will have to upgrade to the later gradle
recommended in the matrix which makes me hesitant; is there any advice
anyone can give me about doing this?
Thanks,
Owen.
Clique Space(TM). Anima ex machina. Find out more on cliquespace.net
<http://cliquespace.net>.
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@netbeans.apache.org
For additional commands, e-mail: users-h...@netbeans.apache.org
For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists