8241947: Minor comment fixes for system property handling
Reviewed-by: ihse, mchung, alanb
This commit is contained in:
parent
2718bcd0c7
commit
15fcf27414
@ -246,7 +246,7 @@ ifneq ($(COMPANY_NAME),)
|
|||||||
# Only export "VENDOR" to the build if COMPANY_NAME contains a real value.
|
# Only export "VENDOR" to the build if COMPANY_NAME contains a real value.
|
||||||
# Otherwise the default value for VENDOR, which is used to set the "java.vendor"
|
# Otherwise the default value for VENDOR, which is used to set the "java.vendor"
|
||||||
# and "java.vm.vendor" properties is hard-coded into the source code (i.e. in
|
# and "java.vm.vendor" properties is hard-coded into the source code (i.e. in
|
||||||
# VersionProps.java.template in the jdk for "vm.vendor" and
|
# VersionProps.java.template in the jdk for "java.vendor" and
|
||||||
# vm_version.cpp in the VM for "java.vm.vendor")
|
# vm_version.cpp in the VM for "java.vm.vendor")
|
||||||
ifneq ($(COMPANY_NAME), N/A)
|
ifneq ($(COMPANY_NAME), N/A)
|
||||||
VERSION_CFLAGS += -DVENDOR='"$(COMPANY_NAME)"'
|
VERSION_CFLAGS += -DVENDOR='"$(COMPANY_NAME)"'
|
||||||
|
@ -49,7 +49,6 @@ import java.security.PrivilegedAction;
|
|||||||
import java.nio.channels.Channel;
|
import java.nio.channels.Channel;
|
||||||
import java.nio.channels.spi.SelectorProvider;
|
import java.nio.channels.spi.SelectorProvider;
|
||||||
import java.nio.charset.Charset;
|
import java.nio.charset.Charset;
|
||||||
import java.util.Iterator;
|
|
||||||
import java.util.List;
|
import java.util.List;
|
||||||
import java.util.Map;
|
import java.util.Map;
|
||||||
import java.util.Objects;
|
import java.util.Objects;
|
||||||
@ -585,28 +584,10 @@ public final class System {
|
|||||||
public static native int identityHashCode(Object x);
|
public static native int identityHashCode(Object x);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* System properties. The following properties are guaranteed to be defined:
|
* System properties.
|
||||||
* <dl>
|
*
|
||||||
* <dt>java.version <dd>Java version number
|
* See {@linkplain #getProperties getProperties} for details.
|
||||||
* <dt>java.version.date <dd>Java version date
|
|
||||||
* <dt>java.vendor <dd>Java vendor specific string
|
|
||||||
* <dt>java.vendor.url <dd>Java vendor URL
|
|
||||||
* <dt>java.vendor.version <dd>Java vendor version
|
|
||||||
* <dt>java.home <dd>Java installation directory
|
|
||||||
* <dt>java.class.version <dd>Java class version number
|
|
||||||
* <dt>java.class.path <dd>Java classpath
|
|
||||||
* <dt>os.name <dd>Operating System Name
|
|
||||||
* <dt>os.arch <dd>Operating System Architecture
|
|
||||||
* <dt>os.version <dd>Operating System Version
|
|
||||||
* <dt>file.separator <dd>File separator ("/" on Unix)
|
|
||||||
* <dt>path.separator <dd>Path separator (":" on Unix)
|
|
||||||
* <dt>line.separator <dd>Line separator ("\n" on Unix)
|
|
||||||
* <dt>user.name <dd>User account name
|
|
||||||
* <dt>user.home <dd>User home directory
|
|
||||||
* <dt>user.dir <dd>User's current working directory
|
|
||||||
* </dl>
|
|
||||||
*/
|
*/
|
||||||
|
|
||||||
private static Properties props;
|
private static Properties props;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
Loading…
x
Reference in New Issue
Block a user