Is there a way to configure the JVM to block instances of a class being created? I’d like to do this to ensure no service running in the JVM is allowed to create instances of a class that has been identified as a security risk in a CVE, lets call that class BadClass. NOTE: I’m looking for a general solution,