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

Fix ordering comparisons in JaxrsInterceptorRegistry

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • 3.0.15.Final
    • 3.0.14.Final
    • None
    • None

      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.

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

              Created:
              Updated:
              Resolved: