Uploaded image for project: 'CXF'
  1. CXF
  2. CXF-3302

org.codehaus.xfire reference missed in Aegis AnnotationReader

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Critical
    • Resolution: Fixed
    • Affects Version/s: 2.3.1, 2.3.2
    • Fix Version/s: 2.4
    • Component/s: Aegis Databinding
    • Labels:
      None
    • Estimated Complexity:
      Novice

      Description

      org.apache.cxf.aegis.type.java5.AnnotationReader contains string references to org.codehaus.xfire packaged classes. These references are used in Class.forName() which then generates a ClassNotFound error.

      Patch:

      Index: rt/databinding/aegis/src/main/java/org/apache/cxf/aegis/type/java5/AnnotationReader.java
      ===================================================================
      --- rt/databinding/aegis/src/main/java/org/apache/cxf/aegis/type/java5/AnnotationReader.java	(revision )
      +++ rt/databinding/aegis/src/main/java/org/apache/cxf/aegis/type/java5/AnnotationReader.java	(revision )
      @@ -43,17 +43,17 @@
                   load("javax.xml.bind.annotation.XmlTransient");
       
           private static final Class<? extends Annotation> XFIRE_IGNORE_PROPERTY =
      -            load("org.codehaus.xfire.aegis.type.java5.IgnoreProperty");
      +            load("org.apache.cxf.aegis.type.java5.IgnoreProperty");
           private static final Class<? extends Annotation> XFIRE_XML_ATTRIBUTE =
      -        load("org.codehaus.xfire.aegis.type.java5.XmlAttribute");
      +            load("org.apache.cxf.aegis.type.java5.XmlAttribute");
           private static final Class<? extends Annotation> XFIRE_XML_ELEMENT =
      -        load("org.codehaus.xfire.aegis.type.java5.XmlElement");
      +            load("org.apache.cxf.aegis.type.java5.XmlElement");
           private static final Class<? extends Annotation> XFIRE_XML_TYPE =
      -        load("org.codehaus.xfire.aegis.type.java5.XmlType");
      +            load("org.apache.cxf.aegis.type.java5.XmlType");
           private static final Class<? extends Annotation> XFIRE_XML_PARAM_TYPE =
      -        load("org.codehaus.xfire.aegis.type.java5.XmlParamType");
      +            load("org.apache.cxf.aegis.type.java5.XmlParamType");
           private static final Class<? extends Annotation> XFIRE_XML_RETURN_TYPE =
      -        load("org.codehaus.xfire.aegis.type.java5.XmlReturnType");
      +            load("org.apache.cxf.aegis.type.java5.XmlReturnType");
       
       
           @SuppressWarnings("unchecked")
      

        Attachments

          Activity

            People

            • Assignee:
              bmargulies Benson Margulies
              Reporter:
              carymapa Matt Cary
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Time Tracking

                Estimated:
                Original Estimate - 10m
                10m
                Remaining:
                Remaining Estimate - 10m
                10m
                Logged:
                Time Spent - Not Specified
                Not Specified