Uploaded image for project: 'RESTEasy'
  1. RESTEasy
  2. RESTEASY-844

resteasy-jackson-provider in resteasy jboss module exports jackson

    XMLWordPrintable

Details

    • Bug
    • Resolution: Won't Do
    • Major
    • None
    • 2.3.5.Final
    • None
    • None

    Description

      The file resteasy-jackson-provider/main/module.xml for RestEasy 2.3.2 (which is bundled with JBossAS 7), contains the following lines:

      <module name="org.codehaus.jackson.jackson-core-asl"/>
      <module name="org.codehaus.jackson.jackson-mapper-asl"/>

      While the same file for RestEasy 2.3.5 (in the JBoss modules) contains:

      <module name="org.codehaus.jackson.jackson-core-asl" export="true"/>
      <module name="org.codehaus.jackson.jackson-mapper-asl" export="true"/>

      This causes applications which bundle e.g. joda-time to see two distinct DateTime classes, and in consequence to get CCE.

      I tried removing the exports from the module.xml file, and things seem to work fine.

      Attachments

        Activity

          People

            patriot1burke@gmail.com Bill Burke (Inactive)
            adamw_jira Adam Warski (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: