-
Bug
-
Resolution: Fixed
-
P3
-
7
-
b116
-
generic
-
generic
-
Not verified
Compiler warnings in java.net native code:
Linux:
/usr/bin/gcc -g -O2 -fno-strict-aliasing -fPIC -W -Wall -Wno-unused -Wno-parentheses -fno-omit-frame-pointer -D_LITTLE_ENDIAN -DDEBUG -DLOGGING -DARCH='"i586"' -Di586 -DLINUX -DRELEASE='"1.7.0-ea-fastdebug"' -D_LARGEFILE64_SOURCE -D_GNU_SOURCE -D_REENTRANT -I. -I/BUILD_AREA/jdk7/build/linux-i586/../linux-i586-fastdebug/tmp/sun/java.net/net/CClassHeaders -I../../../src/solaris/javavm/export -I../../../src/share/javavm/export -I../../../src/share/native/common -I../../../src/solaris/native/common -I../../../src/share/native/java/net -I../../../src/solaris/native/java/net -c -o /BUILD_AREA/jdk7/build/linux-i586/../linux-i586-fastdebug/tmp/sun/java.net/net/obj_gO/DefaultProxySelector.o ../../../src/solaris/native/sun/net/spi/DefaultProxySelector.c
../../../src/solaris/native/sun/net/spi/DefaultProxySelector.c: In function 'Java_sun_net_spi_DefaultProxySelector_getSystemProxy':
../../../src/solaris/native/sun/net/spi/DefaultProxySelector.c:161: warning: 'use_proxy' may be used uninitialized in this function
/usr/bin/gcc -g -O2 -fno-strict-aliasing -fPIC -W -Wall -Wno-unused -Wno-parentheses -fno-omit-frame-pointer -D_LITTLE_ENDIAN -DDEBUG -DLOGGING -DARCH='"i586"' -Di586 -DLINUX -DRELEASE='"1.7.0-ea-fastdebug"' -D_LARGEFILE64_SOURCE -D_GNU_SOURCE -D_REENTRANT -I. -I/BUILD_AREA/jdk7/build/linux-i586/../linux-i586-fastdebug/tmp/sun/java.net/net/CClassHeaders -I../../../src/solaris/javavm/export -I../../../src/share/javavm/export -I../../../src/share/native/common -I../../../src/solaris/native/common -I../../../src/share/native/java/net -I../../../src/solaris/native/java/net -c -o /BUILD_AREA/jdk7/build/linux-i586/../linux-i586-fastdebug/tmp/sun/java.net/net/obj_gO/PlainDatagramSocketImpl.o ../../../src/solaris/native/java/net/PlainDatagramSocketImpl.c
../../../src/solaris/native/java/net/PlainDatagramSocketImpl.c: In function 'mcast_join_leave':
../../../src/solaris/native/java/net/PlainDatagramSocketImpl.c:2267: warning: pointer targets in passing argument 5 of 'getsockopt' differ in signedness
Linux:
/usr/bin/gcc -g -O2 -fno-strict-aliasing -fPIC -W -Wall -Wno-unused -Wno-parentheses -fno-omit-frame-pointer -D_LITTLE_ENDIAN -DDEBUG -DLOGGING -DARCH='"i586"' -Di586 -DLINUX -DRELEASE='"1.7.0-ea-fastdebug"' -D_LARGEFILE64_SOURCE -D_GNU_SOURCE -D_REENTRANT -I. -I/BUILD_AREA/jdk7/build/linux-i586/../linux-i586-fastdebug/tmp/sun/java.net/net/CClassHeaders -I../../../src/solaris/javavm/export -I../../../src/share/javavm/export -I../../../src/share/native/common -I../../../src/solaris/native/common -I../../../src/share/native/java/net -I../../../src/solaris/native/java/net -c -o /BUILD_AREA/jdk7/build/linux-i586/../linux-i586-fastdebug/tmp/sun/java.net/net/obj_gO/DefaultProxySelector.o ../../../src/solaris/native/sun/net/spi/DefaultProxySelector.c
../../../src/solaris/native/sun/net/spi/DefaultProxySelector.c: In function 'Java_sun_net_spi_DefaultProxySelector_getSystemProxy':
../../../src/solaris/native/sun/net/spi/DefaultProxySelector.c:161: warning: 'use_proxy' may be used uninitialized in this function
/usr/bin/gcc -g -O2 -fno-strict-aliasing -fPIC -W -Wall -Wno-unused -Wno-parentheses -fno-omit-frame-pointer -D_LITTLE_ENDIAN -DDEBUG -DLOGGING -DARCH='"i586"' -Di586 -DLINUX -DRELEASE='"1.7.0-ea-fastdebug"' -D_LARGEFILE64_SOURCE -D_GNU_SOURCE -D_REENTRANT -I. -I/BUILD_AREA/jdk7/build/linux-i586/../linux-i586-fastdebug/tmp/sun/java.net/net/CClassHeaders -I../../../src/solaris/javavm/export -I../../../src/share/javavm/export -I../../../src/share/native/common -I../../../src/solaris/native/common -I../../../src/share/native/java/net -I../../../src/solaris/native/java/net -c -o /BUILD_AREA/jdk7/build/linux-i586/../linux-i586-fastdebug/tmp/sun/java.net/net/obj_gO/PlainDatagramSocketImpl.o ../../../src/solaris/native/java/net/PlainDatagramSocketImpl.c
../../../src/solaris/native/java/net/PlainDatagramSocketImpl.c: In function 'mcast_join_leave':
../../../src/solaris/native/java/net/PlainDatagramSocketImpl.c:2267: warning: pointer targets in passing argument 5 of 'getsockopt' differ in signedness