공부
[Java] resolve a java.util.ArrayList$SubList notSerializable Exception
승가비
2021. 11. 24. 23:32
728x90
ArrayList<String> list = new ArrayList<String>(originalList.subList(0, 10));
resolve a java.util.ArrayList$SubList notSerializable Exception
I am using SubList function on an object of type List. The problem is that I am using RMI and because the java.util.ArrayList$SubList is implemented by a non-serializable class I got the Exception
stackoverflow.com
728x90