>> 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.kisha...@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. > > >