harmony-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Mark Hindess" <mark.hind...@googlemail.com>
Subject [classlib] URLConnectionTest
Date Mon, 22 Feb 2010 12:41:57 GMT

I was looking at the URLConnectionTest recently for a JIRA and I was
wondering about this code:

    public void test_getOutputStream() throws Exception {
        int port = Support_Jetty.startDefaultServlet();
        try {
        } finally {

I'd have expected the finally clause to stop the servlet?  I'd probably
have changed this but, although Support_Jetty.startDefaultServlet() is
public, the equivalent stop method is private?  This seems a little odd.


View raw message