Uploaded image for project: 'Application Server 7'
  1. Application Server 7
  2. AS7-3618

Testsuite org.jboss.staxmapper.XMLExtendedStreamWriterFactory causes problems when using signed/sealed jars

    XMLWordPrintable

Details

    • Enhancement
    • Resolution: Done
    • Major
    • 7.1.0.Final
    • None
    • Test Suite
    • None

    Description

      The smoke tests contain a class called org.jboss.staxmapper.XMLExtendedStreamWriterFactory. When using signed AS jars, this causes a security exception in any tests which use this class because the package name is the same as the classes in org.jboss:staxmapper jar.

      class "org.jboss.staxmapper.XMLExtendedStreamWriterFactory"'s signer information does not match signer information of other classes in the same package
      

      Possible solutions are to:
      1. Change the package name of this class. But this might be difficult because it current accesses a package protected staxmapper class.
      2. Add this class to the staxmapper jar, or a test jar in the staxmapper build.
      3. Sign the testsuite classes with the same key as the staxmapper jar.

      Attachments

        Activity

          People

            pgier@redhat.com Paul Gier (Inactive)
            pgier@redhat.com Paul Gier (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: