< prev index next >

src/java.base/share/classes/java/lang/System.java

Print this page

        

*** 574,586 **** * {@link #getProperty(String)} method is returned as a * <code>Properties</code> object. If there is no current set of * system properties, a set of system properties is first created and * initialized. This set of system properties always includes values * for the following keys: ! * <table summary="Shows property keys and associated values"> * <tr><th>Key</th> * <th>Description of Associated Value</th></tr> * <tr><td><code>java.version</code></td> * <td>Java Runtime Environment version which may be interpreted * as a {@link Runtime.Version}</td></tr> * <tr><td><code>java.vendor</code></td> * <td>Java Runtime Environment vendor</td></tr> --- 574,590 ---- * {@link #getProperty(String)} method is returned as a * <code>Properties</code> object. If there is no current set of * system properties, a set of system properties is first created and * initialized. This set of system properties always includes values * for the following keys: ! * <table class="striped"> ! * <caption style="display:none">Shows property keys and associated values</caption> ! * <thead> * <tr><th>Key</th> * <th>Description of Associated Value</th></tr> + * </thead> + * <tbody> * <tr><td><code>java.version</code></td> * <td>Java Runtime Environment version which may be interpreted * as a {@link Runtime.Version}</td></tr> * <tr><td><code>java.vendor</code></td> * <td>Java Runtime Environment vendor</td></tr>
*** 635,644 **** --- 639,649 ---- * <td>User's account name</td></tr> * <tr><td><code>user.home</code></td> * <td>User's home directory</td></tr> * <tr><td><code>user.dir</code></td> * <td>User's current working directory</td></tr> + * </tbody> * </table> * <p> * Multiple paths in a system property value are separated by the path * separator character of the platform. * <p>
*** 646,666 **** * <code>getProperties</code> operation, it may choose to permit the * {@link #getProperty(String)} operation. * * @implNote In addition to the standard system properties, the system * properties may include the following keys: ! * <table summary="Shows property keys and associated values"> * <tr><th>Key</th> * <th>Description of Associated Value</th></tr> * <tr><td>{@code jdk.module.path}</td> * <td>The application module path</td></tr> * <tr><td>{@code jdk.module.upgrade.path}</td> * <td>The upgrade module path</td></tr> * <tr><td>{@code jdk.module.main}</td> * <td>The module name of the initial/main module</td></tr> * <tr><td>{@code jdk.module.main.class}</td> * <td>The main class name of the initial module</td></tr> * </table> * * @return the system properties * @exception SecurityException if a security manager exists and its * <code>checkPropertiesAccess</code> method doesn't allow access --- 651,676 ---- * <code>getProperties</code> operation, it may choose to permit the * {@link #getProperty(String)} operation. * * @implNote In addition to the standard system properties, the system * properties may include the following keys: ! * <table class="striped"> ! * <caption style="display:none">Shows property keys and associated values</caption> ! * <thead> * <tr><th>Key</th> * <th>Description of Associated Value</th></tr> + * </thead> + * <tbody> * <tr><td>{@code jdk.module.path}</td> * <td>The application module path</td></tr> * <tr><td>{@code jdk.module.upgrade.path}</td> * <td>The upgrade module path</td></tr> * <tr><td>{@code jdk.module.main}</td> * <td>The module name of the initial/main module</td></tr> * <tr><td>{@code jdk.module.main.class}</td> * <td>The main class name of the initial module</td></tr> + * </tbody> * </table> * * @return the system properties * @exception SecurityException if a security manager exists and its * <code>checkPropertiesAccess</code> method doesn't allow access
< prev index next >