FYI: 
https://github.com/openjdk/jdk/blame/master/make/langtools/src/classes/build/tools/symbolgenerator/CreateSymbols.java
-jt

ne 22. 11. 2026 v 21:23 odesílatel Michael Bien <[email protected]> napsal:
>
> On 11/22/26 20:38, Neil C Smith wrote:
> > 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?
> the path is encoded but decoding it is trivial. Single digits are major
> versions and it switches to letters later (A=10). So if you don't see an
> "S" anywhere it would mean there is no 28 sig in it (as quick smoke test).
>
> -mbien
>
> >   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
>
>
>

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