티스토리 뷰

728x90
ArrayList<String> list = new ArrayList<String>(originalList.subList(0, 10));

https://stackoverflow.com/questions/26568205/resolve-a-java-util-arraylistsublist-notserializable-exception

 

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
댓글