PATCH: java.nio.channels.DatagramChannel/NotBound.java test patch
Keith Seitz
keiths at redhat.com
Tue Oct 23 22:04:19 UTC 2007
Hi,
While playing with the j2se testsuite, I ran across some problems
executing the test in $SUBJECT. Most specifically, the test will
generate an error when run on jtreg since the class is not declared public.
Additionally: as written, the testcase doesn't really make a whole lot
of sense: it tests the same condition twice, despite the fact that it
would (at first glance) appear to do two different tests.
I'm attaching a patch to simplify this testcase to do the only logical
thing it can do (at least as I could figure it out): test that an
unbound, non-blocking DatagramChannel connection will return null when
the receive method is called.
Keith
-------------- next part --------------
A non-text attachment was scrubbed...
Name: java_nio_channels_DatagramChannel_NotBound.patch
Type: text/x-patch
Size: 675 bytes
Desc: not available
URL: <http://mail.openjdk.java.net/pipermail/core-libs-dev/attachments/20071023/8ae50049/java_nio_channels_DatagramChannel_NotBound.patch>
More information about the core-libs-dev
mailing list