mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-28 15:24:43 +02:00
8217997: Better socket support
Reviewed-by: alanb, ahgross, chegar, igerasim
This commit is contained in:
parent
67a0aa7960
commit
e4553cb2fa
4 changed files with 45 additions and 1 deletions
|
@ -1,5 +1,5 @@
|
|||
/*
|
||||
* Copyright (c) 2003, 2016, Oracle and/or its affiliates. All rights reserved.
|
||||
* Copyright (c) 2003, 2019, Oracle and/or its affiliates. All rights reserved.
|
||||
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
||||
*
|
||||
* This code is free software; you can redistribute it and/or modify it
|
||||
|
@ -97,6 +97,10 @@ public final class SecurityConstants {
|
|||
public static final NetPermission GET_RESPONSECACHE_PERMISSION =
|
||||
new NetPermission("getResponseCache");
|
||||
|
||||
// java.net.ServerSocket, java.net.Socket
|
||||
public static final NetPermission SET_SOCKETIMPL_PERMISSION =
|
||||
new NetPermission("setSocketImpl");
|
||||
|
||||
// java.lang.SecurityManager, sun.applet.AppletPanel
|
||||
public static final RuntimePermission CREATE_CLASSLOADER_PERMISSION =
|
||||
new RuntimePermission("createClassLoader");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue