> Issue
> 
> https://bugs.openjdk.java.net/browse/JDK-8243376
> 
> Problem
> 
> The scenario is: 
> - Some specified target hostname resolves to two IP addresses (always the 
> same address pair). 
> - The DNS resolved order of the two ip addresses changes (a usual 
> LoadBalancer type behavior). 
> - The CNAME of the two ip addresses differ. 
> 
> In SocketPermission class(void getIP() method), it internally resolves and 
> saves only the first IP address resolved, not all the IP addresses resolved. 
> - Depending on when the implier/implied SocketPermission hostname is 
> resolved, the resolved addresses order differs, and the internally saved IP 
> address mismatches, resulting on SocketPermission#implies() false. 
> 
> 
> Michael McMahon kindly reviewed and suggested changes: 
> https://mail.openjdk.java.net/pipermail/net-dev/2020-May/014001.html

Jayashree S Kumar has updated the pull request with a new target base due to a 
merge or a rebase. The pull request now contains 11 commits:

 - Merge branch 'master' of https://github.com/openjdk/jdk into 
socketperm_implies
 - Code Review: cname made array accounting for multiple cname values
 - Merge branch 'master' of https://github.com/openjdk/jdk into 
socketperm_implies
 - Incorporated changes suggested by Vyom in testcase
 - Fixed all Whitespace error in testcase
 - Fixed all Whitespace error in testcase
 - Fixed automerge failed conflicts
 - Correct WhiteSpace error
 - Merge branch 'master' of https://github.com/openjdk/jdk into 
socketperm_implies
 -  Added testcase and corrected WhiteSpace tab error
 - ... and 1 more: https://git.openjdk.java.net/jdk/compare/05c6009e...4db8ca69

-------------

Changes: https://git.openjdk.java.net/jdk/pull/1916/files
 Webrev: https://webrevs.openjdk.java.net/?repo=jdk&pr=1916&range=04
  Stats: 94 lines in 3 files changed: 56 ins; 10 del; 28 mod
  Patch: https://git.openjdk.java.net/jdk/pull/1916.diff
  Fetch: git fetch https://git.openjdk.java.net/jdk pull/1916/head:pull/1916

PR: https://git.openjdk.java.net/jdk/pull/1916

Reply via email to