Details
-
Type:
Bug
-
Status:
Open
-
Priority:
3 Minor
-
Resolution: Unresolved
-
Affects Version/s: None
-
Fix Version/s: None
-
Component/s: DSO:L1
-
Labels:None
-
Severity:3 Feature failure (but usable), workaround available
-
Fix In Branch:trunk
-
Terracotta Target:Pending
Description
abstract class A extends HashSet;
class B extends A
If B is included for instrumentation, you'll be rewarded with a java.lang.InstantiationError
Some actual sample code that produces the issue:
private static abstract class AbstractSub extends HashSet { public abstract String abstractMethod(); }
private static class SubclassOfAbstractLogicalSubclass extends AbstractSub {
final String s = "sdkfj";
public String abstractMethod() {
return s;
}
}
Issue Links
- relates to
-
CDV-170
ArrayList subclass fails in GenericListTest
-
Best I can tell from the instrumentation, we're trying to new up an instance of the abstract super class to use as the delegate