mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-27 14:54:52 +02:00
8214567: Use {@systemProperty} for definitions of system properties
8214569: Use {@systemProperty} for definitions of system properties Reviewed-by: lancea, mchung, alanb, naoto
This commit is contained in:
parent
b91fa3a6c8
commit
6774e567aa
13 changed files with 24 additions and 24 deletions
|
@ -1864,12 +1864,12 @@ public abstract class ClassLoader {
|
|||
* <p> The default system class loader is an implementation-dependent
|
||||
* instance of this class.
|
||||
*
|
||||
* <p> If the system property "{@code java.system.class.loader}" is defined
|
||||
* when this method is first invoked then the value of that property is
|
||||
* taken to be the name of a class that will be returned as the system
|
||||
* class loader. The class is loaded using the default system class loader
|
||||
* and must define a public constructor that takes a single parameter of
|
||||
* type {@code ClassLoader} which is used as the delegation parent. An
|
||||
* <p> If the system property "{@systemProperty java.system.class.loader}"
|
||||
* is defined when this method is first invoked then the value of that
|
||||
* property is taken to be the name of a class that will be returned as the
|
||||
* system class loader. The class is loaded using the default system class
|
||||
* loader and must define a public constructor that takes a single parameter
|
||||
* of type {@code ClassLoader} which is used as the delegation parent. An
|
||||
* instance is then created using this constructor with the default system
|
||||
* class loader as the parameter. The resulting class loader is defined
|
||||
* to be the system class loader. During construction, the class loader
|
||||
|
|
|
@ -304,7 +304,7 @@ public final class URL implements java.io.Serializable {
|
|||
* or all providers have been exhausted.
|
||||
* <li>If the previous step fails to find a protocol handler, the
|
||||
* constructor reads the value of the system property:
|
||||
* <blockquote>{@code
|
||||
* <blockquote>{@systemProperty
|
||||
* java.protocol.handler.pkgs
|
||||
* }</blockquote>
|
||||
* If the value of that system property is not {@code null},
|
||||
|
|
|
@ -99,7 +99,7 @@ import java.util.Collections;
|
|||
* <p>
|
||||
* The Java virtual machine has a default provider that provides zone rules
|
||||
* for the time-zones defined by IANA Time Zone Database (TZDB). If the system
|
||||
* property {@code java.time.zone.DefaultZoneRulesProvider} is defined then
|
||||
* property {@systemProperty java.time.zone.DefaultZoneRulesProvider} is defined then
|
||||
* it is taken to be the fully-qualified name of a concrete ZoneRulesProvider
|
||||
* class to be loaded as the default provider, using the system class loader.
|
||||
* If this system property is not defined, a system-default provider will be
|
||||
|
|
|
@ -60,7 +60,7 @@ import sun.util.logging.PlatformLogger;
|
|||
* the <code>getInstance</code> methods.
|
||||
* <p>
|
||||
* Users can supersede the Java runtime currency data by means of the system
|
||||
* property {@code java.util.currency.data}. If this system property is
|
||||
* property {@systemProperty java.util.currency.data}. If this system property is
|
||||
* defined then its value is the location of a properties file, the contents of
|
||||
* which are key/value pairs of the ISO 3166 country codes and the ISO 4217
|
||||
* currency data respectively. The value part consists of three ISO 4217 values
|
||||
|
|
|
@ -115,7 +115,7 @@ import sun.util.ResourceBundleEnumeration;
|
|||
* input stream, then the {@code PropertyResourceBundle} instance resets to the state
|
||||
* before the exception, re-reads the input stream in {@code ISO-8859-1}, and
|
||||
* continues reading. If the system property
|
||||
* {@code java.util.PropertyResourceBundle.encoding} is set to either
|
||||
* {@systemProperty java.util.PropertyResourceBundle.encoding} is set to either
|
||||
* "ISO-8859-1" or "UTF-8", the input stream is solely read in that encoding,
|
||||
* and throws the exception if it encounters an invalid sequence.
|
||||
* If "ISO-8859-1" is specified, characters that cannot be represented in
|
||||
|
|
|
@ -112,7 +112,7 @@ public abstract class Pack200 {
|
|||
/**
|
||||
* Obtain new instance of a class that implements Packer.
|
||||
* <ul>
|
||||
* <li><p>If the system property {@code java.util.jar.Pack200.Packer}
|
||||
* <li><p>If the system property {@systemProperty java.util.jar.Pack200.Packer}
|
||||
* is defined, then the value is taken to be the fully-qualified name
|
||||
* of a concrete implementation class, which must implement Packer.
|
||||
* This class is loaded and instantiated. If this process fails
|
||||
|
@ -138,7 +138,7 @@ public abstract class Pack200 {
|
|||
/**
|
||||
* Obtain new instance of a class that implements Unpacker.
|
||||
* <ul>
|
||||
* <li><p>If the system property {@code java.util.jar.Pack200.Unpacker}
|
||||
* <li><p>If the system property {@systemProperty java.util.jar.Pack200.Unpacker}
|
||||
* is defined, then the value is taken to be the fully-qualified
|
||||
* name of a concrete implementation class, which must implement Unpacker.
|
||||
* The class is loaded and instantiated. If this process fails
|
||||
|
|
|
@ -113,7 +113,7 @@ import java.util.Locale;
|
|||
* described above as if the locale was not supported.
|
||||
* <p>
|
||||
* The search order of locale sensitive services can
|
||||
* be configured by using the "java.locale.providers" system property.
|
||||
* be configured by using the {@systemProperty java.locale.providers} system property.
|
||||
* This system property declares the user's preferred order for looking up
|
||||
* the locale sensitive services separated by a comma. It is only read at
|
||||
* the Java runtime startup, so the later call to System.setProperty() won't
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue