stoty commented on code in PR #251:
URL: https://github.com/apache/calcite-avatica/pull/251#discussion_r1930023609
##########
server/src/test/java/org/apache/calcite/avatica/SpnegoTestUtil.java:
##########
@@ -138,8 +138,9 @@ public static void refreshJaasConfiguration() {
// Configuration keeps a static instance of Configuration that it will
return once it
// has been initialized. We need to nuke that static instance to make sure
our
// serverSpnegoConfigFile gets read.
- AccessController.doPrivileged(new PrivilegedAction<Configuration>() {
- public Configuration run() {
+ SecurityUtils.doPrivileged(new PrivilegedAction<Configuration>() {
+ @Override
+ public Configuration run() {
return Configuration.getConfiguration();
}
}).refresh();
Review Comment:
Unhidden by accident
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]