System.java (properties): Make package private.

2004-09-26  Mark Wielaard  <mark@klomp.org>

       * java/lang/System.java (properties): Make package private.
       * java/lang/Throwable.java (StaticData.nl): Initialize through
       directly accessing System.properties.getProperty().

       * java/lang/Throwable.java (nl): Remove static field.
       (StaticData): New private static inner class.
       (stackTraceStringBuffer): Use StaticData.nl.

From-SVN: r88133
This commit is contained in:
Mark Wielaard 2004-09-26 17:11:14 +00:00 committed by Mark Wielaard
parent 54df0e3ead
commit 3bd2680ed5
3 changed files with 28 additions and 3 deletions

View file

@ -133,7 +133,7 @@ public final class System
*/
// Note that we use clone here and not new. Some programs assume
// that the system properties do not have a parent.
private static Properties properties
static Properties properties
= (Properties) Runtime.defaultProperties.clone();
/**