HHH-13821 Update to Byte Buddy 1.10.7
This commit is contained in:
parent
6e5695c271
commit
2da1b79856
|
@ -23,7 +23,8 @@ ext {
|
|||
weldVersion = '3.0.0.Final'
|
||||
|
||||
javassistVersion = '3.23.2-GA'
|
||||
byteBuddyVersion = '1.9.11'
|
||||
byteBuddyVersion = '1.10.7'
|
||||
|
||||
|
||||
geolatteVersion = '1.3.0'
|
||||
|
||||
|
|
|
@ -163,7 +163,7 @@ final class BiDirectionalAssociationHandler implements Implementation {
|
|||
|
||||
private static TypeDescription.Generic target(AnnotatedFieldDescription persistentField) {
|
||||
AnnotationDescription.Loadable<Access> access = persistentField.getDeclaringType().asErasure().getDeclaredAnnotations().ofType( Access.class );
|
||||
if ( access != null && access.loadSilent().value() == AccessType.FIELD ) {
|
||||
if ( access != null && access.load().value() == AccessType.FIELD ) {
|
||||
return persistentField.getType();
|
||||
}
|
||||
else {
|
||||
|
|
|
@ -514,7 +514,7 @@ public class EnhancerImpl implements Enhancer {
|
|||
private AnnotationList doGetAnnotations() {
|
||||
AnnotationDescription.Loadable<Access> access = fieldDescription.getDeclaringType().asErasure()
|
||||
.getDeclaredAnnotations().ofType( Access.class );
|
||||
if ( access != null && access.loadSilent().value() == AccessType.PROPERTY ) {
|
||||
if ( access != null && access.load().value() == AccessType.PROPERTY ) {
|
||||
Optional<MethodDescription> getter = getGetter();
|
||||
if ( getter.isPresent() ) {
|
||||
return getter.get().getDeclaredAnnotations();
|
||||
|
@ -523,7 +523,7 @@ public class EnhancerImpl implements Enhancer {
|
|||
return fieldDescription.getDeclaredAnnotations();
|
||||
}
|
||||
}
|
||||
else if ( access != null && access.loadSilent().value() == AccessType.FIELD ) {
|
||||
else if ( access != null && access.load().value() == AccessType.FIELD ) {
|
||||
return fieldDescription.getDeclaredAnnotations();
|
||||
}
|
||||
else {
|
||||
|
|
Loading…
Reference in New Issue