Uploaded image for project: 'Harmony'
  1. Harmony
  2. HARMONY-2278

[classlib][luni]can not stop a jetty server after connected

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Cannot Reproduce
    • None
    • None
    • None

    Description

      The test below passed on RI but hang on Harmony

      public class TestStopJetty {
      public static void main(String[] args) throws Exception {
      Support_Jetty.startHttpServerWithDocRoot(8090, ".");
      try

      { URL url = new URL(Support_Resources .getResourceURL("/URLConnectionTest/Harmony.html")); URLConnection uc = (HttpURLConnection) url.openConnection(); }

      catch (Exception e)

      { // }

      Support_Jetty.stopServer();
      System.out.println("PASSED");
      }
      }

      Attachments

        Issue Links

          Activity

            People

              richard_liang Richard Liang
              tony.wu Tony Wu
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: