commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sebb (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (LANG-820) TypeUtils.normalizeUpperBounds broken?
Date Thu, 27 Sep 2012 13:04:07 GMT

     [ https://issues.apache.org/jira/browse/LANG-820?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Sebb resolved LANG-820.
-----------------------

    Resolution: Not A Problem

Thanks for the test case, added:

URL: http://svn.apache.org/viewvc?rev=1390984&view=rev
Log:
LANG-820 TypeUtils.normalizeUpperBounds broken?
Added test to show it works OK

Modified:
    commons/proper/lang/trunk/src/test/java/org/apache/commons/lang3/reflect/TypeUtilsTest.java

                
> TypeUtils.normalizeUpperBounds broken?
> --------------------------------------
>
>                 Key: LANG-820
>                 URL: https://issues.apache.org/jira/browse/LANG-820
>             Project: Commons Lang
>          Issue Type: Bug
>          Components: lang.reflect.*
>    Affects Versions: 3.0.1
>            Reporter: Shevek
>
> I looked at TypeUtils.normalizeUpperBounds, and I think (from code review) that:
> normalize(new Class[] { String.class, String.class }) == { String.class, String.class
}
> which is not normalized. Didn't prove it with junit.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message