You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cxf.apache.org by "Francesco Chicchiriccò (JIRA)" <ji...@apache.org> on 2018/03/21 13:50:00 UTC

[jira] [Updated] (CXF-7670) synthetic methods: equal candidates for handling the current request

     [ https://issues.apache.org/jira/browse/CXF-7670?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Francesco Chicchiriccò updated CXF-7670:
----------------------------------------
    Fix Version/s: 3.2.4

> 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
>             Fix For: 3.2.4
>
>
> 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)