A DESCRIPTION OF THE PROBLEM :
Classes java.io.PrintStream and java.io.PrintWriter contain a lot of common methods, and some facilities accepting these classes (such as java.lang.Throwable.printStackTrace) have to accept them with separate methods. It would be great if we had a common interface representing these output actions.
Classes java.io.PrintStream and java.io.PrintWriter contain a lot of common methods, and some facilities accepting these classes (such as java.lang.Throwable.printStackTrace) have to accept them with separate methods. It would be great if we had a common interface representing these output actions.
- links to
-
Review openjdk/jdk/12277