mirror of
https://github.com/openjdk/jdk.git
synced 2026-03-10 08:01:54 +00:00
7110521: Regression test failed: Introspector/TestTypeResolver.java
Reviewed-by: rupashka
This commit is contained in:
parent
1131098297
commit
1612a6cb79
@ -29,6 +29,7 @@
|
||||
|
||||
import com.sun.beans.TypeResolver;
|
||||
|
||||
import java.lang.annotation.Annotation;
|
||||
import java.lang.reflect.Field;
|
||||
import java.lang.reflect.GenericDeclaration;
|
||||
import java.lang.reflect.Method;
|
||||
@ -170,6 +171,22 @@ public class TestTypeResolver {
|
||||
public int hashCode() {
|
||||
return hash(name) ^ hash(gd) ^ Arrays.hashCode(bounds);
|
||||
}
|
||||
|
||||
public boolean isAnnotationPresent(Class<? extends Annotation> annotationClass) {
|
||||
return false; // not used
|
||||
}
|
||||
|
||||
public <T extends Annotation> T getAnnotation(Class<T> annotationClass) {
|
||||
return null; // not used
|
||||
}
|
||||
|
||||
public Annotation[] getAnnotations() {
|
||||
return null; // not used
|
||||
}
|
||||
|
||||
public Annotation[] getDeclaredAnnotations() {
|
||||
return null; // not used
|
||||
}
|
||||
}
|
||||
|
||||
private static class ClassTypeVariable extends TypeVariableImpl<Class<?>> {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user