Import GNU Classpath (20121202).
2012-12-19 Matthias Klose <doko@ubuntu.com> Import GNU Classpath (20121202). * Regenerate class and header files. * Regenerate auto* files. * sources.am, gcj/javaprims.h: Regenerate. * gnu/java/nio/FileLockImpl.java (close): New override. From-SVN: r194618
This commit is contained in:
@@ -97,6 +97,8 @@ public final class System
|
||||
*/
|
||||
public static final PrintStream out = VMSystem.makeStandardOutputStream();
|
||||
|
||||
private static final String LINE_SEPARATOR = SystemProperties.getProperty("line.separator");
|
||||
|
||||
/**
|
||||
* The standard output PrintStream. This is assigned at startup and
|
||||
* starts its life perfectly valid. Although it is marked final, you can
|
||||
@@ -712,6 +714,16 @@ public final class System
|
||||
return Console.console();
|
||||
}
|
||||
|
||||
/**
|
||||
* Returns the system-dependent line separator.
|
||||
*
|
||||
* @return the system-dependent line separator.
|
||||
*/
|
||||
public static String lineSeparator()
|
||||
{
|
||||
return LINE_SEPARATOR;
|
||||
}
|
||||
|
||||
/**
|
||||
* This is a specialised <code>Collection</code>, providing
|
||||
* the necessary provisions for the collections used by the
|
||||
|
||||
Reference in New Issue
Block a user