2025-05-01 12:08:08 +00:00
committed by Git OBS Bridge
parent 86f6811f26
commit d56bc4fdff

View File

@@ -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);
}