[ 
https://issues.apache.org/activemq/browse/SM-1860?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=51931#action_51931
 ] 

Freeman Fang commented on SM-1860:
----------------------------------

Hi Mirko,
Apache Servicemix Kernel now move as Apache felix karaf.
Would you please raise jira here[1] and contribute patch against karaf code, 
you can download the code from [2], so that we can apply your patch there

[1]https://issues.apache.org/jira/secure/IssueNavigator.jspa?reset=true&mode=hide&pid=12310100&sorter/order=DESC&sorter/field=priority&resolution=-1&component=12312824
[2]https://svn.apache.org/repos/asf/felix/trunk/karaf

Thanks
Freeman

> SmxKernelPlatform$GuardClassLoader.loadClass() fails when class is in the 
> default package
> -----------------------------------------------------------------------------------------
>
>                 Key: SM-1860
>                 URL: https://issues.apache.org/activemq/browse/SM-1860
>             Project: ServiceMix
>          Issue Type: Bug
>    Affects Versions: 4.0
>         Environment: ServiceMix Kernel testing support
>            Reporter: Mirko Caserta
>             Fix For: 4.0
>
>         Attachments: smx4-kernel-testing-classloader.patch
>
>
> The folliwing line:
> pkg = name.substring(0, name.lastIndexOf('.'));
> fails when name represents a class in the default package and makes 
> String.substring() throw ad ArrayIndexOutOfBoundsException.
> Attached is a simple fix. I guess you can make it look better :)
> Patch is against current trunk.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to