[
https://issues.apache.org/activemq/browse/SM-1860?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=51932#action_51932
]
Mirko Caserta commented on SM-1860:
-----------------------------------
I can't seem to find the equivalent class in the karaf svn repository. I'm
browsing the felix components in svn but still can't find the right place.
Can you please point me to the right direction? Thank you.
Mirko
> 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.