Skip to content

Comment on JVM Anatomy Quarksparent

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.

AboutSource Built by g1lg1l

Hackerly is an independent reader for Hacker News, built on the public HN API. Not affiliated with Y Combinator.