Details
-
Type:
Bug
-
Status: Closed
-
Priority:
P3
-
Resolution: Fixed
-
Affects Version/s: 8
-
Fix Version/s: 8
-
Component/s: security-libs
-
Labels:
-
Subcomponent:
-
Resolved In Build:b36
-
CPU:generic
-
OS:generic
-
Verification:Verified
Description
CodeSource.matchLocation(..) method currently uses the following test to check for port equality :
- if (location.getPort() != -1) {
- if (location.getPort() != that.location.getPort())
- return false;
- }
The URLStreamHandler uses a more thorough check on port equality checks. It uses the getDefaultPort call.
- if (location.getPort() != -1) {
- if (location.getPort() != that.location.getPort())
- return false;
- }
The URLStreamHandler uses a more thorough check on port equality checks. It uses the getDefaultPort call.
Attachments
Issue Links
- relates to
-
JDK-7152564 Improve CodeSource.matchLocation(CodeSource) performance
-
- Resolved
-