cxf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sergey Beryozkin (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (CXF-7121) Need to log a warning when async method returns a non-void type
Date Wed, 02 Nov 2016 16:24:58 GMT

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

Sergey Beryozkin resolved CXF-7121.
-----------------------------------
       Resolution: Fixed
         Assignee: Sergey Beryozkin
    Fix Version/s: 3.0.12

Thanks for the patch

> Need to log a warning when async method returns a non-void type
> ---------------------------------------------------------------
>
>                 Key: CXF-7121
>                 URL: https://issues.apache.org/jira/browse/CXF-7121
>             Project: CXF
>          Issue Type: Bug
>          Components: JAX-RS
>    Affects Versions: 3.1.7, 3.1.8
>            Reporter: Andy McCright
>            Assignee: Sergey Beryozkin
>            Priority: Minor
>             Fix For: 3.2.0, 3.1.9, 3.0.12
>
>
> According to the javadoc for the @Suspended annotation ( http://docs.oracle.com/javaee/7/api/javax/ws/rs/container/Suspended.html
), the JAX-RS runtime should be logging a warning message when a user's resource contains
an async method (method with a @Suspended-annotated parameter) that returns a non-void type.
> Currently, CXF will log a FINE trace message, but it ought to be a WARNING so that it
highlighted in the log output under normal logging settings.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message