Given separate discussion was on Java 8...but isn’t it possible with newer 
modules based JDKs (9 I believe) to package multiple versions compiled, 
packaged, and compatible with applicable JDKs environment? Multi release jar 
(1), (2) for the platform and/or the ide?

(1) https://blog.codefx.org/tools/multi-release-jars-multiple-java-versions/

https://www.baeldung.com/java-multi-release-jar

Eric Bresie
[email protected]
> On June 27, 2020 at 3:14:29 AM CDT, Neil C Smith <[email protected]> 
> wrote:
> On Sat, 27 Jun 2020 at 07:36, Jaroslav Tulach
> <[email protected]> wrote: ```
> > --release <release>
> > Compile for a specific VM version. Supported targets: 6, 7, 8, 9,
> > 10, 11
> > ```
> > modifying our build scripts to use it on JDK9+ would avoid the `ByteBuffer`
> > & co. issues.
>
> From recollection, Ant, unlike Maven, doesn't require --release
> support to be special-cased for JDK 9+ anyway - it just ignores it on
> 8.
>
> 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