cxf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Daniel Kulp (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CXF-7465) Auto-closeable resource FooWService.FooWSProxy has a member method close() that could throw InterruptedException
Date Thu, 03 Aug 2017 18:27:01 GMT

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

Daniel Kulp commented on CXF-7465:
----------------------------------

Oh.. not the default frontend.   Forgot about that as very few people use it.  In any case,
I don't think there is anything we can do here.   IMO, the warning is bogus. close() must
throw exception. 

> Auto-closeable resource FooWService.FooWSProxy has a member method close() that could
throw InterruptedException
> ----------------------------------------------------------------------------------------------------------------
>
>                 Key: CXF-7465
>                 URL: https://issues.apache.org/jira/browse/CXF-7465
>             Project: CXF
>          Issue Type: Bug
>    Affects Versions: 3.1.12
>            Reporter: Giacomo Boccardo
>            Priority: Minor
>
> The following warning is shown during the compilation:
> {noformat}
> FooWSService.java:[67,12] auto-closeable resource FooWSService.FooWSProxy has a member
method close() that could throw InterruptedException
> {noformat}
> The relative code is:
> {noformat}
>     /**
>      * Proxy interface the extends FooWS to also provide useful methods
>      * without having to cast to the appropriate interface. 
>      */
>     public interface FooWSProxy extends FooWS, AutoCloseable, BindingProvider, Client
{
>     }
> {noformat}
> This issue has already been discussed at https://bugs.openjdk.java.net/browse/JDK-7027157
.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Mime
View raw message