JDK-8233043 : Release Note: DelegationPermission Allows Creating an Instance That Thows NPE on ::equals Call
  • Type: Sub-task
  • Component: security-libs
  • Sub-Component: javax.security
  • Affected Version: 14
  • Priority: P4
  • Status: Closed
  • Resolution: Delivered
  • Submitted: 2019-10-28
  • Updated: 2020-04-27
  • Resolved: 2020-04-27
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 14
14Resolved
Description
When a `DelegationPermission` object is created and the `principals` argument does not contain a pair of principals, an `IllegalArgumentException` is now thrown.