Hi Daniel, seems prudent, especially if we are to writeReplace the underlying collection on serialization.
/Claes On 2019-08-15 17:10, Daniel Fuchs wrote:
Hi Claes, I wonder if initialize() should check the state of the readOnly() flag - and if that's true, call perms.setReadOnly() ? see SecureClassLoader::getProtectionDomain(..) best regards, -- daniel