You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@servicemix.apache.org by "Geert Schuring (JIRA)" <ji...@apache.org> on 2010/08/18 10:10:47 UTC

[jira] Commented: (SMX4-579) extract common used classes for itests

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