Loads a set of classes from a package (including ones which are NOT already in the classloader) and return the set that
A privileged action that will find relevant classes containing static final fields of type T and replace them with the object referenced by {{newDebug}}, and switch out the "args" field value with the value defined in {{newOptions}}.
This singleton object turns on "certpath" debug logging (originally based off the "java.security.debug" debug flag), and swaps out references to internal Sun JSSE classes to ensure that the new debug logging settings are honored, and that debugging can be turned on dynamically, even after static class block initialization has been completed.
This singleton object turns on "certpath" debug logging (originally based off the "java.security.debug" debug flag), and swaps out references to internal Sun JSSE classes to ensure that the new debug logging settings are honored, and that debugging can be turned on dynamically, even after static class block initialization has been completed. It does this using some {{sun.misc.Unsafe}} black magic.
Note that currently the only functionality is to turn debug output ON, with the assumption that all output will go to an appropriately configured logger that can ignore calls to it. There is no "off" method.
This fixes logging for the SSL Debug class.
This fixes logging for the SSL Debug class. It will worth for both Java 1.6 and Java 1.7 VMs.
A privileged action that will find relevant classes containing static final fields of type T and replace them with the object referenced by {{newDebug}}, and switch out the "args" field value with the value defined in {{newOptions}}. This is the only way to change JSSE debugging after the class loads.