ASF GitHub Bot commented on CXF-7670:

K0zka commented on issue #388: [CXF-7670] create a single ClassResourceInfo per 
class + annotated method
URL: https://github.com/apache/cxf/pull/388#issuecomment-372787363

This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:

> 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.1, 3.2.2
>         Environment: I have noticed this with kotlin projects.
>            Reporter: Laszlo Hornyak
>            Priority: Major
> 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

Reply via email to