You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@openwebbeans.apache.org by "Gurkan Erdogdu (JIRA)" <ji...@apache.org> on 2009/08/30 17:13:32 UTC
[jira] Closed: (OWB-128) OWB crashes while parsing methods with
generic parameters
[ https://issues.apache.org/jira/browse/OWB-128?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Gurkan Erdogdu closed OWB-128.
------------------------------
Resolution: Fixed
Fix Version/s: M4
> OWB crashes while parsing methods with generic parameters
> ---------------------------------------------------------
>
> Key: OWB-128
> URL: https://issues.apache.org/jira/browse/OWB-128
> Project: OpenWebBeans
> Issue Type: Bug
> Reporter: Mark Struberg
> Assignee: Mark Struberg
> Fix For: M4
>
>
> currently
> ClassUtil#getClazz returns null for a generic TypeVariable
> {noformat}
> public class MyClass<T extends MyOtherClass> {
> public void myFn(T myParam){
> }
> }
> {noformat}
> In this example myParam is a generic TypeVariable which will be erased in the b-code of the class file to whatever maximum upper bound has been defined.
> We either have to handle the compiled upper bound correctly or handle the return of a null value without crashing.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.