Uploaded image for project: 'Woden'
  1. Woden
  2. WODEN-182

Private QName class causes classloading issues

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • M7b
    • M9
    • Parser
    • None

    Description

      I'm using Woden in an OSGi environment with the Sun Java 5 SDK. In this case the SDK contains a version of QName in the same package as that used privately be Woden.

      The duplicate QName class causes classloading issues as certain OSGi bundles have access to QName from the SDK and certain bundles have access to QName from Woden. (This is due to the classloading nature of OSGi.) I think it's best if Woden remove this private version of QName. If it is required for older Java runtimes and is not available from another source we can create a separate QName jar that can be optionally added for older runtimes and does not need to be present for Java 5 and later runtimes.

      Attachments

        1. qnamebuild.patch
          6 kB
          Lawrence Mandel

        Issue Links

          Activity

            People

              jkaputin John Alan William Kaputin
              lmandel Lawrence Mandel
              Votes:
              1 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: