[Mono-bugs] [Bug 636465] New: Monodroid generates incorrect java for subclasses of generic types.

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Wed Sep 1 17:50:25 EDT 2010


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

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


           Summary: Monodroid generates incorrect java for subclasses of
                    generic types.
    Classification: Mono
           Product: MonoDroid
           Version: SVN
          Platform: Other
        OS/Version: Other
            Status: NEW
          Severity: Normal
          Priority: P5 - None
         Component: Tools
        AssignedTo: mkestner at novell.com
        ReportedBy: mkestner at novell.com
         QAContact: mono-bugs at lists.ximian.com
          Found By: ---
           Blocker: ---


Alter the Hello.cs sample declaration of OrderAdapter to the following:

        class OrderAdapter : Android.Widget.ArrayAdapter<string> {

You'll get a failure in the javac invocation because the java stub produced
has:

        extends android/widget/ArrayAdapter`1

which is wrong because it is / separated and obviously the '1 is wrong.  I'm
guessing this is just the first of many challenges to correctly support managed
subclasses of ArrayAdapter and AdapterView.

-- 
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