Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-6989690

java/net native code compiler warnings

    Details

    • Subcomponent:
    • Resolved In Build:
      b116
    • CPU:
      generic
    • OS:
      generic
    • Verification:
      Not verified

      Description

      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

        Attachments

          Activity

            People

            • Assignee:
              chegar Chris Hegarty
              Reporter:
              ohair Kelly Ohair (Inactive)
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:
                Imported:
                Indexed: