7021987: native2ascii "file cannot be read" error message is broken

Lance Andersen - Oracle Lance.Andersen at oracle.com
Wed Mar 2 15:54:08 UTC 2011

looks fine Alan
On Mar 2, 2011, at 10:12 AM, Alan Bateman wrote:

> I need a reviewer for a small regression in the native2ascii tool whereby its error messages aren't as expected. Early in the jdk7 this code appears to have been changed to address a "non-varargs call of varargs method" warning in a usage of MessgaeFormat.format. A cast was added to cast a String[] to an Object resulting in the compiler treating it as a varargs call. I've  used the opportunity to eliminate a raw type warning in this code and replace a usage of legacy j.u.Vector with List. This is old code with other "opportunities" to do cleanup but I don't have time to spent time on it. The webrev with the changes is here:
> http://cr.openjdk.java.net/~alanb/7021987/webrev/
> Thanks,
> Alan.

Lance Andersen| Principal Member of Technical Staff | +1.781.442.2037
Oracle Java Engineering 
1 Network Drive 
Burlington, MA 01803
Lance.Andersen at oracle.com

	Oracle is committed to developing practices and products that help protect the environment

More information about the core-libs-dev mailing list