Return-Path: X-Original-To: apmail-karaf-issues-archive@minotaur.apache.org Delivered-To: apmail-karaf-issues-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 7D1B190DF for ; Thu, 22 Mar 2012 15:40:48 +0000 (UTC) Received: (qmail 66967 invoked by uid 500); 22 Mar 2012 15:40:47 -0000 Delivered-To: apmail-karaf-issues-archive@karaf.apache.org Received: (qmail 66943 invoked by uid 500); 22 Mar 2012 15:40:47 -0000 Mailing-List: contact issues-help@karaf.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@karaf.apache.org Delivered-To: mailing list issues@karaf.apache.org Received: (qmail 66901 invoked by uid 99); 22 Mar 2012 15:40:47 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 22 Mar 2012 15:40:47 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED,T_RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [140.211.11.116] (HELO hel.zones.apache.org) (140.211.11.116) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 22 Mar 2012 15:40:44 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id 3557C3409FE for ; Thu, 22 Mar 2012 15:40:23 +0000 (UTC) Date: Thu, 22 Mar 2012 15:40:23 +0000 (UTC) From: "Jamie goodyear (Resolved) (JIRA)" To: issues@karaf.apache.org Message-ID: <1701763289.2683.1332430823230.JavaMail.tomcat@hel.zones.apache.org> In-Reply-To: <2106829969.2402.1332427702948.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Resolved] (KARAF-1279) IOExceptions used in an incompatible way with Java 5. MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/KARAF-1279?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Jamie goodyear resolved KARAF-1279. ----------------------------------- Resolution: Fixed > IOExceptions used in an incompatible way with Java 5. > ----------------------------------------------------- > > Key: KARAF-1279 > URL: https://issues.apache.org/jira/browse/KARAF-1279 > Project: Karaf > Issue Type: Bug > Affects Versions: 2.2.6 > Reporter: Jamie goodyear > Assignee: Jamie goodyear > Priority: Blocker > Fix For: 2.2.6 > > > 2.2.6-snapshot builds fail on Java 5. > {code} > INFO] Compilation failure > /x1/asf/karaf-2.2.x/shell/config/src/main/java/org/apache/karaf/shell/config/ConfigCommandSupport.java:[165,22] cannot find symbol > symbol : constructor IOException(java.lang.Exception) > location: class java.io.IOException > {code} > The below code snippet will not work with Java 5 IOException constructor: http://docs.oracle.com/javase/1.5.0/docs/api/java/io/IOException.html > {code} > } catch (Exception e) { > throw new IOException(e); > } > {code} -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira