IMHO, if nb-javac should be retired in the long term or 12.0+ we should
find a way to decouple availability of JDK features from runtime JDK. It
feels odd to have the latest JDK to be the runtime JDK if If want to use
it for a single project for example. That's something I personally
prefer by using nb-javac. BTW it also seems to work much faster, too.

Benjamin

On 03.04.2020 08:11, Jan Lahoda wrote:
> On Thu, Apr 2, 2020 at 5:10 PM Eirik Bakke <eba...@ultorg.com> wrote:
>
>>> Aside from that, for 12.0, should we downplay the usage of nb-javac as
>> much as possible and not make it so prominently available -- we should be
>> encouraging the usage of the latest LTS, which is 11 and not 8.
>>
>> I'm concerned that "downplaying" nb-javac will discourage us from
>> maintaining it.
>>
> I guess I think we should reduce the intensity of NetBeans pushing the user
> to download nb-javac, which I think is what Geertjan says. There is a
> number of reasons to that - over the past few years, the gap between
> NetBeans+nb-javac and NetBeans+recent JDK javac got much smaller, having
> nb-javac is in some cases even undesirable (as NetBeans is still using the
> JDK 13-based nb-javac, no JDK 14 language features are available, AFAIK),
> etc. So pushing users hard to install nb-javac while they run on JDK 14
> does not seem very good to me. (What to do when running on JDK 13 is
> unclear to me.)
>
> Jan
>
>
>> I understand that the JDK-based javac is the way to go in the long term.
>> But http://wiki.netbeans.org/JavacDiff lists a lot of good reasons why
>> nb-javac had to exist, and until all of these requirements are met by the
>> new approach, it seems dangerous to abandon nb-javac. In the short-term,
>> the most high-quality solution would seem to be to stick with nb-javac,
>> updating and fixing bugs in the latter while waiting for JDK-based javac to
>> catch up feature-wise.
>>
>> What is our strategy here?
>>
>> -- Eirik
>>
>> -----Original Message-----
>> From: Geertjan Wielenga <geert...@apache.org>
>> Sent: Thursday, April 2, 2020 4:09 AM
>> To: dev <dev@netbeans.apache.org>
>> Subject: Forced to download nb-javac even when not selected
>>
>> Hi all,
>>
>> I've encountered this one too:
>>
>> https://issues.apache.org/jira/browse/NETBEANS-4078
>>
>> i.e., I'm running NB on JDK 14, I do not select the nb-javac checkbox. I
>> click Download and Activate.
>>
>> And then I am shown that the nb-javac editing support library will be
>> downloaded, even though I did not select it.
>>
>> Aside from that, for 12.0, should we downplay the usage of nb-javac as
>> much as possible and not make it so prominently available -- we should be
>> encouraging the usage of the latest LTS, which is 11 and not 8.
>>
>> Thoughts?
>>
>> Gj
>>
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: dev-unsubscr...@netbeans.apache.org
>> For additional commands, e-mail: dev-h...@netbeans.apache.org
>>
>> For further information about the NetBeans mailing lists, visit:
>> https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
>>
>>
>>
>>

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to