PATCH: java.nio.channels.DatagramChannel/NotBound.java test patch

Alan Bateman Alan.Bateman at Sun.COM
Thu Oct 25 18:04:23 UTC 2007


Keith Seitz wrote:
> 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
Keith - I've created 6621691 to track fixing the test, and 6621689 to 
deal with the DatagramChannel#receive specification issue that I 
mentioned in the reply yesterday. They should be visible on bugs.sun.com 
by tomorrow.

-Alan.



More information about the core-libs-dev mailing list