karaf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jamie goodyear (Updated) (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (KARAF-1279) IOExceptions used in an incompatible way with Java 5.
Date Thu, 22 Mar 2012 14:50:22 GMT

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

Jamie goodyear updated KARAF-1279:
----------------------------------

    Priority: Blocker  (was: Major)
    
> 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

        

Mime
View raw message