HHH-15595 Fallback JVM version for ByteBuddy can be bumped to JAVA_V11
This commit is contained in:
parent
622273aeb2
commit
fe4091bd42
|
@ -74,7 +74,7 @@ public final class ByteBuddyState {
|
|||
private final TypeCache<TypeCache.SimpleKey> basicProxyCache;
|
||||
|
||||
ByteBuddyState() {
|
||||
this( ClassFileVersion.ofThisVm( ClassFileVersion.JAVA_V8 ) );
|
||||
this( ClassFileVersion.ofThisVm( ClassFileVersion.JAVA_V11 ) );
|
||||
}
|
||||
|
||||
ByteBuddyState(ClassFileVersion classFileVersion) {
|
||||
|
|
|
@ -52,10 +52,10 @@ public class BytecodeProviderImpl implements BytecodeProvider {
|
|||
|
||||
/**
|
||||
* Constructs a ByteBuddy BytecodeProvider instance which attempts to auto-detect the target JVM version
|
||||
* from the currently running one, with a fallback on Java 8.
|
||||
* from the currently running one, with a fallback on Java 11.
|
||||
*/
|
||||
public BytecodeProviderImpl() {
|
||||
this( ClassFileVersion.ofThisVm( ClassFileVersion.JAVA_V8 ) );
|
||||
this( ClassFileVersion.ofThisVm( ClassFileVersion.JAVA_V11 ) );
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Reference in New Issue