Re: nb-javac and the upcoming 12.0

2020-05-01 Thread Kirk Pepperdine
Hi Geertjan, On the issue of JDK version. We have run into this problem with some of our tooling. For quite some time we were stuck on Java 6 because one of our major customers was also stuck on Java 6. Developers were not allowed to install any software on their machines. Ultimately the *only*

RE: nb-javac and the upcoming 12.0

2020-04-28 Thread Eirik Bakke
From: Jan Lahoda Sent: Tuesday, April 28, 2020 3:59 PM To: Apache NetBeans Subject: Re: nb-javac and the upcoming 12.0 On Tue, Apr 28, 2020 at 7:50 PM Eirik Bakke wrote: > Sure. Though I think the user would be surprised if > editing/code-completion just silently doesn't work, when > bui

Re: nb-javac and the upcoming 12.0

2020-04-28 Thread Geertjan Wielenga
ng that there was a specific fixable problem. > > -- Eirik > > -Original Message- > From: Geertjan Wielenga > Sent: Tuesday, April 28, 2020 1:08 PM > To: dev@netbeans.apache.org > Subject: Re: nb-javac and the upcoming 12.0 > > Well, it’s specifically about

RE: nb-javac and the upcoming 12.0

2020-04-28 Thread Eirik Bakke
k with > a project that must compile with an old JDK. > > -- Eirik > > -Original Message- > From: Geertjan Wielenga > Sent: Tuesday, April 28, 2020 12:53 PM > To: dev@netbeans.apache.org > Subject: Re: nb-javac and the upcoming 12.0 > > Hopefully that’s not sarcasm.

Re: nb-javac and the upcoming 12.0

2020-04-28 Thread Geertjan Wielenga
an old JDK. > > -- Eirik > > -Original Message- > From: Geertjan Wielenga > Sent: Tuesday, April 28, 2020 12:53 PM > To: dev@netbeans.apache.org > Subject: Re: nb-javac and the upcoming 12.0 > > Hopefully that’s not sarcasm. :-) > > Gj > > On Tue

RE: nb-javac and the upcoming 12.0

2020-04-28 Thread Eirik Bakke
020 12:53 PM To: dev@netbeans.apache.org Subject: Re: nb-javac and the upcoming 12.0 Hopefully that’s not sarcasm. :-) Gj On Tue, 28 Apr 2020 at 18:43, Eirik Bakke wrote: > Oh, now I get it. So you can still compile projects with JDK 8 and use > the editor, but you must ru

Re: nb-javac and the upcoming 12.0

2020-04-28 Thread Geertjan Wielenga
actually seems very reasonable! > > -- Eirik > > -Original Message- > From: Geertjan Wielenga > Sent: Tuesday, April 28, 2020 12:29 PM > To: dev@netbeans.apache.org > Subject: Re: nb-javac and the upcoming 12.0 > > Yes, the Java editor uses the JDK 14 javac

RE: nb-javac and the upcoming 12.0

2020-04-28 Thread Eirik Bakke
, April 28, 2020 12:29 PM To: dev@netbeans.apache.org Subject: Re: nb-javac and the upcoming 12.0 Yes, the Java editor uses the JDK 14 javac if it runs on that JDK — even if the build of a particular project uses JDK 8 or anything else. Gj On Tue, 28 Apr 2020 at 18:25, Scott Palmer wrote: > J

Re: nb-javac and the upcoming 12.0

2020-04-28 Thread Geertjan Wielenga
d an important one for an IDE > that > >> is primarily associated with the Java ecosystem. > >> > >> Eirik > >> > >> -Original Message- > >> From: Geertjan Wielenga > >> Sent: Tuesday, April 28, 2020 2:47 AM > >> T

Re: nb-javac and the upcoming 12.0

2020-04-28 Thread Scott Palmer
> >> Eirik >> >> -Original Message----- >> From: Geertjan Wielenga >> Sent: Tuesday, April 28, 2020 2:47 AM >> To: dev >> Subject: nb-javac and the upcoming 12.0 >> >> Hi all, >> >> We’re getting close to the 12.0 rel

Re: nb-javac and the upcoming 12.0

2020-04-28 Thread Geertjan Wielenga
hread. > > Good support for Java 8 is a feature, and an important one for an IDE that > is primarily associated with the Java ecosystem. > > Eirik > > -Original Message- > From: Geertjan Wielenga > Sent: Tuesday, April 28, 2020 2:47 AM > To: dev > Subject:

RE: nb-javac and the upcoming 12.0

2020-04-28 Thread Eirik Bakke
ier "Pull the plug from Java 8 in 12.1?" thread. Good support for Java 8 is a feature, and an important one for an IDE that is primarily associated with the Java ecosystem. Eirik -Original Message- From: Geertjan Wielenga Sent: Tuesday, April 28, 2020 2:47 AM To: dev

Re: nb-javac and the upcoming 12.0

2020-04-28 Thread Jean-Marc Borer
I some answers here: https://blogs.apache.org/netbeans/entry/what-s-nb-javac-in But still, according to the blog entry, if you run NB on JDK9+ and use the provided javac, you don't get all the benefits of nb-javac. I doesn't say neither what those benefits are nor if you would benefit from them

Re: nb-javac and the upcoming 12.0

2020-04-28 Thread Neil C Smith
Hi, Thanks for kicking this off! :-) On Tue, 28 Apr 2020 at 07:47, Geertjan Wielenga wrote: > We’re getting close to the 12.0 release and nb-javac won’t be available at > the time of release. For clarity, we have the older nb-javac with support for JDK 13 that we've had since 11.2 updates.

Re: nb-javac and the upcoming 12.0

2020-04-28 Thread Tomas Poledny
Isn't it possible to use old versions nb-javac (the last supported) with Java 8 (for example without support records and etc.) and otherwise (with newer version of java) use vanilla javac? On Tue, Apr 28, 2020 at 10:39 AM Jean-Marc Borer wrote: > Now for my understanding: if you run Netbeans on

Re: nb-javac and the upcoming 12.0

2020-04-28 Thread Jean-Marc Borer
Now for my understanding: if you run Netbeans on JDK9+, but your projects are still using/running on JDK8, will you still need nb-javac for Java editing? Cheers, JM On Tue, Apr 28, 2020 at 8:59 AM Benjamin Graf wrote: > Hi all together, > > what about code building. Netbeans is still build on

Re: nb-javac and the upcoming 12.0

2020-04-28 Thread Benjamin Graf
Hi all together, what about code building. Netbeans is still build on JDK8. Some modules need nb-javac for compilation and tests to work even if code is build with JDK8 because code does use JDK9+ API. I think most time API from javax.lang.model. You can increase min build JDK but it might not

nb-javac and the upcoming 12.0

2020-04-28 Thread Geertjan Wielenga
Hi all, We’re getting close to the 12.0 release and nb-javac won’t be available at the time of release. What nb-javac provides is detailed elsewhere but in summary it is a fork of the javac finetuned to the Java Editor in NetBeans. It can’t be donated to Apache NetBeans because it is a javac