/[classpath]/classpath/java/lang/Runtime.java
ViewVC logotype

Diff of /classpath/java/lang/Runtime.java

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.8.2.1 by gnu_andrew, Fri Jan 14 10:24:15 2005 UTC revision 1.8.2.2 by gnu_andrew, Sat Jan 15 17:01:52 2005 UTC
# Line 35  this exception to your version of the li Line 35  this exception to your version of the li
35  obligated to do so.  If you do not wish to do so, delete this  obligated to do so.  If you do not wish to do so, delete this
36  exception statement from your version. */  exception statement from your version. */
37    
38    
39  package java.lang;  package java.lang;
40    
41  import java.io.File;  import java.io.File;
 import java.io.InputStream;  
42  import java.io.IOException;  import java.io.IOException;
43    import java.io.InputStream;
44  import java.io.OutputStream;  import java.io.OutputStream;
45  import java.util.HashSet;  import java.util.HashSet;
46  import java.util.Iterator;  import java.util.Iterator;
# Line 79  public class Runtime Line 80  public class Runtime
80     * treated as read-only.     * treated as read-only.
81     *     *
82     * No matter what class you start initialization with, it defers to the     * No matter what class you start initialization with, it defers to the
83     * superclass, therefore Object.<clinit> will be the first Java code     * superclass, therefore Object.&lt;clinit&gt; will be the first Java code
84     * executed. From there, the bootstrap sequence, up to the point that     * executed. From there, the bootstrap sequence, up to the point that
85     * native libraries are loaded (as of March 24, when I traced this     * native libraries are loaded (as of March 24, when I traced this
86     * manually) is as follows:     * manually) is as follows:
87     *     *
88     * Object.<clinit> uses a String literal, possibly triggering initialization     * Object.&lt;clinit&gt; uses a String literal, possibly triggering initialization
89     *  String.<clinit> calls WeakHashMap.<init>, triggering initialization     *  String.&lt;clinit&gt; calls WeakHashMap.&lt;init&gt;, triggering initialization
90     *   AbstractMap, WeakHashMap, WeakHashMap$1 have no dependencies     *   AbstractMap, WeakHashMap, WeakHashMap$1 have no dependencies
91     *  String.<clinit> calls CaseInsensitiveComparator.<init>, triggering     *  String.&lt;clinit&gt; calls CaseInsensitiveComparator.&lt;init&gt;, triggering
92     *      initialization     *      initialization
93     *   CaseInsensitiveComparator has no dependencies     *   CaseInsensitiveComparator has no dependencies
94     * Object.<clinit> calls System.loadLibrary, triggering initialization     * Object.&lt;clinit&gt; calls System.loadLibrary, triggering initialization
95     *  System.<clinit> calls System.loadLibrary     *  System.&lt;clinit&gt; calls System.loadLibrary
96     *  System.loadLibrary calls Runtime.getRuntime, triggering initialization     *  System.loadLibrary calls Runtime.getRuntime, triggering initialization
97     *   Runtime.<clinit> calls Properties.<init>, triggering initialization     *   Runtime.&lt;clinit&gt; calls Properties.&lt;init&gt;, triggering initialization
98     *    Dictionary, Hashtable, and Properties have no dependencies     *    Dictionary, Hashtable, and Properties have no dependencies
99     *   Runtime.<clinit> calls VMRuntime.insertSystemProperties, triggering     *   Runtime.&lt;clinit&gt; calls VMRuntime.insertSystemProperties, triggering
100     *      initialization of VMRuntime; the VM must make sure that there are     *      initialization of VMRuntime; the VM must make sure that there are
101     *      not any harmful dependencies     *      not any harmful dependencies
102     *   Runtime.<clinit> calls Runtime.<init>     *   Runtime.&lt;clinit&gt; calls Runtime.&lt;init&gt;
103     *    Runtime.<init> calls StringTokenizer.<init>, triggering initialization     *    Runtime.&lt;init&gt; calls StringTokenizer.&lt;init&gt;, triggering initialization
104     *     StringTokenizer has no dependencies     *     StringTokenizer has no dependencies
105     *  System.loadLibrary calls Runtime.loadLibrary     *  System.loadLibrary calls Runtime.loadLibrary
106     *   Runtime.loadLibrary should be able to load the library, although it     *   Runtime.loadLibrary should be able to load the library, although it
# Line 107  public class Runtime Line 108  public class Runtime
108     *       ClassLoader first     *       ClassLoader first
109     */     */
110    static Properties defaultProperties = new Properties();    static Properties defaultProperties = new Properties();
111    
112    static    static
113    {    {
114      VMRuntime.insertSystemProperties(defaultProperties);      VMRuntime.insertSystemProperties(defaultProperties);

Legend:
Removed from v.1.8.2.1  
changed lines
  Added in v.1.8.2.2

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26