[Mono-bugs] [Bug 633675] Compiling a ArrayList adapter produces incorrect intermediate java code
bugzilla_noreply at novell.com
bugzilla_noreply at novell.com
Fri Aug 27 12:25:59 EDT 2010
https://bugzilla.novell.com/show_bug.cgi?id=633675
https://bugzilla.novell.com/show_bug.cgi?id=633675#c3
Jonathan Pryor <jpryor at novell.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|REOPENED |NEEDINFO
InfoProvider| |pdkm2000 at hotmail.com
--- Comment #3 from Jonathan Pryor <jpryor at novell.com> 2010-08-27 16:25:59 UTC ---
wha?
Could you please copy or attach the ArrayAdapter C# subclass and the resulting
Java code?
For example, here is my test case:
class OrderAdapter : Android.Widget.ArrayAdapter {
private Java.Util.ArrayList<string> items;
public OrderAdapter (Context context, int textViewResourceId,
Java.Util.ArrayList<string> items)
: base (context, textViewResourceId, items)
{
this.items = items;
}
}
And here is the resulting Java code:
package mono.samples.hello;
public class OrderAdapter
extends android.widget.ArrayAdapter
{
static final String __md_methods;
static {
__md_methods =
"";
mono.android.Runtime.register (
"Mono.Samples.Hello.OrderAdapter, Hello, Version=1.0.0.0,
Culture=neutral, PublicKeyToken=null",
OrderAdapter.class, __md_methods);
}
public OrderAdapter (android.content.Context p0, int p1)
{
super (p0, p1);
}
public OrderAdapter (android.content.Context p0, int p1, int p2)
{
super (p0, p1, p2);
}
public OrderAdapter (android.content.Context p0, int p1,
java.lang.Object[] p2)
{
super (p0, p1, p2);
}
public OrderAdapter (android.content.Context p0, int p1, int p2,
java.lang.Object[] p3)
{
super (p0, p1, p2, p3);
}
public OrderAdapter (android.content.Context p0, int p1, java.util.List p2)
{
super (p0, p1, p2);
}
public OrderAdapter (android.content.Context p0, int p1, int p2,
java.util.List p3)
{
super (p0, p1, p2, p3);
}
}
Notice that there are no more 'import' statements in the above code (this was
the change in r7799), so I'm wondering how you're seeing the same problem.
--
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