Skip to content

Commit 39c0806

Browse files
committed
HHH-19733 Fallback JVM version for the enhancer to target JVM v.17
1 parent 5994ff9 commit 39c0806

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

hibernate-core/src/main/java/org/hibernate/bytecode/internal/bytebuddy/BytecodeProviderImpl.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -110,10 +110,10 @@ public boolean isSynthetic() {
110110

111111
/**
112112
* Constructs a ByteBuddy BytecodeProvider instance which attempts to auto-detect the target JVM version
113-
* from the currently running one, with a fallback on Java 11.
113+
* from the currently running one, with a fallback on Java 17.
114114
*/
115115
public BytecodeProviderImpl() {
116-
this( ClassFileVersion.ofThisVm( ClassFileVersion.JAVA_V11 ) );
116+
this( ClassFileVersion.ofThisVm( ClassFileVersion.JAVA_V17 ) );
117117
}
118118

119119
/**

0 commit comments

Comments
 (0)