Description
Calcite uses java.security APIs that have been marked for removal.
Let's minimize the usages of java.security for now.
/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
What do we do with that?
Attachments
Issue Links
- is related to
-
CALCITE-5298 CalciteSystemProperty calcite.test.dataset path check fails under Java Security Manager
- Closed
- relates to
-
CALCITE-4829 Bump Gradle to 7.2 and test with Java 17 at GitHub Actions
- Closed