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:
parent
54df0e3ead
commit
3bd2680ed5
3 changed files with 28 additions and 3 deletions
|
@ -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();
|
||||
|
||||
/**
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue