On 11.01.22 16:24, Neil C Smith wrote:
On Tue, 11 Jan 2022 at 15:05, Michael Bien <[email protected]> wrote:
On 11.01.22 13:53, Neil C Smith wrote:
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?  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.
I don't know a clean way. But what would happen if the ant script would
simply skip the build if JDK < 11?
Not sure.  I was looking to see if filtering the cluster config list
was enough.  Depends how much that is used vs built output I guess.

That would be the better approach for sure.



For some reason I thought we had a way to do this.  It might be
useful, say when we're ready to bump the build on to JDK 17 (in the
distant future! :-) ), that you could build on JDK 11 at least the
modules that would run on JDK 11.

I may have another look shortly - currently working on a PR to bump
more of the testing up to JDK 11.

btw is there any timeframe of how long NB still has to support running on JDK 8?

We build on 11, compile to 8 and use a backported javac from 17 and can't run tests on 17 - this adds a lot of complexity.

there is a chance that JDK 8 will outlive the internal combustion engine.

-mbien


---------------------------------------------------------------------
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



Reply via email to