Details
-
Bug
-
Status: Closed
-
Critical
-
Resolution: Fixed
-
2.3.1, 2.3.2
-
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")