Skip to content

Commit f24fd70

Browse files
cpovirkGoogle Java Core Libraries
authored andcommitted
Remove a suppression that is necessary only when building Guava with JDK 8.
Guava continues to support users who build and run their own code under JDK 8; this is [only about how we build Guava ourselves](#6549). RELNOTES=n/a PiperOrigin-RevId: 802195145
1 parent d5f5391 commit f24fd70

File tree

2 files changed

+0
-2
lines changed

2 files changed

+0
-2
lines changed

android/guava-tests/test/com/google/common/reflect/TypeTokenTest.java

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1746,7 +1746,6 @@ Type type() {
17461746
}
17471747
}
17481748

1749-
@SuppressWarnings("RestrictedApiChecker") // crashes under JDK8, which EP no longer supports
17501749
public <T> void testRejectTypeVariable_withOwnerType() {
17511750
// Neither has subclass
17521751
assertHasTypeVariable(new From<Integer>().new To<String>().type());

guava-tests/test/com/google/common/reflect/TypeTokenTest.java

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1746,7 +1746,6 @@ Type type() {
17461746
}
17471747
}
17481748

1749-
@SuppressWarnings("RestrictedApiChecker") // crashes under JDK8, which EP no longer supports
17501749
public <T> void testRejectTypeVariable_withOwnerType() {
17511750
// Neither has subclass
17521751
assertHasTypeVariable(new From<Integer>().new To<String>().type());

0 commit comments

Comments
 (0)