Setting public TestEnv defaults for net/nio tests needing hosts

Mark Wielaard mark at
Sat Nov 15 15:05:21 PST 2008


I made sure all needed services are enabled on and set those as defaults
in TestEnv for the net/nio tests that need to contact hosts. Using
icedtea for remote_host and developer for far_host is somewhat
arbitrary, but at least these hosts are public.

I also made sure the test uses the far_host to do its tests
instead of a hardcoded one. And I changed the SocketChannel LocalAddress
and Shutdown tests to use the echo service. Since the echo service
already has to be enabled for other tests and I didn't want to open up a
telnet port.

2008-11-15  Mark Wielaard  <mark at>

    * patches/icedtea-testenv.patch: New patch.
    * (ICEDTEA_PATCHES): Add new patch.
    * HACKING: Document new patch.

All the tests using TestEnv in make check-jdk target now PASS for me.

Note that TestEnv hasn't been forward ported from jdk6 to jdk7. So I
haven't yet pushed this patch upstream to the jdk7 net/nio lists.


-------------- next part --------------
A non-text attachment was scrubbed...
Name: icedtea-testenv.patch
Type: text/x-patch
Size: 2901 bytes
Desc: not available
Url : 

More information about the jdk6-dev mailing list