OpenJDK 6 build 14 source posted
aph at redhat.com
Thu Dec 4 11:39:43 UTC 2008
Martin Buchholz wrote:
> On Wed, Dec 3, 2008 at 11:38, Joe Darcy <Joe.Darcy at sun.com> wrote:
>> The source bundle for OpenJDK 6 build 14 is available for download from:
> The new Hotspot 11 failed to compile on a modified 64-bit (debian arch=amd64)
> Ubuntu dapper system as follows:
> cc1plus: warnings being treated as errors
> In member function 'bool networkStream::connect(const char*, short
> warning: comparison is always false due to limited range of data type
> 32-bit systems are unaffected (not sure why).
It's a bug. The code is basically this:
typedef uint32_t in_addr_t;
int pp ()
return (s_addr == (unsigned long)-1);
Promoting -1 to unsigned long on an LP64 machine gives
0xffffffffffffffff, which won't fit in an in_addr_t.
Another weird corner case in C: 184.108.40.206 para 2.
More information about the build-dev