Laszlo Hornyak created CXF-7670:
-----------------------------------

             Summary: synthetic methods: equal candidates for handling the 
current request
                 Key: CXF-7670
                 URL: https://issues.apache.org/jira/browse/CXF-7670
             Project: CXF
          Issue Type: Bug
          Components: JAX-RS
    Affects Versions: 3.2.2, 3.2.1
         Environment: I have noticed this with kotlin projects.
            Reporter: Laszlo Hornyak


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.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to