[Mono-bugs] [Bug 632631] New: HashMap<> key is Java.Lang.Object instead of K

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Wed Aug 18 19:28:20 EDT 2010


https://bugzilla.novell.com/show_bug.cgi?id=632631

https://bugzilla.novell.com/show_bug.cgi?id=632631#c0


           Summary: HashMap<> key is Java.Lang.Object instead of K
    Classification: Mono
           Product: MonoDroid
           Version: SVN
          Platform: Other
        OS/Version: Other
            Status: NEW
          Severity: Normal
          Priority: P5 - None
         Component: Class Libraries
        AssignedTo: mkestner at novell.com
        ReportedBy: jpobst at novell.com
         QAContact: mono-bugs at lists.ximian.com
          Found By: ---
           Blocker: ---


In the following code, the only overload of Get() is Get(Java.Lang.Object)
instead of Get (K).

Java.Util.HashMap<string, bool> entries = new Java.Util.HashMap<string, bool>
();
entries.Get ("hello");

Result:

The best overloaded method match for
'Java.Util.HashMap<string,bool>.Get(Java.Lang.Object)' has some invalid
arguments


Issue also exists for:
ContainsKey ()
ContainsValue ()
Remove ()

-- 
Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.


More information about the mono-bugs mailing list