On Fri, 1 Oct 2021 at 07:29, Jaroslav Tulach <[email protected]> wrote:
> yes, using JDK-11 APIs is obviously one of the next steps:
>
> > We should just be prepared, when the
> > first version bumps for release to 11 are requested :-).
>
> It is obviously possible to do that with reflection the way you describe
> below.
> However my preferred way is to use
>
> http://wiki.apidesign.org/wiki/AlternativeImplementation
>
> E.g. slowly start introducing `org.netbeans.modules.xyz.jdk11` modules that
> would register "seams" and spice the default JDK8 behavior on JDK11 with
> additional functionality without the need for reflection.
>
> By setting `java.target=11` in `project.properties` file one instructs the
> NetBeans Harness build system to insert
>
> OpenIDE-Module-Java-Dependencies: Java > 11
>
> into module manifest. Then such module is only going to be enabled on JDK11.

+1 to this.

The reappearance of the old request (as you're aware) is related to a
need to get consensus on a bunch of outstanding points related to
releases before we hit freeze for 12.6 in two weeks.

It's previously been discussed that we drop support for JDK 8 from
release of JDK 17.  Obviously there are problems with doing that,
particularly (but not only) from projects relying on NetBeans as a
base.

My proposal would be that 12.6 is the last release of Apache NetBeans
that supports building on JDK 8, and that *officially* supports
running on JDK 8.  Because we release sources, it would be good if
possible (it may not be) to keep those two things in sync.

We do your above proposal (with OpenIDE-Module-Java-Dependencies: Java
> 11 ) for the foreseeable future.  That proposal was in my mind.  No
module upgrades without good reason.  The official Apache IDE release
should still run on JDK 8, but select features may "drop out" over
future releases, and our requirement (as ASF) to test / track issues
in running on JDK 8 is removed, while still allowing fixes for such
issues to be contributed where necessary.

Does that work?

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