You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@netbeans.apache.org by Laszlo Kishalmi <la...@gmail.com> on 2020/02/27 01:13:42 UTC

Pull the plug from Java 8 in 12.1?

Dear all,

What do you think about stopping support Java 8 as NetBeans runtime from 
12.1 and on?

Neil mentioned it in the user's chat first regarding that we have issues 
with nb-javac from time to time.

As we know our mid term plan is/was to rely on javac tooling instead of 
habing to maintain the nb-javac fork.

Right now NetBeans run fairly well on standard javac, however when the 
IDE is running on Java 8 we need the nb-javac.

I think removing Java 8 support as runtime shall be not a big deal, it 
would be a few thing less to worry about. During the 12.x cycle we could 
perfect our stuff on Java 11.





---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@netbeans.apache.org
For additional commands, e-mail: dev-help@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists




RE: Pull the plug from Java 8 in 12.1?

Posted by Eirik Bakke <eb...@ultorg.com>.
Agreed--as long as NetBeans itself can still work with Java 8 projects, I think it's a good idea to bump the required JDK version for building NetBeans itself.

Myself, I've been working on a lot of HiDPI-related patches for NetBeans, and they must be tested with Java 9 or above. So I had to use two different Java versions when building and testing NetBeans. One HiDPI issue on my TODO list ( https://issues.apache.org/jira/browse/NETBEANS-3468 ) can only be solved once the build JDK version is bumped (because I need to be able to implement the MultiResolutionImage class from JDK 9).

IntelliJ used to run on a patched version of JDK 8 for many years. But they have now finally transitioned to a JDK 11-based runtime themselves (still a private build, though they contribute heavily upstream to OpenJDK). That's another cue that it's OK to bump our build JDK version.

-- Eirik

-----Original Message-----
From: Josh Juneau <ju...@gmail.com> 
Sent: Wednesday, February 26, 2020 8:49 PM
To: dev@netbeans.apache.org
Subject: Re: Pull the plug from Java 8 in 12.1?

+1, for removing Java 8 as NetBeans runtime in 12.1.  Many of us still compile our code against Java 8 for Java EE projects, etc., but that should not prevent NetBeans runtime from moving forward.   

Josh Juneau
juneau001@gmail.com
http://jj-blogger.blogspot.com
https://www.apress.com/us/search?query=Juneau

> On Feb 26, 2020, at 7:26 PM, Chuck Davis <cj...@gmail.com> wrote:
> 
> A decision long over-due.
> 
>> On Wed, Feb 26, 2020 at 5:13 PM Laszlo Kishalmi 
>> <la...@gmail.com>
>> wrote:
>> 
>> Dear all,
>> 
>> What do you think about stopping support Java 8 as NetBeans runtime 
>> from
>> 12.1 and on?
>> 
>> Neil mentioned it in the user's chat first regarding that we have 
>> issues with nb-javac from time to time.
>> 
>> As we know our mid term plan is/was to rely on javac tooling instead 
>> of habing to maintain the nb-javac fork.
>> 
>> Right now NetBeans run fairly well on standard javac, however when 
>> the IDE is running on Java 8 we need the nb-javac.
>> 
>> I think removing Java 8 support as runtime shall be not a big deal, 
>> it would be a few thing less to worry about. During the 12.x cycle we 
>> could perfect our stuff on Java 11.
>> 
>> 
>> 
>> 
>> 
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: dev-unsubscribe@netbeans.apache.org
>> For additional commands, e-mail: dev-help@netbeans.apache.org
>> 
>> For further information about the NetBeans mailing lists, visit:
>> https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
>> 
>> 
>> 
>> 

Re: Pull the plug from Java 8 in 12.1?

Posted by Josh Juneau <ju...@gmail.com>.
+1, for removing Java 8 as NetBeans runtime in 12.1.  Many of us still compile our code against Java 8 for Java EE projects, etc., but that should not prevent NetBeans runtime from moving forward.   

Josh Juneau
juneau001@gmail.com
http://jj-blogger.blogspot.com
https://www.apress.com/us/search?query=Juneau

> On Feb 26, 2020, at 7:26 PM, Chuck Davis <cj...@gmail.com> wrote:
> 
> A decision long over-due.
> 
>> On Wed, Feb 26, 2020 at 5:13 PM Laszlo Kishalmi <la...@gmail.com>
>> wrote:
>> 
>> Dear all,
>> 
>> What do you think about stopping support Java 8 as NetBeans runtime from
>> 12.1 and on?
>> 
>> Neil mentioned it in the user's chat first regarding that we have issues
>> with nb-javac from time to time.
>> 
>> As we know our mid term plan is/was to rely on javac tooling instead of
>> habing to maintain the nb-javac fork.
>> 
>> Right now NetBeans run fairly well on standard javac, however when the
>> IDE is running on Java 8 we need the nb-javac.
>> 
>> I think removing Java 8 support as runtime shall be not a big deal, it
>> would be a few thing less to worry about. During the 12.x cycle we could
>> perfect our stuff on Java 11.
>> 
>> 
>> 
>> 
>> 
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: dev-unsubscribe@netbeans.apache.org
>> For additional commands, e-mail: dev-help@netbeans.apache.org
>> 
>> For further information about the NetBeans mailing lists, visit:
>> https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
>> 
>> 
>> 
>> 

Re: Pull the plug from Java 8 in 12.1?

Posted by Chuck Davis <cj...@gmail.com>.
A decision long over-due.

On Wed, Feb 26, 2020 at 5:13 PM Laszlo Kishalmi <la...@gmail.com>
wrote:

> Dear all,
>
> What do you think about stopping support Java 8 as NetBeans runtime from
> 12.1 and on?
>
> Neil mentioned it in the user's chat first regarding that we have issues
> with nb-javac from time to time.
>
> As we know our mid term plan is/was to rely on javac tooling instead of
> habing to maintain the nb-javac fork.
>
> Right now NetBeans run fairly well on standard javac, however when the
> IDE is running on Java 8 we need the nb-javac.
>
> I think removing Java 8 support as runtime shall be not a big deal, it
> would be a few thing less to worry about. During the 12.x cycle we could
> perfect our stuff on Java 11.
>
>
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@netbeans.apache.org
> For additional commands, e-mail: dev-help@netbeans.apache.org
>
> For further information about the NetBeans mailing lists, visit:
> https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
>
>
>
>

Re: Pull the plug from Java 8 in 12.1?

Posted by Peter Hull <pe...@gmail.com>.
I also feel it is a bit too early. Java 8 is still common in
production - for example this suggests 64% Java 8, 25% Java 11:
https://snyk.io/blog/developers-dont-want-to-leave-java-8-as-64-hold-firm-on-their-preferred-release/
(i know this is not necessarily a representative survey)

For people working in commercial environments, is it usual for
everything to be using the same JVM, or for example can developers use
whatever they want, as long as they target a specific version for the
production servers?
If everything has to be the same, this could limit uptake of a Java 11 only NB.
Pete

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@netbeans.apache.org
For additional commands, e-mail: dev-help@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists




Re: Pull the plug from Java 8 in 12.1?

Posted by Alessandro <al...@gmail.com>.
Hi all,
  I am not against it completely but in my opinion before dropping JDK 8 as
NB running JDK the following points must be addressed:

   - Compile on Save functionality still requires nb-javac (even on JDK 11)
   - Some application servers cannot run on JDK 11 this would mean needing
   a user to define a JDK 8 Java Platform only to launch such application
   servers

As pointed out in Jan Lahoda's mail it also seems that JDK 11 javac is not
on par with nb-javac as far as error recovery is concerned, this would
impact the java code editing experience.

On the positive side JDK 11 should offer some improvements of HiDPI and
fonts rendering areas that a graphical application like an IDE could
benefit from a lot.

Regards,
Alex

Il giorno gio 27 feb 2020 alle ore 02:13 Laszlo Kishalmi <
laszlo.kishalmi@gmail.com> ha scritto:

> Dear all,
>
> What do you think about stopping support Java 8 as NetBeans runtime from
> 12.1 and on?
>
> Neil mentioned it in the user's chat first regarding that we have issues
> with nb-javac from time to time.
>
> As we know our mid term plan is/was to rely on javac tooling instead of
> habing to maintain the nb-javac fork.
>
> Right now NetBeans run fairly well on standard javac, however when the
> IDE is running on Java 8 we need the nb-javac.
>
> I think removing Java 8 support as runtime shall be not a big deal, it
> would be a few thing less to worry about. During the 12.x cycle we could
> perfect our stuff on Java 11.
>
>
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@netbeans.apache.org
> For additional commands, e-mail: dev-help@netbeans.apache.org
>
> For further information about the NetBeans mailing lists, visit:
> https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
>
>
>
>

Re: Pull the plug from Java 8 in 12.1?

Posted by Javier Ortiz Bultron <ja...@gmail.com>.
Completely agree with you. The most affected would be platform application
developers.

Do we have data on that?

On Wed, Feb 26, 2020, 7:13 PM Laszlo Kishalmi <la...@gmail.com>
wrote:

> Dear all,
>
> What do you think about stopping support Java 8 as NetBeans runtime from
> 12.1 and on?
>
> Neil mentioned it in the user's chat first regarding that we have issues
> with nb-javac from time to time.
>
> As we know our mid term plan is/was to rely on javac tooling instead of
> habing to maintain the nb-javac fork.
>
> Right now NetBeans run fairly well on standard javac, however when the
> IDE is running on Java 8 we need the nb-javac.
>
> I think removing Java 8 support as runtime shall be not a big deal, it
> would be a few thing less to worry about. During the 12.x cycle we could
> perfect our stuff on Java 11.
>
>
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@netbeans.apache.org
> For additional commands, e-mail: dev-help@netbeans.apache.org
>
> For further information about the NetBeans mailing lists, visit:
> https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
>
>
>
>

Re: Pull the plug from Java 8 in 12.1?

Posted by Jose Ch <pe...@gmail.com>.
To my understanding this suggestion does not imply dropping the ability to
compile for Java 8, NetBeans is being build on Java 8 and can compile for
lower sources. This would mean that NetBeans will be build with Java 11 and
it will need at least Java11 as a runtime (netbeans_jdkhome) and like today
it will support projects that can be compiled for lower versions of Java.

Is my understanding correct?

El jue., 27 feb. 2020 a las 7:54, Michele Costabile (<
michele.costabile@gmail.com>) escribió:

> I think that dropping the ability to compile for Java 8 should be out of
> question, because there is a large adoption of the platform and there are a
> few license free alternatives, like Amazon Corretto, so even corporate
> developers do not need to flee away from JDK 8 to protect the company from
> potential license issues.
> In my company we decided to go all the way to OpenJDK 11, but I do not
> feel this is what everybody did. And to be fair, we still compile for 8 for
> keeping a door open.
> Regarding the platform on which NB runs, it might be considered (I do not
> know if it has been ruled out in the past) to have an internal JDK for
> Netbeans, like other IDEs do. In this case, the freshest LTS platform could
> be a reasonable suggestion.
> The point that dropping Java 8 only one LTS platform would be supported is
> a strong one, and I think there could be a rule to state end of life for a
> platform after two newer LTS releases.
>
> Michele Costabile
> michele.costabile@gmail.com
>
>
>
> > Il giorno 27 feb 2020, alle ore 14:00, Geertjan Wielenga <
> geertjan@apache.org> ha scritto:
> >
> > Well, maybe we could discontinue nb-javac from 12.0 onwards, assuming the
> > javac tooling by then does most/all we need, which would not mean that
> the
> > OracleLabs scenario below is impacted since that use case is unrelated to
> > the Java editor, which is the only place where nb-javac is relevant.
> I.e.,
> > we’d still support JDK 8, just not for editing Java code in the editor.
> >
> > Feel free to shoot this down, it’s just a thought.
> >
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@netbeans.apache.org
> For additional commands, e-mail: dev-help@netbeans.apache.org
>
> For further information about the NetBeans mailing lists, visit:
> https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
>
>
>
>

Re: Pull the plug from Java 8 in 12.1?

Posted by Michele Costabile <mi...@gmail.com>.
I think that dropping the ability to compile for Java 8 should be out of question, because there is a large adoption of the platform and there are a few license free alternatives, like Amazon Corretto, so even corporate developers do not need to flee away from JDK 8 to protect the company from potential license issues.
In my company we decided to go all the way to OpenJDK 11, but I do not feel this is what everybody did. And to be fair, we still compile for 8 for keeping a door open.
Regarding the platform on which NB runs, it might be considered (I do not know if it has been ruled out in the past) to have an internal JDK for Netbeans, like other IDEs do. In this case, the freshest LTS platform could be a reasonable suggestion.
The point that dropping Java 8 only one LTS platform would be supported is a strong one, and I think there could be a rule to state end of life for a platform after two newer LTS releases.

Michele Costabile
michele.costabile@gmail.com



> Il giorno 27 feb 2020, alle ore 14:00, Geertjan Wielenga <ge...@apache.org> ha scritto:
> 
> Well, maybe we could discontinue nb-javac from 12.0 onwards, assuming the
> javac tooling by then does most/all we need, which would not mean that the
> OracleLabs scenario below is impacted since that use case is unrelated to
> the Java editor, which is the only place where nb-javac is relevant. I.e.,
> we’d still support JDK 8, just not for editing Java code in the editor.
> 
> Feel free to shoot this down, it’s just a thought.
> 


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@netbeans.apache.org
For additional commands, e-mail: dev-help@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists




Re: Pull the plug from Java 8 in 12.1?

Posted by Geertjan Wielenga <ge...@apache.org>.
Well, maybe we could discontinue nb-javac from 12.0 onwards, assuming the
javac tooling by then does most/all we need, which would not mean that the
OracleLabs scenario below is impacted since that use case is unrelated to
the Java editor, which is the only place where nb-javac is relevant. I.e.,
we’d still support JDK 8, just not for editing Java code in the editor.

Feel free to shoot this down, it’s just a thought.

Gj

On Thu, 27 Feb 2020 at 13:29, Jaroslav Tulach <ja...@gmail.com>
wrote:

> čt 27. 2. 2020 v 2:13 odesílatel Laszlo Kishalmi <
> laszlo.kishalmi@gmail.com>
> napsal:
>
> > Dear all,
> >
> > What do you think about stopping support Java 8 as NetBeans runtime from
> > 12.1 and on?
> >
>
> -10
>
> OracleLabs is building the GraalVM tools on top of NetBeans Platform. The
> tools include such popular applications like VisualVM. As we produce
> GraalVM+JDK8 bundle, we need the NetBeans Runtime and applications built on
> top of it to run on JDK8. Btw. I am sure other NetBeans Platform users are
> in the similar position.
>
> If you want OracleLabs members to contribute to Apache NetBeans, then the
> NetBeans Platform (at least, possibly also ide, webcommon and java
> clusters) shall compile and execute on JDK8.
> -jt
>
>
> Neil mentioned it in the user's chat first regarding that we have issues
> > with nb-javac from time to time.
> >
> > As we know our mid term plan is/was to rely on javac tooling instead of
> > habing to maintain the nb-javac fork.
> >
> > Right now NetBeans run fairly well on standard javac, however when the
> > IDE is running on Java 8 we need the nb-javac.
> >
> > I think removing Java 8 support as runtime shall be not a big deal, it
> > would be a few thing less to worry about. During the 12.x cycle we could
> > perfect our stuff on Java 11.
> >
> >
> >
> >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: dev-unsubscribe@netbeans.apache.org
> > For additional commands, e-mail: dev-help@netbeans.apache.org
> >
> > For further information about the NetBeans mailing lists, visit:
> > https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
> >
> >
> >
> >
>

RE: Platform has to continue to support Java 8, imho was: Pull the plug from Java 8 in 12.1?

Posted by Eric Barboni <sk...@apache.org>.
In my mind the jdk checker would be different on the  two repo and NetBeans having his own lifecycle, and maybe ease preparation of release.

Eric
But I'm fine to build NetBeans on jdk 8 and runit on jdk 13 for now.
-----Message d'origine-----
De : Jan Lahoda <la...@gmail.com> 
Envoyé : vendredi 28 février 2020 23:03
À : Apache NetBeans <de...@netbeans.apache.org>
Objet : Re: Platform has to continue to support Java 8, imho was: Pull the plug from Java 8 in 12.1?

Possible, probably yes. Might be quite some work to make it run, though.
Anyway - not sure if that would bring significant benefits if we wanted to keep the platform on 8 and move the rest (i.e. what would be made simpler by this? We can ensure platform is buildable by and runs on 8 even in a single repo).
 

Jan

On Fri, Feb 28, 2020 at 1:02 PM Eric Barboni <sk...@apache.org> wrote:

> As I'm an expert in architecture :D kidding
>
> Can it be possible to have like two repository one for 
> netbeans-platform and netbeans with platform "seen as library" ?
> With netbeans-platform jdk8 and the netbeans with jdk 8+ ?
>
> Regards
> Eric
> -----Message d'origine-----
> De : Neil C Smith <ne...@apache.org> Envoyé : vendredi 28 février 
> 2020 11:29 À : dev <de...@netbeans.apache.org> Objet : Re: Platform has 
> to continue to support Java 8, imho was: Pull the plug from Java 8 in 
> 12.1?
>
> On Fri, 28 Feb 2020 at 09:55, Jaroslav Tulach 
> <ja...@gmail.com>
> wrote:
> > PS: The `nb-javac` issue: IGV is actually using Java editing 
> > modules, so we are interested in having nb-javac working on JDK8. We 
> > bundle the `nb-javac` as part of IGV - e.g. there is no need to 
> > download `nb-javac`. Enough to use it when present. I assume we can 
> > help with the maintenance of this part of the code base. Dušan 
> > Bálek, Tomáš Zezula, Sváťa Dědic and last but not least Jan Lahoda 
> > have a lot of expertise in this area and can make sure parsing of 
> > Java sources on
> > JDK8 still works (even it will not be used by Apache NetBeans IDE
> itself).
>
> This to me is the crux of the issue.  My comment on the users@ thread 
> was more with thought of stopping default/official support of Java 
> editing when running on JDK 8.  ie. at least making nb-javac far more 
> optional from 12.1 than it is now.
>
> It does not seem sustainable to keep telling people with refactoring 
> issues to uninstall nb-javac.  Somehow those issues need addressing, 
> particularly if they're in code we have no control of here.  I think 
> more help on the maintenance of this part, particularly with regard to 
> any updates for Java 14 support, might be good in the 12.0 timeframe.
> Java 13 updates for nb-javac during the 11.2 release (which also 
> required
> 11.2u1) were a PITA!  That was my real reason for being in favour of 
> shifting the whole schedule back a month - not Eric's Xmas.
> ;-)
> I'm sad :D
>
> Longer term we need to start making nb-javac less (then not) required.
> At least initially making it something legacy to opt in to rather than 
> opt out of seems a good move?  From an ASF point of view I think the 
> way nb-javac and JavaFX are currently installed may be pushing at the 
> limits of compliance.
>
> Best wishes,
>
> Neil
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@netbeans.apache.org
> For additional commands, e-mail: dev-help@netbeans.apache.org
>
> For further information about the NetBeans mailing lists, visit:
> https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
>
>
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@netbeans.apache.org
> For additional commands, e-mail: dev-help@netbeans.apache.org
>
> For further information about the NetBeans mailing lists, visit:
> https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
>
>
>
>


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@netbeans.apache.org
For additional commands, e-mail: dev-help@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists




Re: Platform has to continue to support Java 8, imho was: Pull the plug from Java 8 in 12.1?

Posted by Jan Lahoda <la...@gmail.com>.
Possible, probably yes. Might be quite some work to make it run, though.
Anyway - not sure if that would bring significant benefits if we wanted to
keep the platform on 8 and move the rest (i.e. what would be made simpler
by this? We can ensure platform is buildable by and runs on 8 even in a
single repo).

Jan

On Fri, Feb 28, 2020 at 1:02 PM Eric Barboni <sk...@apache.org> wrote:

> As I'm an expert in architecture :D kidding
>
> Can it be possible to have like two repository one for netbeans-platform
> and netbeans with platform "seen as library" ?
> With netbeans-platform jdk8 and the netbeans with jdk 8+ ?
>
> Regards
> Eric
> -----Message d'origine-----
> De : Neil C Smith <ne...@apache.org>
> Envoyé : vendredi 28 février 2020 11:29
> À : dev <de...@netbeans.apache.org>
> Objet : Re: Platform has to continue to support Java 8, imho was: Pull the
> plug from Java 8 in 12.1?
>
> On Fri, 28 Feb 2020 at 09:55, Jaroslav Tulach <ja...@gmail.com>
> wrote:
> > PS: The `nb-javac` issue: IGV is actually using Java editing modules,
> > so we are interested in having nb-javac working on JDK8. We bundle the
> > `nb-javac` as part of IGV - e.g. there is no need to download
> > `nb-javac`. Enough to use it when present. I assume we can help with
> > the maintenance of this part of the code base. Dušan Bálek, Tomáš
> > Zezula, Sváťa Dědic and last but not least Jan Lahoda have a lot of
> > expertise in this area and can make sure parsing of Java sources on
> > JDK8 still works (even it will not be used by Apache NetBeans IDE
> itself).
>
> This to me is the crux of the issue.  My comment on the users@ thread was
> more with thought of stopping default/official support of Java editing when
> running on JDK 8.  ie. at least making nb-javac far more optional from 12.1
> than it is now.
>
> It does not seem sustainable to keep telling people with refactoring
> issues to uninstall nb-javac.  Somehow those issues need addressing,
> particularly if they're in code we have no control of here.  I think more
> help on the maintenance of this part, particularly with regard to any
> updates for Java 14 support, might be good in the 12.0 timeframe.
> Java 13 updates for nb-javac during the 11.2 release (which also required
> 11.2u1) were a PITA!  That was my real reason for being in favour of
> shifting the whole schedule back a month - not Eric's Xmas.
> ;-)
> I'm sad :D
>
> Longer term we need to start making nb-javac less (then not) required.
> At least initially making it something legacy to opt in to rather than opt
> out of seems a good move?  From an ASF point of view I think the way
> nb-javac and JavaFX are currently installed may be pushing at the limits of
> compliance.
>
> Best wishes,
>
> Neil
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@netbeans.apache.org
> For additional commands, e-mail: dev-help@netbeans.apache.org
>
> For further information about the NetBeans mailing lists, visit:
> https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
>
>
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@netbeans.apache.org
> For additional commands, e-mail: dev-help@netbeans.apache.org
>
> For further information about the NetBeans mailing lists, visit:
> https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
>
>
>
>

Re: Platform has to continue to support Java 8, imho was: Pull the plug from Java 8 in 12.1?

Posted by Tim Boudreau <ni...@gmail.com>.
If you like broken builds :-)

On Fri, Feb 28, 2020 at 7:02 AM Eric Barboni <sk...@apache.org> wrote:

> As I'm an expert in architecture :D kidding
>
> Can it be possible to have like two repository one for netbeans-platform
> and netbeans with platform "seen as library" ?
> With netbeans-platform jdk8 and the netbeans with jdk 8+ ?
>
> Regards
> Eric
> -----Message d'origine-----
> De : Neil C Smith <ne...@apache.org>
> Envoyé : vendredi 28 février 2020 11:29
> À : dev <de...@netbeans.apache.org>
> Objet : Re: Platform has to continue to support Java 8, imho was: Pull the
> plug from Java 8 in 12.1?
>
> On Fri, 28 Feb 2020 at 09:55, Jaroslav Tulach <ja...@gmail.com>
> wrote:
> > PS: The `nb-javac` issue: IGV is actually using Java editing modules,
> > so we are interested in having nb-javac working on JDK8. We bundle the
> > `nb-javac` as part of IGV - e.g. there is no need to download
> > `nb-javac`. Enough to use it when present. I assume we can help with
> > the maintenance of this part of the code base. Dušan Bálek, Tomáš
> > Zezula, Sváťa Dědic and last but not least Jan Lahoda have a lot of
> > expertise in this area and can make sure parsing of Java sources on
> > JDK8 still works (even it will not be used by Apache NetBeans IDE
> itself).
>
> This to me is the crux of the issue.  My comment on the users@ thread was
> more with thought of stopping default/official support of Java editing when
> running on JDK 8.  ie. at least making nb-javac far more optional from 12.1
> than it is now.
>
> It does not seem sustainable to keep telling people with refactoring
> issues to uninstall nb-javac.  Somehow those issues need addressing,
> particularly if they're in code we have no control of here.  I think more
> help on the maintenance of this part, particularly with regard to any
> updates for Java 14 support, might be good in the 12.0 timeframe.
> Java 13 updates for nb-javac during the 11.2 release (which also required
> 11.2u1) were a PITA!  That was my real reason for being in favour of
> shifting the whole schedule back a month - not Eric's Xmas.
> ;-)
> I'm sad :D
>
> Longer term we need to start making nb-javac less (then not) required.
> At least initially making it something legacy to opt in to rather than opt
> out of seems a good move?  From an ASF point of view I think the way
> nb-javac and JavaFX are currently installed may be pushing at the limits of
> compliance.
>
> Best wishes,
>
> Neil
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@netbeans.apache.org
> For additional commands, e-mail: dev-help@netbeans.apache.org
>
> For further information about the NetBeans mailing lists, visit:
> https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
>
>
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@netbeans.apache.org
> For additional commands, e-mail: dev-help@netbeans.apache.org
>
> For further information about the NetBeans mailing lists, visit:
> https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
>
>
>
> --
http://timboudreau.com

RE: Platform has to continue to support Java 8, imho was: Pull the plug from Java 8 in 12.1?

Posted by Eric Barboni <sk...@apache.org>.
As I'm an expert in architecture :D kidding

Can it be possible to have like two repository one for netbeans-platform and netbeans with platform "seen as library" ?
With netbeans-platform jdk8 and the netbeans with jdk 8+ ?

Regards
Eric
-----Message d'origine-----
De : Neil C Smith <ne...@apache.org> 
Envoyé : vendredi 28 février 2020 11:29
À : dev <de...@netbeans.apache.org>
Objet : Re: Platform has to continue to support Java 8, imho was: Pull the plug from Java 8 in 12.1?

On Fri, 28 Feb 2020 at 09:55, Jaroslav Tulach <ja...@gmail.com> wrote:
> PS: The `nb-javac` issue: IGV is actually using Java editing modules, 
> so we are interested in having nb-javac working on JDK8. We bundle the 
> `nb-javac` as part of IGV - e.g. there is no need to download 
> `nb-javac`. Enough to use it when present. I assume we can help with 
> the maintenance of this part of the code base. Dušan Bálek, Tomáš 
> Zezula, Sváťa Dědic and last but not least Jan Lahoda have a lot of 
> expertise in this area and can make sure parsing of Java sources on 
> JDK8 still works (even it will not be used by Apache NetBeans IDE itself).

This to me is the crux of the issue.  My comment on the users@ thread was more with thought of stopping default/official support of Java editing when running on JDK 8.  ie. at least making nb-javac far more optional from 12.1 than it is now.

It does not seem sustainable to keep telling people with refactoring issues to uninstall nb-javac.  Somehow those issues need addressing, particularly if they're in code we have no control of here.  I think more help on the maintenance of this part, particularly with regard to any updates for Java 14 support, might be good in the 12.0 timeframe.
Java 13 updates for nb-javac during the 11.2 release (which also required 11.2u1) were a PITA!  That was my real reason for being in favour of shifting the whole schedule back a month - not Eric's Xmas.
;-)
I'm sad :D

Longer term we need to start making nb-javac less (then not) required.
At least initially making it something legacy to opt in to rather than opt out of seems a good move?  From an ASF point of view I think the way nb-javac and JavaFX are currently installed may be pushing at the limits of compliance.

Best wishes,

Neil

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@netbeans.apache.org
For additional commands, e-mail: dev-help@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists





---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@netbeans.apache.org
For additional commands, e-mail: dev-help@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists




Re: Platform has to continue to support Java 8, imho was: Pull the plug from Java 8 in 12.1?

Posted by Neil C Smith <ne...@apache.org>.
On Fri, 28 Feb 2020 at 09:55, Jaroslav Tulach <ja...@gmail.com> wrote:
> PS: The `nb-javac` issue: IGV is actually using Java editing modules, so we
> are interested in having nb-javac working on JDK8. We bundle the `nb-javac`
> as part of IGV - e.g. there is no need to download `nb-javac`. Enough to
> use it when present. I assume we can help with the maintenance of this part
> of the code base. Dušan Bálek, Tomáš Zezula, Sváťa Dědic and last but not
> least Jan Lahoda have a lot of expertise in this area and can make sure
> parsing of Java sources on JDK8 still works (even it will not be used by
> Apache NetBeans IDE itself).

This to me is the crux of the issue.  My comment on the users@ thread
was more with thought of stopping default/official support of Java
editing when running on JDK 8.  ie. at least making nb-javac far more
optional from 12.1 than it is now.

It does not seem sustainable to keep telling people with refactoring
issues to uninstall nb-javac.  Somehow those issues need addressing,
particularly if they're in code we have no control of here.  I think
more help on the maintenance of this part, particularly with regard to
any updates for Java 14 support, might be good in the 12.0 timeframe.
Java 13 updates for nb-javac during the 11.2 release (which also
required 11.2u1) were a PITA!  That was my real reason for being in
favour of shifting the whole schedule back a month - not Eric's Xmas.
;-)

Longer term we need to start making nb-javac less (then not) required.
At least initially making it something legacy to opt in to rather than
opt out of seems a good move?  From an ASF point of view I think the
way nb-javac and JavaFX are currently installed may be pushing at the
limits of compliance.

Best wishes,

Neil

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@netbeans.apache.org
For additional commands, e-mail: dev-help@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists




Platform has to continue to support Java 8, imho was: Pull the plug from Java 8 in 12.1?

Posted by Jaroslav Tulach <ja...@gmail.com>.
>> What do you think about stopping support Java 8 as NetBeans runtime from
>> 12.1 and on?
>>
> -10

Laszlo wrote:

> Wow, that's a massive negative!
>

Right. I started up with as negative number as I could come up with. The
execution of NetBeans bits on JDK8 is important for me and my employer...


> My first intention to pop up this thread was such concerns to turn up.
>

...on the other hand, now the discussion can get more positive: We don't
care about Apache NetBeans IDE distribution - feel free to require JDK11 as
the lowest JDK for the Apache NetBeans IDE 12.1+. In fact I am running my
IDE on JDK11 as well.

All we care about is Apache NetBeans as a Platform - we want to be able to
use the latest sources, built them on JDK8, add additional VisualVM and/or
IGV modules and run that all on JDK8. That requires two things:
- build NetBeans sources with target 1.8
- don't use JDK9+ APIs unconditionally - always have an alternative that
works on JDK8

I believe our need doesn't require much human intervention. We'll be
probably fine with automated tests - e.g. build NetBeans sources on JDK8
and run the current set of tests on JDK8. If you guys decide that all
manual testing will be done just on JDK11+ - fine with me - we will just
need to do some sanity testing on JDK8 ourselves.

With that said: feel free to require JDK11+ for the Apache NetBeans IDE
12.1+. Just keep the Travis jobs building and testing on JDK8 and (in the
interest of people still using NetBeans Platform) make sure that all the
Maven Central uploaded bits are compiled with target 1.8.

-jt

PS: The `nb-javac` issue: IGV is actually using Java editing modules, so we
are interested in having nb-javac working on JDK8. We bundle the `nb-javac`
as part of IGV - e.g. there is no need to download `nb-javac`. Enough to
use it when present. I assume we can help with the maintenance of this part
of the code base. Dušan Bálek, Tomáš Zezula, Sváťa Dědic and last but not
least Jan Lahoda have a lot of expertise in this area and can make sure
parsing of Java sources on JDK8 still works (even it will not be used by
Apache NetBeans IDE itself).


> On 2/27/20 4:29 AM, Jaroslav Tulach wrote:
> > čt 27. 2. 2020 v 2:13 odesílatel Laszlo Kishalmi <
> laszlo.kishalmi@gmail.com>
> > napsal:
> >
> >> Dear all,
> >>
> >> What do you think about stopping support Java 8 as NetBeans runtime from
> >> 12.1 and on?
> >>
> > -10
> >
> > OracleLabs is building the GraalVM tools on top of NetBeans Platform. The
> > tools include such popular applications like VisualVM. As we produce
> > GraalVM+JDK8 bundle, we need the NetBeans Runtime and applications built
> on
> > top of it to run on JDK8. Btw. I am sure other NetBeans Platform users
> are
> > in the similar position.
> >
> > If you want OracleLabs members to contribute to Apache NetBeans, then the
> > NetBeans Platform (at least, possibly also ide, webcommon and java
> > clusters) shall compile and execute on JDK8.
> > -jt
> >
> >
> > Neil mentioned it in the user's chat first regarding that we have issues
> >> with nb-javac from time to time.
> >>
> >> As we know our mid term plan is/was to rely on javac tooling instead of
> >> habing to maintain the nb-javac fork.
> >>
> >> Right now NetBeans run fairly well on standard javac, however when the
> >> IDE is running on Java 8 we need the nb-javac.
> >>
> >> I think removing Java 8 support as runtime shall be not a big deal, it
> >> would be a few thing less to worry about. During the 12.x cycle we could
> >> perfect our stuff on Java 11.
>
>
>

Re: Pull the plug from Java 8 in 12.1?

Posted by Neil C Smith <ne...@apache.org>.
On Fri, 28 Feb 2020 at 10:12, Tim Boudreau <ni...@gmail.com> wrote:
> (there was a nasty backward incompatible change
> in the JDK, with some method on ByteBuffer getting changed to return
> ByteBuffer instead of Buffer, which has catastrophic consequences at
> runtime if you mix code compiled against JDK 8 and JDK 10 or later,

Aside - surely -release 8 covers that fine?!  I also have a few things
that are majorly affected by that.

Neil

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@netbeans.apache.org
For additional commands, e-mail: dev-help@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists




Re: Pull the plug from Java 8 in 12.1?

Posted by Tim Boudreau <ni...@gmail.com>.
FWIW, I still run NetBeans daily on JDK 8, for reasons of stability -
particularly assertion errors and other misbehavior from javac-related
editor code, whenever I've tried to use 10 or later.

And similarly, for libraries, everything I release on Maven central is
still built against JDK 8 (there was a nasty backward incompatible change
in the JDK, with some method on ByteBuffer getting changed to return
ByteBuffer instead of Buffer, which has catastrophic consequences at
runtime if you mix code compiled against JDK 8 and JDK 10 or later, and my
Acteur library uses NIO heavily), so given the amount of the rest of the
world's code that is sitting in Maven Central, compiled on JDK 8, I expect
to be staying with that for a long time to come, for better or worse.

-Tim

Re: Pull the plug from Java 8 in 12.1?

Posted by Laszlo Kishalmi <la...@gmail.com>.
Wow, that's a massive negative!

My first intention to pop up this thread was such concerns to turn up.

On 2/27/20 4:29 AM, Jaroslav Tulach wrote:
> čt 27. 2. 2020 v 2:13 odesílatel Laszlo Kishalmi <la...@gmail.com>
> napsal:
>
>> Dear all,
>>
>> What do you think about stopping support Java 8 as NetBeans runtime from
>> 12.1 and on?
>>
> -10
>
> OracleLabs is building the GraalVM tools on top of NetBeans Platform. The
> tools include such popular applications like VisualVM. As we produce
> GraalVM+JDK8 bundle, we need the NetBeans Runtime and applications built on
> top of it to run on JDK8. Btw. I am sure other NetBeans Platform users are
> in the similar position.
>
> If you want OracleLabs members to contribute to Apache NetBeans, then the
> NetBeans Platform (at least, possibly also ide, webcommon and java
> clusters) shall compile and execute on JDK8.
> -jt
>
>
> Neil mentioned it in the user's chat first regarding that we have issues
>> with nb-javac from time to time.
>>
>> As we know our mid term plan is/was to rely on javac tooling instead of
>> habing to maintain the nb-javac fork.
>>
>> Right now NetBeans run fairly well on standard javac, however when the
>> IDE is running on Java 8 we need the nb-javac.
>>
>> I think removing Java 8 support as runtime shall be not a big deal, it
>> would be a few thing less to worry about. During the 12.x cycle we could
>> perfect our stuff on Java 11.
>>
>>
>>
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: dev-unsubscribe@netbeans.apache.org
>> For additional commands, e-mail: dev-help@netbeans.apache.org
>>
>> For further information about the NetBeans mailing lists, visit:
>> https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
>>
>>
>>
>>

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@netbeans.apache.org
For additional commands, e-mail: dev-help@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists




Re: Pull the plug from Java 8 in 12.1?

Posted by Jaroslav Tulach <ja...@gmail.com>.
čt 27. 2. 2020 v 2:13 odesílatel Laszlo Kishalmi <la...@gmail.com>
napsal:

> Dear all,
>
> What do you think about stopping support Java 8 as NetBeans runtime from
> 12.1 and on?
>

-10

OracleLabs is building the GraalVM tools on top of NetBeans Platform. The
tools include such popular applications like VisualVM. As we produce
GraalVM+JDK8 bundle, we need the NetBeans Runtime and applications built on
top of it to run on JDK8. Btw. I am sure other NetBeans Platform users are
in the similar position.

If you want OracleLabs members to contribute to Apache NetBeans, then the
NetBeans Platform (at least, possibly also ide, webcommon and java
clusters) shall compile and execute on JDK8.
-jt


Neil mentioned it in the user's chat first regarding that we have issues
> with nb-javac from time to time.
>
> As we know our mid term plan is/was to rely on javac tooling instead of
> habing to maintain the nb-javac fork.
>
> Right now NetBeans run fairly well on standard javac, however when the
> IDE is running on Java 8 we need the nb-javac.
>
> I think removing Java 8 support as runtime shall be not a big deal, it
> would be a few thing less to worry about. During the 12.x cycle we could
> perfect our stuff on Java 11.
>
>
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@netbeans.apache.org
> For additional commands, e-mail: dev-help@netbeans.apache.org
>
> For further information about the NetBeans mailing lists, visit:
> https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
>
>
>
>

Re: Pull the plug from Java 8 in 12.1?

Posted by Jean-Marc Borer <jm...@gmail.com>.
Hi,

We build NB platform applications that shall run on 8 LTS. In our industry,
it is not easy to upgrade to 8+. No problem to move ahead as long
compatibility whith 8 is preserved.

Cheers,

JMB


On Thu, Feb 27, 2020 at 2:13 AM Laszlo Kishalmi <la...@gmail.com>
wrote:

> Dear all,
>
> What do you think about stopping support Java 8 as NetBeans runtime from
> 12.1 and on?
>
> Neil mentioned it in the user's chat first regarding that we have issues
> with nb-javac from time to time.
>
> As we know our mid term plan is/was to rely on javac tooling instead of
> habing to maintain the nb-javac fork.
>
> Right now NetBeans run fairly well on standard javac, however when the
> IDE is running on Java 8 we need the nb-javac.
>
> I think removing Java 8 support as runtime shall be not a big deal, it
> would be a few thing less to worry about. During the 12.x cycle we could
> perfect our stuff on Java 11.
>
>
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@netbeans.apache.org
> For additional commands, e-mail: dev-help@netbeans.apache.org
>
> For further information about the NetBeans mailing lists, visit:
> https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
>
>
>
>

Re: Pull the plug from Java 8 in 12.1?

Posted by David Irving <da...@btopenworld.com.INVALID>.
 I would totally agree on that one. (Especially as have 20 years of legacy code reliant upon JDK8.
Dave Irving

    On Thursday, 27 February 2020, 07:59:54 GMT, Geertjan Wielenga <ge...@apache.org> wrote:  
 
 I think we may be a bit too eager to drop JDK 8. :-) Bear in mind that
would leave us supporting only one LTS release of the JDK, i.e., JDK 11.

Gj

On Thu, 27 Feb 2020 at 08:46, Jan Lahoda <la...@gmail.com> wrote:

> Hi,
>
> Two comments:
> -I know some people that have NetBeans platform application, and target JDK
> 8. I hope they'll comment here.
> -regarding JDK 11 and (nb-)javac - while the Java editing using JDK 11's
> javac is possible, I think it still leaves a lot to be desired (for
> example, IIRC, there were some improvements to lambda error recovery in JDK
> 12, which improved at least Java code completion).
>
> Jan
>
> On Thu, Feb 27, 2020 at 2:13 AM Laszlo Kishalmi <laszlo.kishalmi@gmail.com
> >
> wrote:
>
> > Dear all,
> >
> > What do you think about stopping support Java 8 as NetBeans runtime from
> > 12.1 and on?
> >
> > Neil mentioned it in the user's chat first regarding that we have issues
> > with nb-javac from time to time.
> >
> > As we know our mid term plan is/was to rely on javac tooling instead of
> > habing to maintain the nb-javac fork.
> >
> > Right now NetBeans run fairly well on standard javac, however when the
> > IDE is running on Java 8 we need the nb-javac.
> >
> > I think removing Java 8 support as runtime shall be not a big deal, it
> > would be a few thing less to worry about. During the 12.x cycle we could
> > perfect our stuff on Java 11.
> >
> >
> >
> >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: dev-unsubscribe@netbeans.apache.org
> > For additional commands, e-mail: dev-help@netbeans.apache.org
> >
> > For further information about the NetBeans mailing lists, visit:
> > https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
> >
> >
> >
> >
>
  

Re: Pull the plug from Java 8 in 12.1?

Posted by Geertjan Wielenga <ge...@apache.org>.
I think we may be a bit too eager to drop JDK 8. :-) Bear in mind that
would leave us supporting only one LTS release of the JDK, i.e., JDK 11.

Gj

On Thu, 27 Feb 2020 at 08:46, Jan Lahoda <la...@gmail.com> wrote:

> Hi,
>
> Two comments:
> -I know some people that have NetBeans platform application, and target JDK
> 8. I hope they'll comment here.
> -regarding JDK 11 and (nb-)javac - while the Java editing using JDK 11's
> javac is possible, I think it still leaves a lot to be desired (for
> example, IIRC, there were some improvements to lambda error recovery in JDK
> 12, which improved at least Java code completion).
>
> Jan
>
> On Thu, Feb 27, 2020 at 2:13 AM Laszlo Kishalmi <laszlo.kishalmi@gmail.com
> >
> wrote:
>
> > Dear all,
> >
> > What do you think about stopping support Java 8 as NetBeans runtime from
> > 12.1 and on?
> >
> > Neil mentioned it in the user's chat first regarding that we have issues
> > with nb-javac from time to time.
> >
> > As we know our mid term plan is/was to rely on javac tooling instead of
> > habing to maintain the nb-javac fork.
> >
> > Right now NetBeans run fairly well on standard javac, however when the
> > IDE is running on Java 8 we need the nb-javac.
> >
> > I think removing Java 8 support as runtime shall be not a big deal, it
> > would be a few thing less to worry about. During the 12.x cycle we could
> > perfect our stuff on Java 11.
> >
> >
> >
> >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: dev-unsubscribe@netbeans.apache.org
> > For additional commands, e-mail: dev-help@netbeans.apache.org
> >
> > For further information about the NetBeans mailing lists, visit:
> > https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
> >
> >
> >
> >
>

Re: Pull the plug from Java 8 in 12.1?

Posted by Jan Lahoda <la...@gmail.com>.
Hi,

Two comments:
-I know some people that have NetBeans platform application, and target JDK
8. I hope they'll comment here.
-regarding JDK 11 and (nb-)javac - while the Java editing using JDK 11's
javac is possible, I think it still leaves a lot to be desired (for
example, IIRC, there were some improvements to lambda error recovery in JDK
12, which improved at least Java code completion).

Jan

On Thu, Feb 27, 2020 at 2:13 AM Laszlo Kishalmi <la...@gmail.com>
wrote:

> Dear all,
>
> What do you think about stopping support Java 8 as NetBeans runtime from
> 12.1 and on?
>
> Neil mentioned it in the user's chat first regarding that we have issues
> with nb-javac from time to time.
>
> As we know our mid term plan is/was to rely on javac tooling instead of
> habing to maintain the nb-javac fork.
>
> Right now NetBeans run fairly well on standard javac, however when the
> IDE is running on Java 8 we need the nb-javac.
>
> I think removing Java 8 support as runtime shall be not a big deal, it
> would be a few thing less to worry about. During the 12.x cycle we could
> perfect our stuff on Java 11.
>
>
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@netbeans.apache.org
> For additional commands, e-mail: dev-help@netbeans.apache.org
>
> For further information about the NetBeans mailing lists, visit:
> https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
>
>
>
>

Re: Pull the plug from Java 8 in 12.1?

Posted by Neil C Smith <ne...@apache.org>.
On Thu, 27 Feb 2020 at 10:00, Geertjan Wielenga <ge...@apache.org> wrote:
> One thing to consider is that some/several application servers require JDK
> 8, or at least, when running NetBeans on a release later than JDK 8, a
> prompt appears when starting a server (GlassFish, Payara, etc) forcing a
> JDK 8 to be selected prior to the server being able to be started.

Assuming we treat an LTS as an LTS, and assuming that we start by
making Java editing support using nb-javac on JDK 8 a legacy / opt-in
feature for 12.1-13.0, that would mean full support for nb-javac until
May 2021, and legacy support until May 2022.

Doesn't aiming to drop needing to support nb-javac delivery by
mid-2022 seem reasonable?

Best wishes,

Neil

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@netbeans.apache.org
For additional commands, e-mail: dev-help@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists




Re: Pull the plug from Java 8 in 12.1?

Posted by Geertjan Wielenga <ge...@apache.org>.
One thing to consider is that some/several application servers require JDK
8, or at least, when running NetBeans on a release later than JDK 8, a
prompt appears when starting a server (GlassFish, Payara, etc) forcing a
JDK 8 to be selected prior to the server being able to be started.

Gj

On Thu, 27 Feb 2020 at 10:50, Neil C Smith <ne...@apache.org> wrote:

> On Thu, 27 Feb 2020 at 01:13, Laszlo Kishalmi <la...@gmail.com>
> wrote:
> > What do you think about stopping support Java 8 as NetBeans runtime from
> > 12.1 and on? ..  Neil mentioned it in the user's chat first regarding
> that we have issues
> > with nb-javac from time to time.
>
> Thanks for kicking this off! I would say +1 with caveats.
>
> On Thu, 27 Feb 2020 at 07:46, Jan Lahoda <la...@gmail.com> wrote:
> > -I know some people that have NetBeans platform application, and target
> JDK
> > 8. I hope they'll comment here.
> > -regarding JDK 11 and (nb-)javac - while the Java editing using JDK 11's
> > javac is possible, I think it still leaves a lot to be desired
>
> I'm not sure we should drop support for running on JDK 8 entirely with
> 12.1, including for the platform, but maybe something to consider for
> 13.1.
>
> But it would be good from 12.1 to make running on Java 11+ considered
> the baseline for the IDE, particularly for Java editing, and move
> nb-javac to be far more opt-in than opt-out - a legacy feature.
>
> I don't think it's good or sustainable (from an ASF position) that
> enabling Java editing automatically installs nb-javac and JavaFX
> unless the user opts out, and without information on what opting out
> entails.  And we should remove the persistent notifications to
> install.  Ideally the wizards that require JavaFX would also be
> removed at the same time.
>
> On Thu, 27 Feb 2020 at 07:59, Geertjan Wielenga <ge...@apache.org>
> wrote:
> > I think we may be a bit too eager to drop JDK 8. :-) Bear in mind that
> > would leave us supporting only one LTS release of the JDK, i.e., JDK 11.
>
> Our LTS supporting JDK 8 will last until shortly before the next Java
> LTS is released though.  And hopefully with changes in update centres
> and infrastructure we're better placed to deliver patch updates for
> 12.0 if needed.
>
> Best wishes,
>
> Neil
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@netbeans.apache.org
> For additional commands, e-mail: dev-help@netbeans.apache.org
>
> For further information about the NetBeans mailing lists, visit:
> https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
>
>
>
>

Re: Pull the plug from Java 8 in 12.1?

Posted by Neil C Smith <ne...@apache.org>.
On Thu, 27 Feb 2020 at 01:13, Laszlo Kishalmi <la...@gmail.com> wrote:
> What do you think about stopping support Java 8 as NetBeans runtime from
> 12.1 and on? ..  Neil mentioned it in the user's chat first regarding that we have issues
> with nb-javac from time to time.

Thanks for kicking this off! I would say +1 with caveats.

On Thu, 27 Feb 2020 at 07:46, Jan Lahoda <la...@gmail.com> wrote:
> -I know some people that have NetBeans platform application, and target JDK
> 8. I hope they'll comment here.
> -regarding JDK 11 and (nb-)javac - while the Java editing using JDK 11's
> javac is possible, I think it still leaves a lot to be desired

I'm not sure we should drop support for running on JDK 8 entirely with
12.1, including for the platform, but maybe something to consider for
13.1.

But it would be good from 12.1 to make running on Java 11+ considered
the baseline for the IDE, particularly for Java editing, and move
nb-javac to be far more opt-in than opt-out - a legacy feature.

I don't think it's good or sustainable (from an ASF position) that
enabling Java editing automatically installs nb-javac and JavaFX
unless the user opts out, and without information on what opting out
entails.  And we should remove the persistent notifications to
install.  Ideally the wizards that require JavaFX would also be
removed at the same time.

On Thu, 27 Feb 2020 at 07:59, Geertjan Wielenga <ge...@apache.org> wrote:
> I think we may be a bit too eager to drop JDK 8. :-) Bear in mind that
> would leave us supporting only one LTS release of the JDK, i.e., JDK 11.

Our LTS supporting JDK 8 will last until shortly before the next Java
LTS is released though.  And hopefully with changes in update centres
and infrastructure we're better placed to deliver patch updates for
12.0 if needed.

Best wishes,

Neil

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@netbeans.apache.org
For additional commands, e-mail: dev-help@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists




Re: Pull the plug from Java 8 in 12.1?

Posted by Mario Schroeder <ma...@gmail.com>.
+1 to drop Support for Java 8 in NetBeans 12.1. If someone still wants to
run it on Java 8 he/she can use a previous release.

Laszlo Kishalmi <la...@gmail.com> schrieb am Do., 27. Feb. 2020,
02:13:

> Dear all,
>
> What do you think about stopping support Java 8 as NetBeans runtime from
> 12.1 and on?
>
> Neil mentioned it in the user's chat first regarding that we have issues
> with nb-javac from time to time.
>
> As we know our mid term plan is/was to rely on javac tooling instead of
> habing to maintain the nb-javac fork.
>
> Right now NetBeans run fairly well on standard javac, however when the
> IDE is running on Java 8 we need the nb-javac.
>
> I think removing Java 8 support as runtime shall be not a big deal, it
> would be a few thing less to worry about. During the 12.x cycle we could
> perfect our stuff on Java 11.
>
>
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@netbeans.apache.org
> For additional commands, e-mail: dev-help@netbeans.apache.org
>
> For further information about the NetBeans mailing lists, visit:
> https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
>
>
>
>