Thanks Michael. Although I don't distribute my own bytecode, I do hope people may find it valuable one day.
I currently use private static methods if I need to do anything before calling super and this new feature does promise me some release from this ugly way of doing things. I think perhaps I can wait until this feature is made generally available. On Sun, 2 Jun 2024 at 20:33, Michael Bien <mbie...@gmail.com> wrote: > 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>. > > >