JDK-8245828 : Remove unnecessary NetworkPermission checks from jdk/net/ExtendedSocketOptions.java
  • Type: Bug
  • Component: core-libs
  • Sub-Component: java.net
  • Affected Version: 15
  • Priority: P4
  • Status: Resolved
  • Resolution: Fixed
  • Submitted: 2020-05-26
  • Updated: 2024-10-17
  • Resolved: 2020-06-09
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
JDK 15
15 b27Fixed
Related Reports
Relates :  
Description
NetworkPermissions are wrongly checked for all socket options in `jdk/net/ExtendedSocketOptions`. The only option that was specified to require a permission a check was `SO_FLOW_SLA`, and is option has been removed. The unspecified and unnecessary permissions check that were mistakenly also performed for all other extended socket options should be removed.
Comments
URL: https://hg.openjdk.java.net/jdk/jdk/rev/6c62d9f78d20 User: pconcannon Date: 2020-06-09 14:39:59 +0000
09-06-2020