Jetty
  1. Jetty
  2. JETTY-1278

Fix for contrib org.mortbay.jetty.j2se6.J2SE6ContextHandler

    Details

    • Type: Bug Bug
    • Status: Resolved Resolved
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 6.1.25
    • Fix Version/s: 6.1.26
    • Component/s: None
    • Labels:
      None
    • Environment:
      Windows 7 / Java 1.6 update 18
    • Patch Submitted:
      Yes
    • Number of attachments :
      1

      Description

      At line 117 within J2SE6ContextHandler.java there is a check to see if the local variable filters is non-null. However, on line 119 the subList() method is called with the following parameters subList(1,filters.size()). This does not account for filters of size() < 1. I have implemented the following change to line 117:

      if (filters != null && (filters.size() > 0))

      This has helped my environment with running this SPI module. This is my first time submitting a bug, so I hope I am somewhat close to the propper procedure.

        Activity

        Hide
        Greg Aluise added a comment -

        This is not what I would consider "Major." I appologize for having not changed the default of "Major" to "Minor."

        Show
        Greg Aluise added a comment - This is not what I would consider "Major." I appologize for having not changed the default of "Major" to "Minor."
        Hide
        Greg Wilkins added a comment -

        thanks

        Show
        Greg Wilkins added a comment - thanks

          People

          • Assignee:
            Greg Wilkins
            Reporter:
            Greg Aluise
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Time Tracking

              Estimated:
              Original Estimate - 2 hours
              2h
              Remaining:
              Remaining Estimate - 2 hours
              2h
              Logged:
              Time Spent - Not Specified
              Not Specified