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
Reporter: Jamie goodyear
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