Details
-
Bug
-
Status: Closed
-
Blocker
-
Resolution: Fixed
-
2.2.6
-
None
-
None
Description
2.2.6-snapshot builds fail on Java 5.
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
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
} catch (Exception e) { throw new IOException(e); }