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

org.codehaus.xfire reference missed in Aegis AnnotationReader

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Critical
    • Resolution: Fixed
    • 2.3.1, 2.3.2
    • 2.4
    • Aegis Databinding
    • None
    • 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

            bmargulies Benson Margulies
            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