#160 Map method lookup

Dozer v5.0
closed-fixed
5
2009-02-05
2009-01-28
dmitry (lv)
No

Map get/set method lookup fails in case overloading is present.
Fails when working with this kind of Map.

public class Model {

public set(String id, Object value);
public set(String id, Object value, String someParam);

}

Should check for exactly two parameters where first is String or fail with *informative* exception not JDK Illegal Argument Count.
Warning! Behaviour is non-deterministic and exception occurrence is dependant on the order of Methods provided by JDK.

Discussion

  • dmitry (lv)

    dmitry (lv) - 2009-02-05

    fixed

     
  • dmitry (lv)

    dmitry (lv) - 2009-02-05
    • milestone: --> Dozer v5.0
    • assigned_to: nobody --> buzdin
    • status: open --> closed-fixed
     

Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks