karaf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Freeman Fang (JIRA)" <j...@apache.org>
Subject [jira] [Work started] (KARAF-3582) command extension: if one class failed inspection is stopped
Date Tue, 12 May 2015 04:40:59 GMT

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

Work on KARAF-3582 started by Freeman Fang.
-------------------------------------------
> command extension: if one class failed inspection is stopped
> ------------------------------------------------------------
>
>                 Key: KARAF-3582
>                 URL: https://issues.apache.org/jira/browse/KARAF-3582
>             Project: Karaf
>          Issue Type: Bug
>          Components: karaf-shell
>    Affects Versions: 4.0.0.M2
>            Reporter: Markus Rathgeb
>            Assignee: Freeman Fang
>
> Using a bundle with classes that could not be processed (e.g. a class could not be inspected
cuased by a NoClassDefFound exception), will result in not loading other classes with command
extensions.
> We should skip classes that thrown an error, but proceed the other ones.
> For example is a DS is optional (using optional requirements) and that one could not
be loaded, we should be able to use command extensions that could be loaded.
> Two possible fixes:
> - handle ClassNotFoundException and NoClassDefFoundError only: https://github.com/maggu2810/karaf/commit/c95b90f2d1a8b09b2f3e048943bd93ea0e7b2077
> - catch all exception for the current class: https://github.com/maggu2810/karaf/commit/4de92e86316e577af48b8ebcfd1ac8fb8195a04a



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message