Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id 83853200CD9 for ; Thu, 3 Aug 2017 20:21:04 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 81F7A16C323; Thu, 3 Aug 2017 18:21:04 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id C84EC16C317 for ; Thu, 3 Aug 2017 20:21:03 +0200 (CEST) Received: (qmail 76001 invoked by uid 500); 3 Aug 2017 18:21:03 -0000 Mailing-List: contact issues-help@cxf.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@cxf.apache.org Delivered-To: mailing list issues@cxf.apache.org Received: (qmail 75989 invoked by uid 99); 3 Aug 2017 18:21:03 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd4-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 03 Aug 2017 18:21:02 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd4-us-west.apache.org (ASF Mail Server at spamd4-us-west.apache.org) with ESMTP id 98088C0286 for ; Thu, 3 Aug 2017 18:21:02 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd4-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -99.202 X-Spam-Level: X-Spam-Status: No, score=-99.202 tagged_above=-999 required=6.31 tests=[KAM_ASCII_DIVIDERS=0.8, RP_MATCHES_RCVD=-0.001, SPF_PASS=-0.001, USER_IN_WHITELIST=-100] autolearn=disabled Received: from mx1-lw-us.apache.org ([10.40.0.8]) by localhost (spamd4-us-west.apache.org [10.40.0.11]) (amavisd-new, port 10024) with ESMTP id jI0phGSGOWt3 for ; Thu, 3 Aug 2017 18:21:01 +0000 (UTC) Received: from mailrelay1-us-west.apache.org (mailrelay1-us-west.apache.org [209.188.14.139]) by mx1-lw-us.apache.org (ASF Mail Server at mx1-lw-us.apache.org) with ESMTP id 875895FD3D for ; Thu, 3 Aug 2017 18:21:01 +0000 (UTC) Received: from jira-lw-us.apache.org (unknown [207.244.88.139]) by mailrelay1-us-west.apache.org (ASF Mail Server at mailrelay1-us-west.apache.org) with ESMTP id 00C01E0DF9 for ; Thu, 3 Aug 2017 18:21:01 +0000 (UTC) Received: from jira-lw-us.apache.org (localhost [127.0.0.1]) by jira-lw-us.apache.org (ASF Mail Server at jira-lw-us.apache.org) with ESMTP id 4F5B124654 for ; Thu, 3 Aug 2017 18:21:00 +0000 (UTC) Date: Thu, 3 Aug 2017 18:21:00 +0000 (UTC) From: "Giacomo Boccardo (JIRA)" To: issues@cxf.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (CXF-7465) Auto-closeable resource FooWService.FooWSProxy has a member method close() that could throw InterruptedException MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Thu, 03 Aug 2017 18:21:04 -0000 [ https://issues.apache.org/jira/browse/CXF-7465?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16113228#comment-16113228 ] Giacomo Boccardo commented on CXF-7465: --------------------------------------- Doesn't the commit https://git1-us-west.apache.org/repos/asf?p=cxf.git;a=commit;h=1c7a34e3 belong to CXF? The file "service.vm" is in org.apache.cxf:cxf-tools-wsdlto-frontend-jaxws. > 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)