For unresolvable hosts, SocketPermission.implies actually compares by hostname and not by canonical name as its spec says. And as the side effect of fixing 4414825, we relax that requirement for canonicalized names a bit. That is if two SocketPermission instances have equaled hostname, they also imply each other.
So need to tweak the specification accordingly.
So need to tweak the specification accordingly.
- relates to
-
JDK-4414825 SocketPermission.implies seems wrong for unresolveable hosts
-
- Closed
-