RFR (JDK11) 8183554: Add constructors with Charset parameter for FileReader and FileWriter

Roger Riggs Roger.Riggs at Oracle.com
Mon Mar 5 21:10:16 UTC 2018

Hi Joe,

For files by name and File these are useful additions.  The new 
constructors with
FileDescriptors don't have a strong use case for them and re-using file 
is something that developers need to be more careful about.  They don't 
need the
added convenience constructors and can build readers and writers from 
when they need it.

Regards, Roger

On 3/5/2018 2:25 PM, Joe Wang wrote:
> Hi,
> Adding constructors with a Charset parameter for FileReader and 
> FileWriter. Please review.
> JBS: https://bugs.openjdk.java.net/browse/JDK-8183554
> webrev: http://cr.openjdk.java.net/~joehw/jdk11/8183554/webrev/
> Thanks,
> Joe

More information about the core-libs-dev mailing list