RFR (S) 8230407 : SocketPermission and FilePermission action list allows leading comma

Chris Hegarty chris.hegarty at oracle.com
Thu Oct 3 15:05:27 UTC 2019


Ivan,

> On 3 Oct 2019, at 04:41, Ivan Gerasimov <ivan.gerasimov at 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.




More information about the core-libs-dev mailing list