po 18. 10. 2021 v 20:32 odesÃlatel Neil C Smith <[email protected]> napsal:
> On Mon, 18 Oct 2021 at 17:44, Michael Bien <[email protected]> wrote: > > > That's a developer request, right? We don't want to scare regular > > > NetBeans users with such confusing configuration, I assume. At least > > > the biggest UX motivation for including nb-javac by default is to > > > avoid all the download dialogs when one wants to use NetBeans to > > > develop Java. It should work out of the box. > > > > getting rid of the dialog is a worthy effort i suppose, but is it still > > possible to disable the nb-javac module in the plugin manage without > > breaking NB after the change? > > I'm curious what the difference between a developer request and a user > request really is for us?! Developers download source releases or work directly with sources in Git. Users download complementary binary releases. > I think the average user should expect to > be able to develop against the latest JDK too. One cannot guarantee any quality when using javac from a random future JDK. With no quality guarantees, I don't believe switching javac is a feature for end users. Developers, on the other hand, shall have a chance to easily rebuild/modify the sources to include any version of Java Support they wish. > also, since automated (!) backporting of javac using jackpot seems > to be feasible now (I don't know how reliable that is) It is reliable and passes all known tests. > https://github.com/oracle/nb-javac/pull/12 > > all what would be needed is to upload weekly > builds (pulling from OpenJDK HEAD) All you need to do is to get the above repository and modify https://github.com/JaroslavTulach/nb-javac/blob/jtulach/BackportingUpstreamJavac/make/langtools/netbeans/nb-javac/nbproject/project.properties#L3 to refer to different revision of OpenJDK. Then rebuild. Setting a weekly upload service up should be easy. Feel free to do it. > I would be in favor of including it in 12.6, > since ... not too big a deal if things aren't perfect. My words. However I am not in a mood to argue with release coordinator. I have just closed the pull request. -jt
