RFR of JDK-8170049: tests under java/rmi/activation/ fail with "java.security.AccessControlException: access denied ("java.net.SocketPermission" "localhost:5281" "listen, resolve")" on windows

Hamlin Li huaming.li at oracle.com
Mon Nov 21 08:33:41 UTC 2016


Would you please review the patch for below bug?

bug: https://bugs.openjdk.java.net/browse/JDK-8170049
webrev: http://cr.openjdk.java.net/~mli/8170049/webrev.00/

The issue is weird, it only happens on windows, and reproducible. All 
the related tests passed on windows platforms in JPRT, but failed on 
windows platforms in mach5.

Failure is "java.security.AccessControlException: access denied 
("java.net.SocketPermission" "localhost:42069" "listen,resolve")", 
although I don't know the exact root cause (seems it's due to infra 
rather than test code), I just want to let all failed tests pass, so I 
choose to modify test policy files.


Thank you
-Hamlin


More information about the core-libs-dev mailing list