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

Alan Bateman Alan.Bateman at oracle.com
Thu Oct 7 08:28:33 UTC 2010


Dr Andrew John Hughes wrote:
> :
> It builds and there seem to be notably less warnings.  The first I see now is:
>
> ../../../src/solaris/bin/java_md.c: In function 'LocateJRE':
> ../../../src/solaris/bin/java_md.c:871:19: warning: cast from pointer
> to integer of different size
> ../../../src/solaris/bin/java_md.c: In function 'ContinueInNewThread0':
> ../../../src/solaris/bin/java_md.c:1084:14: warning: cast from pointer
> to integer of different size
>
> and then some in the net code.
>   
Thanks for trying the patch. Yes, there are lots of other warnings that 
need to be squashed. Kelly has created several bugs: 6989690 for the net 
code, 6989117 for flibm, 6989471 for zip code and many more. This does 
mean that the warnings will be fixed over several change-sets. Once they 
are eliminated then we maybe we can turn on -Werror so that they don't 
creep in again.

-Alan






More information about the core-libs-dev mailing list