mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-26 22:34:27 +02:00
8214563: Use {@systemProperty} in specification of system properties in java.nio packages
8214565: Use {@systemProperty} for definitions of system properties Reviewed-by: alanb, rriggs
This commit is contained in:
parent
2e04779cef
commit
9a193f38a3
6 changed files with 23 additions and 19 deletions
|
@ -1,5 +1,5 @@
|
|||
/*
|
||||
* Copyright (c) 1997, 2018, Oracle and/or its affiliates. All rights reserved.
|
||||
* Copyright (c) 1997, 2019, Oracle and/or its affiliates. All rights reserved.
|
||||
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
||||
*
|
||||
* This code is free software; you can redistribute it and/or modify it
|
||||
|
@ -440,8 +440,8 @@ public final class FilePermission extends Permission implements Serializable {
|
|||
* <p>A pathname containing an empty string represents an empty path.
|
||||
*
|
||||
* @implNote In this implementation, the
|
||||
* {@code jdk.io.permissionsUseCanonicalPath} system property dictates how
|
||||
* the {@code path} argument is processed and stored.
|
||||
* {@systemProperty jdk.io.permissionsUseCanonicalPath} system property
|
||||
* dictates how the {@code path} argument is processed and stored.
|
||||
* <P>
|
||||
* If the value of the system property is set to {@code true}, {@code path}
|
||||
* is canonicalized and stored as a String object named {@code cpath}.
|
||||
|
|
|
@ -205,7 +205,7 @@ public interface ObjectInputFilter {
|
|||
* <p>
|
||||
* The filter is configured during the initialization of the {@code ObjectInputFilter.Config}
|
||||
* class. For example, by calling {@link #getSerialFilter() Config.getSerialFilter}.
|
||||
* If the system property {@code jdk.serialFilter} is defined, it is used
|
||||
* If the system property {@systemProperty jdk.serialFilter} is defined, it is used
|
||||
* to configure the filter.
|
||||
* If the system property is not defined, and the {@link java.security.Security}
|
||||
* property {@code jdk.serialFilter} is defined then it is used to configure the filter.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue