diff --git a/gradle/libraries.gradle b/gradle/libraries.gradle index c1d5f9ed9a..b0d2ec709e 100644 --- a/gradle/libraries.gradle +++ b/gradle/libraries.gradle @@ -22,7 +22,7 @@ ext { cdiVersion = '2.0' weldVersion = '3.1.8.Final' - javassistVersion = '3.23.2-GA' + javassistVersion = '3.27.0-GA' byteBuddyVersion = '1.10.7' diff --git a/hibernate-core/src/main/java/org/hibernate/bytecode/internal/javassist/BulkAccessorFactory.java b/hibernate-core/src/main/java/org/hibernate/bytecode/internal/javassist/BulkAccessorFactory.java index 80d300c637..12d19bcb64 100644 --- a/hibernate-core/src/main/java/org/hibernate/bytecode/internal/javassist/BulkAccessorFactory.java +++ b/hibernate-core/src/main/java/org/hibernate/bytecode/internal/javassist/BulkAccessorFactory.java @@ -71,7 +71,7 @@ class BulkAccessorFactory { FactoryHelper.writeFile( classfile, writeDirectory ); } - beanClass = FactoryHelper.toClass( classfile, loader, getDomain() ); + beanClass = FactoryHelper.toClass( classfile, null, loader, getDomain() ); return (BulkAccessor) this.newInstance( beanClass ); } catch ( Exception e ) {