You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-issues@hadoop.apache.org by "Istvan Toth (Jira)" <ji...@apache.org> on 2025/03/07 05:57:00 UTC

[jira] [Updated] (HADOOP-19486) Fully Support Java 23 and 24

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

Istvan Toth updated HADOOP-19486:
---------------------------------
    Summary: Fully Support Java 23 and 24  (was: Fully Support Java 24)

> Fully Support Java 23 and 24
> ----------------------------
>
>                 Key: HADOOP-19486
>                 URL: https://issues.apache.org/jira/browse/HADOOP-19486
>             Project: Hadoop Common
>          Issue Type: Improvement
>            Reporter: Istvan Toth
>            Priority: Major
>
> Hadoop trunk today mostly supports JDK17, but doesn't work at all on JDK23. (and conversely on JDK24 to be released in less than two weeks)
> While there are many smaller issues, the major breaking change is the SecurityManager removal (JEP411/486), and its many consequences.
> The obvious change is that Subjec.doAs() and Subject.current() no longer work by default, and the replacement APIs must be used.
> The more insidius change is that when SecurityManager is disabled then JDK22+ does not propapage the Subject to new Threads, which is something that Hadoop absolutely relies on.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: common-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: common-issues-help@hadoop.apache.org