You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@calcite.apache.org by "Vladimir Sitnikov (Jira)" <ji...@apache.org> on 2021/10/04 07:36:00 UTC
[jira] [Created] (CALCITE-4823) JEP 411: AccessControlException,
AccessController in java.security has been deprecated and marked for
removal
Vladimir Sitnikov created CALCITE-4823:
------------------------------------------
Summary: JEP 411: AccessControlException, AccessController in java.security has been deprecated and marked for removal
Key: CALCITE-4823
URL: https://issues.apache.org/jira/browse/CALCITE-4823
Project: Calcite
Issue Type: Improvement
Components: core
Reporter: Vladimir Sitnikov
Calcite uses java.security APIs that have been marked for removal.
Let's minimize the usages of java.security for now.
{noformat}
/Users/runner/work/calcite/calcite/core/src/main/java/org/apache/calcite/util/SaffronProperties.java:28: warning: [removal] AccessControlException in java.security has been deprecated and marked for removal
import java.security.AccessControlException;
^
/Users/runner/work/calcite/calcite/core/src/main/java/org/apache/calcite/config/CalciteSystemProperty.java:27: warning: [removal] AccessControlException in java.security has been deprecated and marked for removal
import java.security.AccessControlException;
^
error: warnings found and -Werror specified
/Users/runner/work/calcite/calcite/core/src/main/java/org/apache/calcite/runtime/Resources.java:991: warning: [removal] AccessController in java.security has been deprecated and marked for removal
return java.security.AccessController.doPrivileged(
^
/Users/runner/work/calcite/calcite/core/src/main/java/org/apache/calcite/util/SaffronProperties.java:137: warning: [removal] AccessControlException in java.security has been deprecated and marked for removal
} catch (AccessControlException e) {
^
/Users/runner/work/calcite/calcite/core/src/main/java/org/apache/calcite/config/CalciteSystemProperty.java:439: warning: [removal] AccessControlException in java.security has been deprecated and marked for removal
} catch (AccessControlException e) {
^
Note: Some input files use unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
1 error
5 warnings
:core:compileJava failure marker
{noformat}
What do we do with that?
--
This message was sent by Atlassian Jira
(v8.3.4#803005)