You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cxf.apache.org by "ASF GitHub Bot (JIRA)" <ji...@apache.org> on 2016/11/01 22:57:59 UTC

[jira] [Commented] (CXF-7121) Need to log a warning when async method returns a non-void type

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

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

GitHub user andymc12 opened a pull request:

    https://github.com/apache/cxf/pull/189

    CXF-7121 - log a warning when an async method returns a non-void type

    

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/andymc12/cxf master

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/cxf/pull/189.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #189
    
----
commit 25aa09fe52180beb183bae3cdc18d7eb9f6807cb
Author: Andy McCright <j....@gmail.com>
Date:   2016-10-03T16:30:24Z

    Merge pull request #1 from apache/master
    
    updating to master

commit 6e5efebdff68804a4fc4faf39d4b116aa0444efe
Author: Andy McCright <j....@gmail.com>
Date:   2016-10-12T14:39:13Z

    Merge pull request #2 from apache/master
    
    update to latest

commit 8235e6a6963f34a08632241c0811d4bcd262a854
Author: andymc12 <j....@gmail.com>
Date:   2016-10-13T18:57:50Z

    Merge remote branch 'upstream/master'

commit 8c5db1267f4cdb30270145eb8cd348d7b61105f2
Author: andymc12 <j....@gmail.com>
Date:   2016-11-01T22:48:00Z

    CXF-7121 - log a warning when an async method returns a non-void type

commit 586e29d0659aac31329c00dcb5aa5f1b354a4020
Author: Andy McCright <j....@gmail.com>
Date:   2016-11-01T22:56:02Z

    Merge pull request #3 from andymc12/perf
    
    CXF-7121 - log a warning when an async method returns a non-void type

----


> 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
>            Priority: Minor
>             Fix For: 3.2.0, 3.1.9
>
>
> 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)