RFR: 8372253: Improve logging to show why a class was excluded form AOT Cache
Jean-Noël Rouvignac
duke at openjdk.org
Fri Nov 21 07:52:21 UTC 2025
On Thu, 20 Nov 2025 09:20:11 GMT, María Arias de Reyna Domínguez <duke at openjdk.org> wrote:
> Fixes: https://bugs.openjdk.org/browse/JDK-8372253
>
> When dumping the AOT Cache file, some classes throw a verification error and are excluded from the cache:
>
>
> [warning][aot] Preload Warning: Verification failed for io.netty.handler.ssl.OpenSslClientContext
> [warning][aot] Skipping io/netty/handler/ssl/OpenSslClientContext: Failed verification
>
>
> This PR improves the log message by adding the cause of this failure:
>
>
> [warning][aot] Preload Warning: Verification failed for io.netty.handler.ssl.OpenSslClientContext because a java.lang.NoClassDefFoundError was thrown: io/netty/internal/tcnative/SSLPrivateKeyMethod
The PR title is "8372253: Improve logging to show why a class was excluded form AOT Cache".
Dunno if it's important to fix a typo there, but if it is then "form" should be "from".
-------------
PR Comment: https://git.openjdk.org/jdk/pull/28413#issuecomment-3561839386
More information about the hotspot-runtime-dev
mailing list