1635N/A// A simple class to extend an abstract class and get loaded with different
1635N/A// loaders. This class is loaded via LOADER2. A similar named class will
1635N/A// be loaded via LOADER1.
1635N/Apublic class many_loader extends bug_21227 {
1635N/A final Object _ref_to_be_p0wned;
1635N/A
1635N/A many_loader() {
1635N/A _ref_to_be_p0wned = bug_21227._p0wnee;
1635N/A System.out.println("Gonna hack this thing: " + _ref_to_be_p0wned.toString() );
1635N/A }
1635N/A
1635N/A // I need to compile (hence call in a loop) a function which returns a value
1635N/A // loaded from classloader other than the system one. The point of this
1635N/A // call is to give me an abstract 'hook' into a function loaded with a
1635N/A // foreign loader.
1635N/A public many_loader[] make( IFace iface ) {
1635N/A throw new Error("do not call me");
1635N/A }
1635N/A}