This is the mail archive of the java@gcc.gnu.org mailing list for the Java project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Bug in libgcj UDP network classes


On Wed, Dec 03, 2003 at 12:49:40PM -0700, Tom Tromey wrote:
> >>>>> "Norbert" == Norbert Frese <postfach@nfrese.net> writes:
> 
> Norbert> ... got curious myself ... and i think i have found it: 
> Norbert> The buffer size which is told to recvfrom() in
> Norbert> "gnu::java::net::PlainDatagramSocketImpl::receive" is the size of the
> Norbert> previously received Packet. Which is kept in the "length" variable of
> Norbert> DatagramPacket. Therefore the number of bytes read via recvfrom() gets
> Norbert> reduced with every packet that is smaller than the previous one.
> 
> Did this ever get resolved?
> If not, could you file the problem in bugzilla?

This is fixed in CVS and Norbert's testcase works like a charm. The only
missing piece is a mauve test ...


Michael


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]