Re: Netbeans 12.2 nb-javac can't parse correct java code (works with 12.1 and before)

2020-12-17 Thread Geertjan Wielenga
You'll have to start a new thread for a new topic -- with a clear subject line, please. Gj On Thu, Dec 17, 2020 at 1:34 PM Peter Hull wrote: > On Thu, 17 Dec 2020 at 11:52, Geertjan Wielenga < > geertjan.wiele...@googlemail.com> wrote: > >> >> Yup, we’ve mailed back and forth on this and it’s

Re: Netbeans 12.2 nb-javac can't parse correct java code (works with 12.1 and before)

2020-12-17 Thread Peter Hull
On Thu, 17 Dec 2020 at 11:52, Geertjan Wielenga < geertjan.wiele...@googlemail.com> wrote: > > Yup, we’ve mailed back and forth on this and it’s clear this is the > problem. > > While we're on the subject, do you know how an updated nb-javac will be released (I assume it's still under Oracle's

Re: Netbeans 12.2 nb-javac can't parse correct java code (works with 12.1 and before)

2020-12-17 Thread Geertjan Wielenga
Yup, we’ve mailed back and forth on this and it’s clear this is the problem. Gj On Thu, 17 Dec 2020 at 12:49, Peter Hull wrote: > I think it's the use of the variable name 'permits' that is causing the > error. The new sealed classes (see http://openjdk.java.net/jeps/360) > thing uses permits

Re: Netbeans 12.2 nb-javac can't parse correct java code (works with 12.1 and before)

2020-12-17 Thread Peter Hull
I think it's the use of the variable name 'permits' that is causing the error. The new sealed classes (see http://openjdk.java.net/jeps/360) thing uses permits as part of the class definition. I think it ought to be treated as a normal identifier when it's not part of class definition, but maybe

Re: Netbeans 12.2 nb-javac can't parse correct java code (works with 12.1 and before)

2020-12-16 Thread Andreas Reichel
On Thu, 2020-12-17 at 06:29 +0100, Geertjan Wielenga wrote: > Do you need to use nb-javac? Good Morning Geertjan. Thank you for replying so fast. I can run Netbeans 12.2 without that plugin of course, but somehow this beats the purpose: 1) Netbeans urges the installation of this plugin every