And it may not be fixed sooner.
It seems it is a big bug for arguments Object... args. And it may not be fixed sooner. Try to avoid it or use new Object[0] as arguments.
Regards,
Zhou Renjian
On Wed, May 16, 2012 at 4:46 AM, Udo wrote:Object... args
--To view this discussion on the web visit https://groups.google.com/d/msg/java2script/-/ZFA2gWa-lf4J.
You received this message because you are subscribed to the Google Groups "Java2Script" group.
To post to this group, send email to java2...@googlegroups.com.
To unsubscribe from this group, send email to java2script...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/java2script?hl=en.
I just made a quick fix (without too much tests).
To unsubscribe from this group, send email to java2script+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msg/java2script/-/JYw3-q3jKUYJ.
To unsubscribe from this group, send email to java2script...@googlegroups.com.
public class Foo {
public Object field = new Object();
public Foo() {
}
}
public class Bar extends Foo {
public Bar(Object... args) {
}
}
public class Moo_WithOwnField extends Bar {
public Object mooField = new Object();
public static Moo_WithOwnField createMoo() {
return new Moo_WithOwnField();
}
}
To view this discussion on the web visit https://groups.google.com/d/msg/java2script/-/yhacM4ZS9VYJ.
To unsubscribe from this group, send email to java2script...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msg/java2script/-/XlCiCmfhgW0J.
To unsubscribe from this group, send email to java2script...@googlegroups.com.
If it is not fixing the bug, I may miss something.
To view this discussion on the web visit https://groups.google.com/d/msg/java2script/-/Qd_zJjCaYa4J.
To unsubscribe from this group, send email to java2script...@googlegroups.com.