On Thu, May 18, 2023, 06:50 Mark Thomas <ma...@apache.org> wrote:

>
> 17 May 2023 20:37:01 Christopher Schultz <ch...@christopherschultz.net>:
>
> > On 5/17/23 04:52, Mark Thomas wrote:
>
> >> Once we switch to using Panama, we are going to have to figure out how
> >> to handle this. My primary concern is new features that depend on API
> >> calls only present in newer OpenSSL versions.
> >
> > The Java components can query the OpenSSL API level from the library
> > and make decisions based on that. It won't be a compile-time decision
> > any more, which IMO is actually a good thing.
>
> Ah, I didn't know that. Nice. I need to read up on Panama.
>

The code actually supports both OpenSSL 1.1 and 3.0 (for fips im
particular, but there are a couple others due to macros not working), as an
experiment on how to deal with differences. Works good (at runtime, not at
compile time).

Also in other news, Panama is confirmed as preview in Java 21, so I'm
disappointed.

Rémy

>
> Mark
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
> For additional commands, e-mail: dev-h...@tomcat.apache.org
>
>

Reply via email to