public abstract class Person implements Persistable {}
public class AddressBook implements Persistable {
Person person; ... }
This kind of construction will cause a java/lang/InstantiationError: Cannot instantiate bad class. at runtime.
Added a testcase to replicate it under revision 496.
Committed revision 497.
Log in to post a comment.
Added a testcase to replicate it under revision 496.
Committed revision 497.