forked from openjdk/jdk
-
Notifications
You must be signed in to change notification settings - Fork 1
Open
Labels
bugSomething isn't workingSomething isn't working
Description
Does anyone really require Serializable Permission's?
If anyone wants to serialize a Permission or PermissionCollection, it's easy enough to serialize a list of strings, then parse those strings back into Permission objects.
It has a significant negative impact on Permission implementation code, the Permission spec states Permission's should be immutable, but often they are lazily initialized, in ConcurrentPolicyFile, each Permission must be initialized following construction to ensure safe publication, however we have no control over safe publication when a Permission is used by client code in permission checks.
Line 125 in 8dcb3da
| * Ensure any action fields are populated before |
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working