[ 
https://issues.apache.org/activemq/browse/SMX4-579?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=61248#action_61248
 ] 

Geert Schuring commented on SMX4-579:
-------------------------------------

This is why every bundle should have package-import statements covering its own 
packages. That way, if 2 bundles offer the same code (which happens frequently) 
the OSGi classloaders make sure that only 1 version is used throughout the JVM.

> extract common used classes for itests
> --------------------------------------
>
>                 Key: SMX4-579
>                 URL: https://issues.apache.org/activemq/browse/SMX4-579
>             Project: ServiceMix 4
>          Issue Type: Improvement
>            Reporter: Freeman Fang
>            Assignee: Freeman Fang
>             Fix For: 4.4.0
>
>
> this avoid put same classes in different bundles, which can cause 
> ClassCastException

-- 
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