commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Henri Biestro (JIRA)" <j...@apache.org>
Subject [jira] Updated: (JEXL-88) MethodKey.java - name clash getMostSpecific() with Java 1.5.0
Date Thu, 20 Aug 2009 21:41:14 GMT

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

Henri Biestro updated JEXL-88:
------------------------------

    Attachment: JEXL-88.patch

Patch renames methods as getMostSpecificConstructor & getMostSpecificMethod

> MethodKey.java - name clash getMostSpecific() with Java 1.5.0
> -------------------------------------------------------------
>
>                 Key: JEXL-88
>                 URL: https://issues.apache.org/jira/browse/JEXL-88
>             Project: Commons JEXL
>          Issue Type: Bug
>            Reporter: Sebb
>             Fix For: 2.0
>
>         Attachments: JEXL-88.patch
>
>
> I get the following error when trying to compile with Sun Java 1.5.0_20:
> src\main\java\org\apache\commons\jexl\util\introspection\MethodKey.java:[199,26] name
clash: getMostSpecific
> (java.util.List<java.lang.reflect.Constructor<?>>) and getMostSpecific(java.util.List<java.lang.reflect.Method>)
have the same erasure
> src\main\java\org\apache\commons\jexl\util\introspection\IntrospectorBase.java:[177,30]
getMostSpecific(java
> .util.List<java.lang.reflect.Method>) in org.apache.commons.jexl.util.introspection.MethodKey
cannot be applied to (java.util.List<java.lang.reflect.C
> onstructor<?>>)
> Compiles OK with Java 1.6.0_16 and Eclipse, but it ought to compile with Java 1.5.0 as
well

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message