Ivan, > On 3 Oct 2019, at 04:41, Ivan Gerasimov <ivan.gerasi...@oracle.com> wrote: > > ... > > So, I filed CSR: https://bugs.openjdk.java.net/browse/JDK-8231805 to cover > the addition of @throws paragraph in the javadoc of SocketPermission. > > I would really appreciate it, if someone helped to review it. > Since we’re here ... ;-) It would be good to specify the NPE behavior of the constructor. Here are the changes for SocketPermission. If you agree, fold them into your patch and CSR. ( I’ve included test changes to verify the new tighter spec )
https://cr.openjdk.java.net/~chegar/8230407.extra/ -Chris.