6989466: Miscellaneous compiler warnings in java/lang, java/util, java/io, sun/misc native code

Kelly O'Hair kelly.ohair at oracle.com
Wed Oct 6 22:02:20 UTC 2010


On Oct 6, 2010, at 2:28 PM, Mandy Chung wrote:

> On 10/06/10 13:37, Alan Bateman wrote:
>>
>> This batch eliminates a bunch of compiler warnings from the native  
>> code:
>> http://cr.openjdk.java.net/~alanb/6989466/webrev/
>>
>
> Looks good to me.  I will defer to your build to verify if there is  
> any remaining one.
>
>> It also fixes an incorrect usage of memset found along the way.
>>
>
> Coincidently, this problem was found today:
>   6989972: JDK_GetVersionInfo0 fails to zero structure

Ah ha!

Compiler warnings are your friends. ;^)

-kto

>
> Mandy




More information about the core-libs-dev mailing list