RFR [9] 8146484: Examine sun.misc.MessageUtils

Chris Hegarty chris.hegarty at oracle.com
Wed Jan 6 10:37:42 UTC 2016

On 06/01/16 10:12, Alan Bateman wrote:
> On 06/01/2016 05:28, Chris Hegarty wrote:
>> sun.misc.MessageUtils provides low-level access for writing “error”
>> messages
>> to stdout and stderr. It is, effectively, used in just one place in
>> the JDK, String
>> coding, when the specific encoding is not available. Since this is the
>> only usage,
>> the minimal functionality required by String coding can be moved to
>> StringCoding,
>> and MessageUtils removed.
>> http://cr.openjdk.java.net/~chegar/8146484/
>> Note: there are a couple of unused reference to MessageUtils in the
>> desktop
>> module and a build tool that need to be cleaned up.
> This looks to me.

Thanks Alan.

 >  I initially assumed the resource files in
> sun.misc.resources.* were used by MessageUtils but it seems not,
> something for another bug I think.

Yes, they are on the hit list too :-)


More information about the core-libs-dev mailing list