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

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

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)