Vegard Nossum wrote: > @@ -0,0 +1,29 @@ > +package jvm; > + > +/** > + * @author Tomek Grabiec <tgrab...@gmail.com> > + * @author Vegard Nossum <vegard.nos...@gmail.com> > + */ > +public class MirandaInterfaceMethodTest extends TestCase {
AFAICT, the name "miranda" is for methods inserted by javac to work around bugs in old VMs. What we're doing here is just handling unimplemented interface methods of an abstract class correctly so I'm not sure we should be calling this "miranda". > + private static interface X { > + public void x(); > + }; > + > + private static abstract class A implements X { > + }; > + > + private static boolean ok = false; > + > + private static class B extends A { > + public void x() { > + ok = true; > + } > + }; > + > + public static void main(String[] args) { > + A a = new B(); > + a.x(); > + > + assertTrue(ok); > + } > +} > ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july _______________________________________________ Jatovm-devel mailing list Jatovm-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jatovm-devel