On Sun, 22 Nov 2026 at 15:29, Michael Bien <[email protected]> wrote:
> On 11/14/26 14:21, Neil C Smith via dev wrote:
> > ...or downloading, extracting and caching the file from an upstream built 
> > JDK?
...
> I think building with JDK 21 could be also seen as first unit test it
> has to pass + it avoids having to run the build on EA JDK checkouts (the
> compiler used to build the project is GA and went through the TCK
> without extra sauce).

Sure, that makes sense.  I did also suggest downloading, extracting
and caching the ct.sym from an upstream binary as an option if you
want to keep the build on JDK 21.

> in a nutshell: ct.sym are archived java signatures of earlier JDK
> releases which javac uses to link programs against when --release N is
> used. This avoids linkage bugs like the ByteBuffer NoSuchMethodError
> from the webstart era*.

Yes, I know what ct.sym is.  I'm curious if it has version information
somewhere inside?  Besides parsing everything!  :-)  As in, is there
an easy way for the build to verify any ct.sym file matches the
expected version?  Could anyone easily know the ct.sym in the current
version is wrong without inspecting the build or noticing missing
signatures?

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