[
https://issues.apache.org/activemq/browse/SM-1860?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Mirko Caserta updated SM-1860:
------------------------------
Attachment: smx4-kernel-testing-classloader.patch
patch against trunk
> 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.