On Sat, 23 Oct 2021 at 09:24, Michael Bien <[email protected]> wrote:
> But if automatic-nb-javac is really just javac with minimal changes to
> allow a lower bytecode level, I think it should only be enabled if the
> JDK version is lower than the highest JDK version NB supports at the
> time of release.
>
> Lets say future NB 14 supports JDK 19 at the time of release. NB 14
> would enable automatic-nb-javac on JDK 18 and lower, on 19 (and all
> unsupported versions after that), the JDK's javac would be used,

There are two things in play there.  The JDK NetBeans is running on,
and the JDK you're developing against.

For the former, I wonder if OpenIDE-Module-Java-Dependencies can /
does support upper bounds too?

For the latter, not sure if Jan's inbound PR at
https://github.com/apache/netbeans/pull/1475 would provide the answer?
 I still think LSP on the target platform is the more interesting long
term solution.

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



Reply via email to