mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-28 07:14:30 +02:00
8338411: Implement JEP 486: Permanently Disable the Security Manager
Co-authored-by: Sean Mullan <mullan@openjdk.org> Co-authored-by: Alan Bateman <alanb@openjdk.org> Co-authored-by: Weijun Wang <weijun@openjdk.org> Co-authored-by: Aleksei Efimov <aefimov@openjdk.org> Co-authored-by: Brian Burkhalter <bpb@openjdk.org> Co-authored-by: Daniel Fuchs <dfuchs@openjdk.org> Co-authored-by: Harshitha Onkar <honkar@openjdk.org> Co-authored-by: Joe Wang <joehw@openjdk.org> Co-authored-by: Jorn Vernee <jvernee@openjdk.org> Co-authored-by: Justin Lu <jlu@openjdk.org> Co-authored-by: Kevin Walls <kevinw@openjdk.org> Co-authored-by: Lance Andersen <lancea@openjdk.org> Co-authored-by: Naoto Sato <naoto@openjdk.org> Co-authored-by: Roger Riggs <rriggs@openjdk.org> Co-authored-by: Brent Christian <bchristi@openjdk.org> Co-authored-by: Stuart Marks <smarks@openjdk.org> Co-authored-by: Ian Graves <igraves@openjdk.org> Co-authored-by: Phil Race <prr@openjdk.org> Co-authored-by: Erik Gahlin <egahlin@openjdk.org> Co-authored-by: Jaikiran Pai <jpai@openjdk.org> Reviewed-by: kevinw, aivanov, rriggs, lancea, coffeys, dfuchs, ihse, erikj, cjplummer, coleenp, naoto, mchung, prr, weijun, joehw, azvegint, psadhukhan, bchristi, sundar, attila
This commit is contained in:
parent
c12b386d19
commit
db85090553
1885 changed files with 5528 additions and 65650 deletions
|
@ -2177,11 +2177,6 @@ public final class Formatter implements Closeable, Flushable {
|
|||
* zero size; otherwise, a new file will be created. The output
|
||||
* will be written to the file and is buffered.
|
||||
*
|
||||
* @throws SecurityException
|
||||
* If a security manager is present and {@link
|
||||
* SecurityManager#checkWrite checkWrite(fileName)} denies write
|
||||
* access to the file
|
||||
*
|
||||
* @throws FileNotFoundException
|
||||
* If the given file name does not denote an existing, writable
|
||||
* regular file and a new regular file of that name cannot be
|
||||
|
@ -2217,11 +2212,6 @@ public final class Formatter implements Closeable, Flushable {
|
|||
* created, or if some other error occurs while opening or
|
||||
* creating the file
|
||||
*
|
||||
* @throws SecurityException
|
||||
* If a security manager is present and {@link
|
||||
* SecurityManager#checkWrite checkWrite(fileName)} denies write
|
||||
* access to the file
|
||||
*
|
||||
* @throws UnsupportedEncodingException
|
||||
* If the named charset is not supported
|
||||
*/
|
||||
|
@ -2256,11 +2246,6 @@ public final class Formatter implements Closeable, Flushable {
|
|||
* created, or if some other error occurs while opening or
|
||||
* creating the file
|
||||
*
|
||||
* @throws SecurityException
|
||||
* If a security manager is present and {@link
|
||||
* SecurityManager#checkWrite checkWrite(fileName)} denies write
|
||||
* access to the file
|
||||
*
|
||||
* @throws UnsupportedEncodingException
|
||||
* If the named charset is not supported
|
||||
*/
|
||||
|
@ -2291,11 +2276,6 @@ public final class Formatter implements Closeable, Flushable {
|
|||
* @throws IOException
|
||||
* if an I/O error occurs while opening or creating the file
|
||||
*
|
||||
* @throws SecurityException
|
||||
* If a security manager is present and {@link
|
||||
* SecurityManager#checkWrite checkWrite(fileName)} denies write
|
||||
* access to the file
|
||||
*
|
||||
* @throws NullPointerException
|
||||
* if {@code fileName} or {@code charset} is {@code null}.
|
||||
*
|
||||
|
@ -2323,11 +2303,6 @@ public final class Formatter implements Closeable, Flushable {
|
|||
* a new file will be created. The output will be written to the
|
||||
* file and is buffered.
|
||||
*
|
||||
* @throws SecurityException
|
||||
* If a security manager is present and {@link
|
||||
* SecurityManager#checkWrite checkWrite(file.getPath())} denies
|
||||
* write access to the file
|
||||
*
|
||||
* @throws FileNotFoundException
|
||||
* If the given file object does not denote an existing, writable
|
||||
* regular file and a new regular file of that name cannot be
|
||||
|
@ -2363,11 +2338,6 @@ public final class Formatter implements Closeable, Flushable {
|
|||
* created, or if some other error occurs while opening or
|
||||
* creating the file
|
||||
*
|
||||
* @throws SecurityException
|
||||
* If a security manager is present and {@link
|
||||
* SecurityManager#checkWrite checkWrite(file.getPath())} denies
|
||||
* write access to the file
|
||||
*
|
||||
* @throws UnsupportedEncodingException
|
||||
* If the named charset is not supported
|
||||
*/
|
||||
|
@ -2402,11 +2372,6 @@ public final class Formatter implements Closeable, Flushable {
|
|||
* created, or if some other error occurs while opening or
|
||||
* creating the file
|
||||
*
|
||||
* @throws SecurityException
|
||||
* If a security manager is present and {@link
|
||||
* SecurityManager#checkWrite checkWrite(file.getPath())} denies
|
||||
* write access to the file
|
||||
*
|
||||
* @throws UnsupportedEncodingException
|
||||
* If the named charset is not supported
|
||||
*/
|
||||
|
@ -2437,11 +2402,6 @@ public final class Formatter implements Closeable, Flushable {
|
|||
* @throws IOException
|
||||
* if an I/O error occurs while opening or creating the file
|
||||
*
|
||||
* @throws SecurityException
|
||||
* If a security manager is present and {@link
|
||||
* SecurityManager#checkWrite checkWrite(file.getPath())} denies
|
||||
* write access to the file
|
||||
*
|
||||
* @throws NullPointerException
|
||||
* if {@code file} or {@code charset} is {@code null}.
|
||||
*
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue