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

Fix ordering comparisons in JaxrsInterceptorRegistry

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Major
    • 3.0.15.Final
    • 3.0.14.Final
    • None
    • 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.

      Attachments

        Issue Links

          Activity

            People

              rsigal@redhat.com Ronald Sigal
              rsigal@redhat.com Ronald Sigal
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: