On Thu, 22 Aug 2024 02:46:34 GMT, David Holmes <dhol...@openjdk.org> wrote:

> Sorry but I don't understand the point of changing build-time constructs 
> using `ifdef STATIC_BUILD` into what appear to be runtime checks, but the 
> result of which is already determined at build time. These are not really 
> runtime checks.

I believe the new methods are for checking whether the JDK was statically 
linked or not, but I half agree with your point. The change to using the new 
methods instead of preprocessor checks don't seem to really do anything. Maybe 
the new methods can be kept alongside the preprocessor checks

-------------

PR Comment: https://git.openjdk.org/jdk/pull/20666#issuecomment-2303813593

Reply via email to