Uploaded image for project: 'ServiceMix 4'
  1. ServiceMix 4
  2. SMX4-821

wsdl4j bundle shouldn't import javax.wsdl as itself export it

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 4.4.0
    • Component/s: Bundles
    • Labels:
      None

      Activity

      Show
      ffang Freeman Fang added a comment - commit fix http://svn.apache.org/viewvc?rev=1101308&view=rev
      Hide
      gertvanthienen Gert Vanthienen added a comment -

      Wouldn't this be an example where you usually want to keep the imported package around, to ensure you can have multiple implementations of the same API (javax.wsdl) in the same container?

      Show
      gertvanthienen Gert Vanthienen added a comment - Wouldn't this be an example where you usually want to keep the imported package around, to ensure you can have multiple implementations of the same API ( javax.wsdl ) in the same container?
      Hide
      ffang Freeman Fang added a comment -

      Hi Gert,

      No, as wsdl4j bundle itself export package like javax.wsdl*, the general rule is that a bundle shouldn't import package which it export, otherwise it would be a problem when there're more than one wsdl4j bundles in OSGi container, please see the related discussion here[1]

      [1]http://servicemix.396122.n5.nabble.com/OSGi-bundles-and-versioning-td446463.html

      Best Regards
      Freeman

      Show
      ffang Freeman Fang added a comment - Hi Gert, No, as wsdl4j bundle itself export package like javax.wsdl*, the general rule is that a bundle shouldn't import package which it export, otherwise it would be a problem when there're more than one wsdl4j bundles in OSGi container, please see the related discussion here [1] [1] http://servicemix.396122.n5.nabble.com/OSGi-bundles-and-versioning-td446463.html Best Regards Freeman

        People

        • Assignee:
          ffang Freeman Fang
          Reporter:
          ffang Freeman Fang
        • Votes:
          0 Vote for this issue
          Watchers:
          0 Start watching this issue

          Dates

          • Created:
            Updated:
            Resolved:

            Development