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


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