On Thu, 9 Feb 2023 16:54:42 GMT, Roger Riggs <rri...@openjdk.org> wrote:
>> SUN Guoyun has updated the pull request incrementally with one additional >> commit since the last revision: >> >> 8301737: >> java/rmi/server/UnicastRemoteObject/serialFilter/FilterUROTest.java fail >> with -Xcomp > > test/jdk/java/rmi/server/UnicastRemoteObject/serialFilter/FilterUROTest.java > line 74: > >> 72: public void useExportObject(String name, Object obj, int >> expectedFilterCount) throws RemoteException { >> 73: try { >> 74: impl = RemoteImpl.create(); > > I'd prefer to use ReachabilityFence at the end of the try block to keep the > nested scoping. > ```Reference.reachabilityFence(impl);``` I just tested it and it really be OK, I'll submit a new commit. ------------- PR: https://git.openjdk.org/jdk/pull/12399