Skip to content
Permalink
Browse files

8241947: Minor comment fixes for system property handling

Reviewed-by: ihse, mchung, alanb
  • Loading branch information
RealCLanger committed Apr 2, 2020
1 parent 2718bcd commit 15fcf274141863c8216143682aa701150a296259
Showing with 4 additions and 23 deletions.
  1. +1 −1 make/autoconf/spec.gmk.in
  2. +3 −22 src/java.base/share/classes/java/lang/System.java
@@ -246,7 +246,7 @@ ifneq ($(COMPANY_NAME),)
# 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"
# 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")
ifneq ($(COMPANY_NAME), N/A)
VERSION_CFLAGS += -DVENDOR='"$(COMPANY_NAME)"'
@@ -49,7 +49,6 @@
import java.nio.channels.Channel;
import java.nio.channels.spi.SelectorProvider;
import java.nio.charset.Charset;
import java.util.Iterator;
import java.util.List;
import java.util.Map;
import java.util.Objects;
@@ -585,28 +584,10 @@ public static native void arraycopy(Object src, int srcPos,
public static native int identityHashCode(Object x);

/**
* System properties. The following properties are guaranteed to be defined:
* <dl>
* <dt>java.version <dd>Java version number
* <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>
* System properties.
*
* See {@linkplain #getProperties getProperties} for details.
*/

private static Properties props;

/**

0 comments on commit 15fcf27

Please sign in to comment.