Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
None
-
None
Description
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