[EMAIL PROTECTED] said: > There is NOT a bug in the JVM code that handles java.net.DatagramSock > et. Don't you find it a little compelling that the nearly identical > JVM code passes the Java Compatibility test suite on Linux 2.2, > Solaris, HPUX, SCO, and even Windows? If the JVM spec says that it 'MUST' fail when used on a non-local address, and the POSIX spec for bind does not say that it 'MUST' fail, then yes, there is a bug in the JVM if it assumes that the two are compatible. The fact that they just happen to behave the same in certain phases of the moon and on other operating systems is not relevant. We may decide that we want to pander to this brokenness, especially given the widespread nature of the false assumption that bind() will fail when given a non-local address. But that doesn't make the JVM non-broken. -- dwmw2 - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] Please read the FAQ at http://www.tux.org/lkml/
- Re: bind() allowed to non-local addresses Felix von Leitner
- Re: bind() allowed to non-local addresses David S. Miller
- Re: bind() allowed to non-local addresses Christoph Hellwig
- Re: bind() allowed to non-local addresses Andi Kleen
- Re: bind() allowed to non-local addresses David S. Miller
- Re: bind() allowed to non-local addresses Andi Kleen
- Re: bind() allowed to non-local addresses Matt Peterson
- Re: bind() allowed to non-local addresses Andi Kleen
- Re: bind() allowed to non-local addresses David S. Miller
- Re: bind() allowed to non-local addresses Andi Kleen
- Re: bind() allowed to non-local addresses David Woodhouse
- Re: bind() allowed to non-local addresses Matt Peterson
- Re: bind() allowed to non-local addresses Eric Lammerts
- Re: bind() allowed to non-local addresses Matt Peterson
- Re: bind() allowed to non-local addresses Alexander Viro
- Re: bind() allowed to non-local addresses Alan Cox
- RE: bind() allowed to non-local addresses David Schwartz
- Re: bind() allowed to non-local addresses Christoph Rohland
- RE: bind() allowed to non-local addresses David Schwartz