CDV ❯ subclass of subclass of logical collection produces UnsupportedOperationException
-
Bug
-
Status: Closed
-
2 Major
-
Resolution: Fixed
-
DSO:L1
-
-
asi
-
Reporter: teck
-
March 05, 2007
-
0
-
Watchers: 0
-
July 27, 2012
-
March 07, 2007
Attachments
Description
adding in the following two classes to GenericListTest and try to use a shared SubSubList instance
private static class SubList extends ArrayList { // }
private static class SubSubList extends SubList { // }
java.lang.UnsupportedOperationException at com.tc.object.TCObjectPhysical.logicalInvoke(TCObjectPhysical.java:116) at com.tc.object.bytecode.ManagerImpl.logicalInvoke(ManagerImpl.java:205) at com.tc.object.bytecode.ManagerUtil.logicalInvoke(ManagerUtil.java:131) at java.util.ArrayList.add(ArrayList.java) at com.tctest.GenericListTestApp.testAdd(GenericListTestApp.java:337) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:585) at com.tctest.GenericTestApp.runMethod(GenericTestApp.java:152) at com.tctest.GenericTestApp.runOp(GenericTestApp.java:143) at com.tctest.GenericTestApp.doMutate(GenericTestApp.java:112)
Comments
Fiona OShea 2007-03-05
Antonio Si 2007-03-07
Add a test case in GenericListTest.
how hard is this to fix?