blob: a87cbccdbe2d856e51b44137c168cdecabceb035 [file] [log] [blame]
interface Bazz {
Bazz foo = <error descr="'Bazz.this' cannot be referenced from a static context">Bazz.this</error>;
static void foo1() {
Bazz foo = <error descr="'Bazz.this' cannot be referenced from a static context">Bazz.this</error>;
}
Runnable bar = new Runnable() {
@Override
public void run() {
Bazz f = <error descr="'Bazz.this' cannot be referenced from a static context">Bazz.this</error>;
}
};
default void foo() {
Bazz foo = Bazz.this;
Runnable r = new Runnable() {
@Override
public void run() {
Bazz f = Bazz.this;
}
};
}
}