JDK-6729881 : Compiler warnings in networking native code
  • Type: Bug
  • Component: core-libs
  • Sub-Component: java.net
  • Affected Version: 7
  • Priority: P3
  • Status: Closed
  • Resolution: Fixed
  • OS: windows_xp
  • CPU: generic
  • Submitted: 2008-07-25
  • Updated: 2011-05-18
  • Resolved: 2011-05-18
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
JDK 7
7 b33Fixed
Related Reports
Relates :  
Description
Compiler warnings in networking code: (see logs at /java/re/jdk/7/promotes/latest/logs/build*.log)

../../../src/windows/native/java/net/Inet4AddressImpl.c(144) : warning C4101: 'byteArrayCls' : unreferenced local variable
../../../src/windows/native/java/net/Inet4AddressImpl.c(318) : warning C4013: 'getpid' undefined; assuming extern returning int
../../../src/windows/native/java/net/Inet4AddressImpl.c(494) : warning C4013: 'NET_Socket' undefined; assuming extern returning int
../../../src/windows/native/java/net/Inet4AddressImpl.c(549) : warning C4013: 'NET_ThrowByNameWithLastError' undefined; assuming extern returning int

Inet6AddressImpl.c
../../../src/windows/native/java/net/Inet6AddressImpl.c(118) : warning C4013: 'NET_addrtransAvailable' undefined; assuming extern returning int
../../../src/windows/native/java/net/Inet6AddressImpl.c(310) : warning C4101: 'fid' : unreferenced local variable
../../../src/windows/native/java/net/Inet6AddressImpl.c(313) : warning C4101: 'him' : unreferenced local variable
../../../src/windows/native/java/net/Inet6AddressImpl.c(312) : warning C4101: 'family' : unreferenced local variable
../../../src/windows/native/java/net/Inet6AddressImpl.c(395) : warning C4013: 'getpid' undefined; assuming extern returning int
../../../src/windows/native/java/net/Inet6AddressImpl.c(377) : warning C4101: 'hlen1' : unreferenced local variable
../../../src/windows/native/java/net/Inet6AddressImpl.c(377) : warning C4101: 'icmplen' : unreferenced local variable

.... too many to list

Comments
EVALUATION http://hg.openjdk.java.net/jdk7/jsn/jdk/rev/b7fce4bac617
28-07-2008

EVALUATION Fix in progress.
25-07-2008