WORK AROUND
If user wanna 'falure' debug message, they have to enable security manager. As a workaround, "-Djava.security.manager -Djava.security.debug=access,failure" is the expected definitions.
|
|
|
WORK AROUND
Actually the customer states, they used "access,failure" when they ran into the NPE.
|
|
|
EVALUATION
AccessControlContext.checkPermission(Permission) does not check the 'debug' instance.
|
|
|
WORK AROUND
Just like the "stack", "domain" debug options, the "failure" only works as a sub option of "access". If one wanna enable "failure" option, please use -Djava.security.debug=access,failure.
|
|
|
WORK AROUND
The only workaround is to NOT set -Djava.security.debug=failure, which is really not a workaround and is considered a very severe restriction considering the limited debug logging facility available in JVM.
|
|
|
|