You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@calcite.apache.org by "Vladimir Sitnikov (Jira)" <ji...@apache.org> on 2021/10/05 09:49:00 UTC

[jira] [Updated] (CALCITE-4823) JEP 411: AccessControlException, AccessController in java.security has been deprecated and marked for removal

     [ https://issues.apache.org/jira/browse/CALCITE-4823?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Vladimir Sitnikov updated CALCITE-4823:
---------------------------------------
    Fix Version/s: 1.28.0

> 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
>            Priority: Major
>             Fix For: 1.28.0
>
>
> 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)