jdk/src/share/classes/java/sql/DriverManager.java
changeset 14174 74a7d8795c22
parent 14171 94eb36844bd7
child 15278 e081d3f73b75
equal deleted inserted replaced
14173:8a94baea7747 14174:74a7d8795c22
   410      * the logging stream.  If a <code>SecurityManager</code> exists and its
   410      * the logging stream.  If a <code>SecurityManager</code> exists and its
   411      * <code>checkPermission</code> method denies setting the log writer, this
   411      * <code>checkPermission</code> method denies setting the log writer, this
   412      * method throws a <code>java.lang.SecurityException</code>.
   412      * method throws a <code>java.lang.SecurityException</code>.
   413      *
   413      *
   414      * @param out the new logging/tracing PrintStream; to disable, set to <code>null</code>
   414      * @param out the new logging/tracing PrintStream; to disable, set to <code>null</code>
   415      * @deprecated Use {@code setLogWriter)
   415      * @deprecated Use {@code setLogWriter}
   416      * @throws SecurityException if a security manager exists and its
   416      * @throws SecurityException if a security manager exists and its
   417      *    <code>checkPermission</code> method denies setting the log stream
   417      *    <code>checkPermission</code> method denies setting the log stream
   418      *
   418      *
   419      * @see SecurityManager#checkPermission
   419      * @see SecurityManager#checkPermission
   420      * @see #getLogStream
   420      * @see #getLogStream
   437     /**
   437     /**
   438      * Retrieves the logging/tracing PrintStream that is used by the <code>DriverManager</code>
   438      * Retrieves the logging/tracing PrintStream that is used by the <code>DriverManager</code>
   439      * and all drivers.
   439      * and all drivers.
   440      *
   440      *
   441      * @return the logging/tracing PrintStream; if disabled, is <code>null</code>
   441      * @return the logging/tracing PrintStream; if disabled, is <code>null</code>
   442      * @deprecated  Use {@code getLogWriter)
   442      * @deprecated  Use {@code getLogWriter}
   443      * @see #setLogStream
   443      * @see #setLogStream
   444      */
   444      */
   445     @Deprecated
   445     @Deprecated
   446     public static java.io.PrintStream getLogStream() {
   446     public static java.io.PrintStream getLogStream() {
   447         return logStream;
   447         return logStream;