test++, compilation fixed again

This commit is contained in:
Dmitry Jemerov
2009-09-10 20:48:45 +04:00
parent f9dbab8f6d
commit 58fee2c041
114 changed files with 17 additions and 12 deletions
@@ -0,0 +1,12 @@
public class A extends B {
private final MyJ myDelegate = new MyJ();
public J getMyDelegate() {
return myDelegate;
}
private class MyJ implements J {
public void run() {
}
}
}
@@ -0,0 +1,2 @@
interface J extends Runnable {
}
@@ -0,0 +1,6 @@
class Usage {
public static void main() {
A a = new A();
a.getMyDelegate().run();
}
}