jdk/src/java.base/share/classes/java/lang/System.java
changeset 45924 8bbd04c0791e
parent 45881 aaec0fbe17ae
child 46096 62c77b334012
equal deleted inserted replaced
45923:00a75e0998d1 45924:8bbd04c0791e
  1958         FileOutputStream fdErr = new FileOutputStream(FileDescriptor.err);
  1958         FileOutputStream fdErr = new FileOutputStream(FileDescriptor.err);
  1959         setIn0(new BufferedInputStream(fdIn));
  1959         setIn0(new BufferedInputStream(fdIn));
  1960         setOut0(newPrintStream(fdOut, props.getProperty("sun.stdout.encoding")));
  1960         setOut0(newPrintStream(fdOut, props.getProperty("sun.stdout.encoding")));
  1961         setErr0(newPrintStream(fdErr, props.getProperty("sun.stderr.encoding")));
  1961         setErr0(newPrintStream(fdErr, props.getProperty("sun.stderr.encoding")));
  1962 
  1962 
  1963         // Load the zip library now in order to keep java.util.zip.ZipFile
       
  1964         // from trying to use itself to load this library later.
       
  1965         loadLibrary("zip");
       
  1966 
       
  1967         // Setup Java signal handlers for HUP, TERM, and INT (where available).
  1963         // Setup Java signal handlers for HUP, TERM, and INT (where available).
  1968         Terminator.setup();
  1964         Terminator.setup();
  1969 
  1965 
  1970         // Initialize any miscellaneous operating system settings that need to be
  1966         // Initialize any miscellaneous operating system settings that need to be
  1971         // set for the class libraries. Currently this is no-op everywhere except
  1967         // set for the class libraries. Currently this is no-op everywhere except