Request for Review and Sponsor needed: JDK-8167648: java.io.PrintWriter should have PrintWriter((String|File), Charset) constructors

Patrick Reinhart patrick at reini.net
Tue Dec 27 14:46:44 UTC 2016


Hi Jason,

At the moment, a subclass would need to overwrite this method with the 
same behaviour. The other solution would be to make the internal state 
auto-flush to no longer be final.

-Patrick

On 2016-12-21 22:40, Jason Mehrens wrote:
> Patrick,
> 
> How is 'withAutoFlush' expected to behave for subclasses of 
> PrintWriter?
> 
> Jason


More information about the core-libs-dev mailing list