Comment on JVM Anatomy QuarksparentComments−blibble1ythey certainly were a security constraint back in the day before Java gave up on trying to use the type system for securitye.g. SecurityManager for applets will not let you setAccessible(true) on private fields of system classes−rusk1yYes but that’s the security manager doing it not the field modifiers. It’s just reusing the modifiers as security metadata.
Comments
they certainly were a security constraint back in the day before Java gave up on trying to use the type system for security
e.g. SecurityManager for applets will not let you setAccessible(true) on private fields of system classes
Yes but that’s the security manager doing it not the field modifiers. It’s just reusing the modifiers as security metadata.