JDK-8282898 : 12.8: Avoid mention of the security manager
  • Type: Enhancement
  • Component: specification
  • Sub-Component: language
  • Affected Version: 18
  • Priority: P4
  • Status: Open
  • Resolution: Unresolved
  • Submitted: 2022-03-09
  • Updated: 2022-03-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.
Other
tbd_majorUnresolved
Related Reports
Relates :  
Description
JLS 12.8 "Program Exit" mentions "...and the exit operation is not forbidden by the security manager."

Similarly, JVMS 5.7 "Java Virtual Machine Exit" mentions "... and the exit or halt operation is permitted by the security manager."

Both of these clauses should be removed when the Security Manager is removed from the Java Platform.

In addition, the JLS and JVMS text should be more consistent:
1. JLS 12.8 should follow JVMS 5.7 in speaking of "the exit method of class Runtime or class System, ***or the halt method of class Runtime***".
2. JVMS 5.7 should follow JLS 12.8 by mentioning "All the threads that are not daemon threads terminate."
3. There is, however, no need for JLS 12.8 to follow JVMS 5.7 by mentioning JNI.