Ășt 11. 1. 2022 v 13:54 odesĂlatel Neil C Smith <neilcsm...@apache.org> napsal:
> Hi, > > 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 was under the > impression there might be in the conversations about support of > --release 11, but I now think I might have misinterpreted something > that was said. > > Ideally all our tests would be building on JDK 11 now, 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. The ideal setup is shown at https://github.com/apache/netbeans/blob/master/.github/workflows/ensure-jdk8.yml 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`. -jt