dr0ps commented on PR #587: URL: https://github.com/apache/wicket/pull/587#issuecomment-1523860983
It would be possible to prevent the list corruption by switching it to a synchronized collection. However, writeObject does first get the list size, then it for-loops over the list (btw an expensive operation on a LinkedList) and it individually removes the pages. It is not hard to imagine that the pages list might end up in all kinds of states if concurrent changes can occur. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
