提交 969d0adc 编写于 作者: M malenkov

7110521: Regression test failed: Introspector/TestTypeResolver.java

Reviewed-by: rupashka
上级 71ee9297
...@@ -29,6 +29,7 @@ ...@@ -29,6 +29,7 @@
import com.sun.beans.TypeResolver; import com.sun.beans.TypeResolver;
import java.lang.annotation.Annotation;
import java.lang.reflect.Field; import java.lang.reflect.Field;
import java.lang.reflect.GenericDeclaration; import java.lang.reflect.GenericDeclaration;
import java.lang.reflect.Method; import java.lang.reflect.Method;
...@@ -170,6 +171,22 @@ public class TestTypeResolver { ...@@ -170,6 +171,22 @@ public class TestTypeResolver {
public int hashCode() { public int hashCode() {
return hash(name) ^ hash(gd) ^ Arrays.hashCode(bounds); 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<?>> { private static class ClassTypeVariable extends TypeVariableImpl<Class<?>> {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册