Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-6424196

PIT build85 mustang:two jhttp related tests fail: HttpServer.create()& HttpContext.getFilters()

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P3 P3
    • 6
    • 6
    • core-libs
    • b86
    • generic
    • generic
    • Verified

      Mustang: PIT build85.
      com.sun.net.httpserver.*
      HttpServer.create()
      & HttpContext.getFilters()
       
      The following two sqe networking tests are failing
      on all the platforms: solaris,win,linux and linxuamd64.

      HttpServer11001.java
      HttpServer20001.java
         
      Both tests source code is attached and also the output result is also attached.

      Tests output for both the tests executed on
      solaris-sparc machine jsn-sb2500-3.sfbay.sun.com is
      attached Output.txt.

      My observation:
       1. In HttpServer11001.java
                      HttpServer.create() is throwing
      the NullPointerException now. ( earlier builds itwas not.)
                         ^^^^^^^^^^^^^^^^^^^
      2. In HttpServer20001.java
               .........
                  ctx.getFilters().add (new TestFilter01());
                  ctx.getFilters().add (new TestFilter02());
                  ctx.getFilters().add (new TestFilter03());
                  ctx.getFilters().add (new TestFilter04());

               .....
      Handler20001 implements HttpHandler
                         testContext.getFilters().size();
                        ^^^^^^^^^^^^^^^^^^^^^^^^^^^
               is returning now 5 size. ( till now itwas returning 4 value)
      As mentioned by developer, I have submitted a new
      CR 6425201 for test failure 2. So kindly ignore the second part
      in this.
      shantaram

            michaelm Michael McMahon
            spandeorcl Shantaram Pande (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: