Optimize Hibernate native footprint by making ByteBuddy unreachable

As a workaround before a proper solution the Spring team is trying to
find with the Hibernate team in a future version of Hibernate, this
commit introduces 2 GraalVM substitutions that should allow to remove
ByteBuddy reachability with Hibernate 6.3.

Closes gh-29549
This commit is contained in:
Sébastien Deleuze
2023-09-01 12:29:16 +02:00
parent acd34df0d5
commit 63a20be502
3 changed files with 91 additions and 0 deletions

View File

@@ -84,6 +84,7 @@
<!-- spring-orm -->
<suppress files="jpa[\\/]vendor[\\/]Database" checks="JavadocVariable|JavadocStyle"/>
<suppress files="Target_BytecodeProviderInitiator" checks="HideUtilityClassConstructorCheck"/>
<!-- spring-tx -->
<suppress files="TransactionSystemException" checks="MutableException"/>