JDK-8149417 : Use final restricted flag
  • Type: Bug
  • Component: security-libs
  • Sub-Component: javax.crypto
  • Priority: P3
  • Status: Closed
  • Resolution: Fixed
  • Submitted: 2016-02-09
  • Updated: 2016-09-07
  • Resolved: 2016-02-24
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 6 JDK 7 JDK 8 JDK 9
6u121Fixed 7u111Fixed 8u102Fixed 9 b108Fixed
Description
Code cleanup, JceSecurity.isRestricted can be declared as final:

-    private static boolean isRestricted = true;
+    private final static boolean isRestricted;