Adding constant for line.separator and friends

Martin Buchholz martinrb at
Wed Nov 11 00:40:36 UTC 2009

On Tue, Nov 10, 2009 at 10:06, Joseph D. Darcy <Joe.Darcy at> wrote:
> Martin,
> If we're settled on a method in System, please send a revised spec and I'll
> file the ccc paperwork.

I'm agnostic about whether it belongs in System or File or elsewhere,
but my "serious" webrev below puts it in System.

Please file bug + ccc.

This also fixes a warning in,
makes printf a little faster, and fixes the SecurityException
in the java program below:


public class Println {
   public static void main(String[] args) {
       Policy.setPolicy(new {
               public boolean implies(ProtectionDomain pd, Permission p) {
                   return false;
       System.setSecurityManager(new SecurityManager());

More information about the core-libs-dev mailing list