Re: RFR: 8301043: Super-interface for PrintStream and PrintWriter [v2]

2023-01-31 Thread Tingjun Yuan
On Tue, 31 Jan 2023 18:28:59 GMT, Alan Bateman wrote: > A PR may be a bit premature as this probably needs discussion first on > whether this is worth doing. Yes, there are common methods between the two > but at the same time, the byte and character hierarchies have always been > distinct. Ha

Re: RFR: 8301043: Super-interface for PrintStream and PrintWriter [v2]

2023-01-31 Thread Alan Bateman
On Sun, 29 Jan 2023 07:11:26 GMT, Tingjun Yuan wrote: >> Add `java.io.PrintOutput` to represent print operations, and modify >> `java.io.PrintStream` and `java.io.PrintWriter` to implement it. > > Tingjun Yuan has updated the pull request incrementally with one additional > commit since the las

Re: RFR: 8301043: Super-interface for PrintStream and PrintWriter [v2]

2023-01-29 Thread Tingjun Yuan
On Sun, 29 Jan 2023 07:11:26 GMT, Tingjun Yuan wrote: >> Add `java.io.PrintOutput` to represent print operations, and modify >> `java.io.PrintStream` and `java.io.PrintWriter` to implement it. > > Tingjun Yuan has updated the pull request incrementally with one additional > commit since the las

Re: RFR: 8301043: Super-interface for PrintStream and PrintWriter [v2]

2023-01-28 Thread Tingjun Yuan
> Add `java.io.PrintOutput` to represent print operations, and modify > `java.io.PrintStream` and `java.io.PrintWriter` to implement it. Tingjun Yuan has updated the pull request incrementally with one additional commit since the last revision: Fix grammar mistakes in the doc -

RFR: 8301043: Super-interface for PrintStream and PrintWriter

2023-01-28 Thread Tingjun Yuan
Add `java.io.PrintOutput` to represent print operations, and modify `java.io.PrintStream` and `java.io.PrintWriter` to implement it. - Commit messages: - remove `@since 1.5` - Make PrintWriter implement PrintOutput - Make PrintStream implement PrintOutput - Create PrintOutput.jav