[11u] RFR(S): 8223326: Regression introduced by CPU sync: java.security.AccessControlException: access denied ("java.net.NetPermission" "setSocketImpl")
Alan.Bateman at oracle.com
Mon Mar 23 19:18:43 UTC 2020
On 23/03/2020 18:07, Doerr, Martin wrote:
> I'd like to backport JDK-8223326 from jdk/jdk.
> 11u backport issue:
> Original change:
> 11u backport webrev:
> I had to integrate the change manually due to context changes. However, the new code fits to the 11u versions.
> Please review.
Socket(SocketImpl) is only specified to do a permission check when the
impl is non-null. The socket adaptor in JDK 12 and older releases
doesn't have a dummy impl so the change should not be needed. If there
is a security exception thrownhere then it suggests something may be
broken elsewhere, do you have a stack trace?
More information about the core-libs-dev