Hello!
It is a cleanup fix with mostly two kinds of changes:
- when a standard charset is specified by its name, use a preinitialized
Charset constant instead,
- replace the usage of StandardCharset.* constants with their
sun.nio.cs.* equivalents to avoid accidental early initialization of
rarely-used charsets.
BUGURL: https://bugs.openjdk.java.net/browse/JDK-8234147
WEBREV: http://cr.openjdk.java.net/~igerasim/8234147/00/webrev/
I also had to modify one regression test that relied on a private
auxiliary method, which was removed with the fix.
Mach5 control build looks green.
Would you please help review the fix?
--
With kind regards,
Ivan Gerasimov