This commit is contained in:
@@ -1,18 +0,0 @@
|
||||
--- guava-33.4.8/guava-testlib/src/com/google/common/collect/testing/features/FeatureUtil.java 2025-05-01 08:51:02.326934737 +0200
|
||||
+++ guava-33.4.8/guava-testlib/src/com/google/common/collect/testing/features/FeatureUtil.java 2025-05-01 09:04:37.569251286 +0200
|
||||
@@ -236,15 +236,8 @@
|
||||
if (annotations == null) {
|
||||
annotations = new ArrayList<>();
|
||||
for (Annotation a : classOrMethod.getDeclaredAnnotations()) {
|
||||
- /*
|
||||
- * We avoid reflecting on NullMarked because its @Target(..., MODULE) causes problems
|
||||
- * under JDK 8.
|
||||
- */
|
||||
- if (!(a instanceof NullMarked)
|
||||
- && a.annotationType().isAnnotationPresent(TesterAnnotation.class)) {
|
||||
annotations.add(a);
|
||||
}
|
||||
- }
|
||||
annotations = unmodifiableList(annotations);
|
||||
annotationCache.put(classOrMethod, annotations);
|
||||
}
|
Reference in New Issue
Block a user