Re: SocketPermission's implies() interesting behavior

2011-02-20 Thread Charles Lee
On 02/18/2011 11:57 PM, Alan Bateman wrote: Charles Lee wrote: Hi guys, I am reading the SocketPermission source code recently and find some thing strange. It might be better to bring this to the net-dev list as that is where the networking code, including SocketPermission, is maintained.

Re: SocketPermission's implies() interesting behavior

2011-02-18 Thread Chris Hegarty
[ bcc'ing off core-libs-dev and cc'ing (more appropriate) net-dev ] Hi Charles, I'm not sure I follow you here. I would not expect '*.java.net' to imply 'java.net'. I would however expect it to imply sub domains of java.net, i.e. openjdk.java.net -Chris. On 17/02/2011 09:19, Charles Lee wro

Re: SocketPermission's implies() interesting behavior

2011-02-18 Thread Alan Bateman
Charles Lee wrote: Hi guys, I am reading the SocketPermission source code recently and find some thing strange. It might be better to bring this to the net-dev list as that is where the networking code, including SocketPermission, is maintained. -Alan.

SocketPermission's implies() interesting behavior

2011-02-17 Thread Charles Lee
Hi guys, I am reading the SocketPermission source code recently and find some thing strange. Below is a simple test case to describe the strange thing: SocketPermission star_All = new SocketPermission("*.java.net", "listen,accept,connect"); SocketPermission www_All = new SocketPermission("jav