Replacing deprecated String constructor

mikhail cherkasov mikhail.cherkasov at oracle.com
Wed Dec 26 14:50:33 UTC 2012


Hi All,

I work on removing javac's warring and not sure about how
properly replace deprecated String constructors.

Is 'new String(data, off, len, StandardCharsets.ISO_8859_1)' equivalent 
replacement for 'new String(data, 0, off, len)' ?

Thanks,
Mikhail.



More information about the core-libs-dev mailing list