ignore exception during type hierarchy scan
-------------------------------------------
Key: OWB-349
URL: https://issues.apache.org/jira/browse/OWB-349
Project: OpenWebBeans
Issue Type: Improvement
Components: Core
Affects Versions: 1.0.0
Environment: JDK 1.6.0_17
Reporter: Mario Ivankovits
Assignee: Gurkan Erdogdu
Attachments: invalid_superclass_type.patch
During classpath scan OWB crashes with an "MalformedParameterizedTypeException"
exception.
This exception happens in ClassUtils.setTypeHierarchy when trying to get the
GenericSuperclass.
It seems I can not fix this exception on my side as the code compiles and works
fine and the class I inherit from is a class of a used library.
I think the system should not fail anyway. A warning that a type needs to be
ignored should be enough ...
Attached is a patch which makes OWB correctly startup here by doing so.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
https://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira