[ 
https://issues.apache.org/jira/browse/CXF-7670?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16390239#comment-16390239
 ] 

ASF GitHub Bot commented on CXF-7670:
-------------------------------------

K0zka opened a new pull request #388: [CXF-7670] create a single 
ClassResourceInfo per class + annotated method
URL: https://github.com/apache/cxf/pull/388
 
 
   In each resource class, an annotated method should be registered only once.

----------------------------------------------------------------
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:
us...@infra.apache.org


> 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
(v7.6.3#76005)

Reply via email to