[ 
https://issues.apache.org/jira/browse/JEXL-88?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12745729#action_12745729
 ] 

Rahul Akolkar commented on JEXL-88:
-----------------------------------

Lets spell things out fully (as the patch has done) -- so +1 to ...Constructor 
instead of ...Ctor.


> 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.

Reply via email to