Uploaded image for project: 'RESTEasy'
  1. RESTEasy
  2. RESTEASY-1294

Fix ordering comparisons in JaxrsInterceptorRegistry

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Major
    • Resolution: Done
    • Affects Version/s: 3.0.14.Final
    • Fix Version/s: 3.0.15.Final
    • Component/s: None
    • Labels:
      None

      Description

      The comparisons

        return match.order - match2.order;
      

      in JaxrsInterceptorRegistry.AscendingPrecedenceComparator and

        return match2.order - match.order;
      

      in in JaxrsInterceptorRegistry.DescendingPrecedenceComparator fail for Integer.MIN_VALUE and Integer.MAX_VALUE because of overflow.

        Gliffy Diagrams

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  ron_sigal Ronald Sigal
                  Reporter:
                  ron_sigal Ronald Sigal
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  3 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved: