Julian Hyde created CALCITE-6588:
------------------------------------
Summary: Support JDK 23 and Guava 33.3.0 in Avatica
Key: CALCITE-6588
URL: https://issues.apache.org/jira/browse/CALCITE-6588
Project: Calcite
Issue Type: Improvement
Components: avatica
Reporter: Julian Hyde
Fix For: avatica-1.26.0
Support JDK 23 and Guava 33.3.0-jre, which are the latest available versions.
The lower bound has not changed: Avatica supports JDK down to 8, and Guava down
to 19.0.
We will need to remove use of the {{getSubject}} method, which since JDK 23
throws:
{noformat}
Caused by: java.lang.UnsupportedOperationException: getSubject is supported
only if a security manager is allowed
at java.base/javax.security.auth.Subject.getSubject(Subject.java:347)
at
org.apache.calcite.avatica.server.SubjectPreservingPrivilegedThreadFactory.newThread(SubjectPreservingPrivilegedThreadFactory.java:43)
{noformat}
The method has been deprecated for a while, but the deprecation did not cause a
build failure, due to CALCITE-5136.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)