On Tue, 16 Jul 2024 12:59:36 GMT, Alan Bateman <al...@openjdk.org> wrote:
>> Weijun Wang has updated the pull request incrementally with one additional >> commit since the last revision: >> >> explain why the test is related to the fix > > test/jdk/java/lang/Class/ProtectionDomainRace.java line 61: > >> 59: private static volatile Throwable failed = null; >> 60: public static void main(String[] args) throws Throwable { >> 61: var ac = (PrivilegedAction<? extends Object>) () -> null; > > Did you mean to name the PrivilegedAction "ac"? It might be more readable to > change this line to `PrivilegedAction<?> pa = () -> null;`. Done. Thanks. ------------- PR Review Comment: https://git.openjdk.org/jdk/pull/19752#discussion_r1686482409