guava icon indicating copy to clipboard operation
guava copied to clipboard

Fix JDK18+ `SecurityManager` build failures (and maybe other failures on some older JDKs)

Open cpovirk opened this issue 2 years ago • 2 comments

See https://github.com/google/guava/pull/6243.

cpovirk avatar Nov 16 '22 14:11 cpovirk

Also, JDK20 will make Thread.suspend throw, breaking AbstractFutureTest.testToString_delayedTimeout.

cpovirk avatar Dec 05 '22 15:12 cpovirk

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.

cpovirk avatar Dec 05 '22 15:12 cpovirk