On Sat, 15 Jan 2022 at 05:25, Jaroslav Tulach <[email protected]> wrote: > Ășt 11. 1. 2022 v 13:54 odesĂlatel Neil C Smith <[email protected]> > > Anyone know if there's a non-hacky way to exclude a module from being > > included at all if building the IDE on JDK 8? > > There was an agreement to require JDK-11 to build NetBeans code.
I know! :-) However, unfortunately there are a few edge cases in release-related tasks, not to mention tests right now, that make dropping the ability to build on JDK 8 a little problematic. I was hoping to get something in NetBeans 13 that requires --release 11, but that will have to wait until 14 now. Too close to branch anyway. > Our tests shall continue to run on JDK-8. There was no consensus to move > away from JDK-8 when running tests, as far as I can tell. Build on 11, test on 11, 17 and 8 - IMO in that order of priority though. JDK 8 was where required and infrastructure can handle it. That might mean moving some identified testing to a daily thing, manual trigger or path based triggers. There are ASF resource limitations to consider across GitHub, Travis and Jenkins here. > The ideal setup is shown at > https://github.com/apache/netbeans/blob/master/.github/workflows/ensure-jdk8.yml Yes, I've seen, and thanks for that. Although there are other potential ways to do this I'm exploring too. I started looking at updating testing, but waylaid by other things. Hopefully between 13-rc1 and 13-rc2 we can get some additional changes in, in case there's anything to pick up before release. > E.g. build with JDK-11, but test on JDK-8. That's what needs to happen to > all CI jobs, before one can use `--release 11`. Yes, that was the thing I was hoping we had a way to short circuit. Which I guess we have if we did something like org.openide.util.enumerations and leave the jar empty. May even be benefits in the short term to taking that approach. Best wishes, Neil --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] For further information about the NetBeans mailing lists, visit: https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
