-
-
Notifications
You must be signed in to change notification settings - Fork 87
Output in System.err 'Two methods with same method #35
Copy link
Copy link
Closed
Description
Here is a repro:
@Test
public void test() throws Exception {
String expressiosn = "list.isEmpty()";
Object expr = Ognl.parseExpression(expressiosn);
OgnlContext ctx = new OgnlContext();
List<String> list = Collections.singletonList("string");
ctx.put("list", list);
Object value = Ognl.getValue(expr, ctx);
Assert.assertFalse((Boolean)value);
}The above test passes, but the following message is output in System.err.
Two methods with same method signature but not providing classes assignable? "public abstract boolean java.util.List.isEmpty()" and "public boolean java.util.AbstractCollection.isEmpty()" please report!
This was reported on MyBatis tracker a while ago.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels