RFR 8245194: Unix domain socket channel implementation

Alan Bateman Alan.Bateman at oracle.com
Sun Jul 26 06:56:32 UTC 2020


On 21/07/2020 12:58, Michael McMahon wrote:
> :
>
> One thing I just noticed is that the NetPermission("unixDomainSocket") 
> looks a little out of place compared to the other permission targets 
> in that class as they all have a verb like "allow", or "get" prefixing 
> the name. So, I wonder if it might be better as "allowUnixDomainSocket"?
I don't have a strong preference on the permission target name. My 
original concern was that it used "Channel" rather than "Socket" and 
you've addressed that.  The only "allowXXX" target name that I could 
find is "allowHttpTrace" in NetPermission. RuntimePermission has a long 
list of targets with several named "accessXXXX" and maybe that 
convention could work here as "access" applies to several operations.

-Alan


More information about the nio-dev mailing list