Mateusz Gajewski created KUDU-3627:
--------------------------------------
Summary: Kudu broken on JDK 24
Key: KUDU-3627
URL: https://issues.apache.org/jira/browse/KUDU-3627
Project: Kudu
Issue Type: Bug
Components: client
Affects Versions: 1.17.0
Reporter: Mateusz Gajewski
On JDK 23:
{noformat}
-Djava.security.manager=allow{noformat}
is required to use secured Kudu client.
On JDK 24 security manager is removed which ends with:
{noformat}
Caused by: RuntimeException: UnsupportedOperationException: getSubject is not
supported
29566 at SecurityContext.<init>(SecurityContext.java:152)
29567 at AsyncKuduClient.<init>(AsyncKuduClient.java:431)
29568 at AsyncKuduClient.<init>(AsyncKuduClient.java:299){noformat}
Reflection-based
{noformat}
Subject.current(){noformat}
call is usually sufficient to make this work on 17+ and avoid 24 breakage.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)