RFR: 8270380: Change the default value of the java.security.manager system property to disallow

Alan Bateman alanb at openjdk.java.net
Sat Aug 21 17:02:26 UTC 2021


On Sat, 21 Aug 2021 11:23:54 GMT, Weijun Wang <weijun at openjdk.org> wrote:

>> src/java.base/share/classes/java/lang/SecurityManager.java line 128:
>> 
>>> 126:  *   <th scope="row">null</th>
>>> 127:  *   <td>None</td>
>>> 128:  *   <td>Always throws {@code UnsupportedOperationException}</td>
>> 
>> Not sure "Always" is needed, could just be "Throws UOE"
>
> This is the same as the existing words for "disallow".

I think I agree with Lance that "Throws UOE" would be clearer in this table.

-------------

PR: https://git.openjdk.java.net/jdk/pull/5204


More information about the core-libs-dev mailing list