Integrated: 8372253: Improve logging to show why a class was excluded from AOT Cache
María Arias de Reyna Domínguez
duke at openjdk.org
Wed Nov 26 06:42:56 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
This pull request has now been integrated.
Changeset: 3ef3f259
Author: María Arias de Reyna Domínguez <mariasde at ibm.com>
Committer: SendaoYan <syan at openjdk.org>
URL: https://git.openjdk.org/jdk/commit/3ef3f259bbf4bf40638f53319ec4eea7fdd147e1
Stats: 5 lines in 1 file changed: 3 ins; 0 del; 2 mod
8372253: Improve logging to show why a class was excluded from AOT Cache
Reviewed-by: asmehra, iklam
-------------
PR: https://git.openjdk.org/jdk/pull/28413
More information about the hotspot-runtime-dev
mailing list