guava
guava copied to clipboard
Fix JDK18+ `SecurityManager` build failures (and maybe other failures on some older JDKs)
See https://github.com/google/guava/pull/6243.
Also, JDK20 will make Thread.suspend
throw, breaking AbstractFutureTest.testToString_delayedTimeout
.
I just happened to see a reminder that we have some tests that we automatically skip under JDK9 and JDK10:
https://github.com/google/guava/blob/f4c02a1f30d3f86879ef892736da4031362a1895/guava-tests/test/com/google/common/base/FinalizableReferenceQueueClassLoaderUnloadingTest.java#L293
Apparently they work fine under JDK11+, unless I'm missing something.