JavaPatternMatching/resources/AllgemeinTest/Box_Main.jav

14 lines
155 B
Java

class Box<A>{
A f;
}
class B { }
class Box_Main extends B {//Fehler Bugzilla Bug 230
m(b) {
b.f = new Box_Main();
b.f = new B();
}
}