6 ms·
This is exactly right. Back before Java 1.0 was released I was working on a capability based security model for it. The class loader would hand out what was ess
by ChuckMcM 11y ago
This is exactly right. Back before Java 1.0 was released I was working on a capability based security model for it. The class loader would hand out what was essentially a virtual method of the instantiated class based on the capability's allowed. Revoking capability consisted of updating the template which would fail to resolve the revoked methods on the next call but leave the ones which were still on the stack.
- EGreg 11y agoSo there is still the indirection of the function call, but it's probably the right approach.