Uploaded image for project: 'CXF'
  1. CXF
  2. CXF-7670

synthetic methods: equal candidates for handling the current request

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 3.2.1, 3.2.2
    • 3.2.4
    • JAX-RS
    • None
    • I have noticed this with kotlin projects.

    • Novice

    Description

      When discovering JAX-RS annotations, CXF does not filter out synthetic methods. If the compiler have created any synthetic methods out of the annotated methods, it will store them as JAX-RS resource methods with actually the same annotated method.

      After startup, CXF will log each invocation on the duplicated resource methods with a warning, which reduces performance, and generates quite some log.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              kocka Laszlo Hornyak
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: