Re: Using Netbeans with SE 22

2024-06-02 Thread Owen Thomas
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 c

Re: Using Netbeans with SE 22

2024-06-02 Thread Michael Bien
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 ve

Using Netbeans with SE 22

2024-06-01 Thread Owen Thomas
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)