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

Mandy Chung mandy.chung at oracle.com
Wed Mar 2 16:11:35 UTC 2011


  Thumbs up.
Mandy

On 3/2/11 7: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.
>




More information about the core-libs-dev mailing list