Re: JDK 25 support

"Burton Rhodes" <[email protected]> Mon, 18 May 2026 11:24:11 +0000
Newsgroups gmane.comp.jakarta.struts.user
Message-ID <[email protected]>
I remember there being quite a few (harmless?) date or timezone warnings=20
when we tried to upgrade to JDK 25.  Is this still the case?


------ Original Message ------
From "Lukasz Lenart" <[email protected]>
To "Struts Users Mailing List" <[email protected]>
Cc "Krishnaraj Viswanathan" <[email protected]>
Date 5/18/2026 2:23:25 AM
Subject Re: JDK 25 support

>pon., 18 maj 2026 o 06:33 Krishnaraj Viswanathan via user
><[email protected]> napisa=C5=82(a):
>>
>>  Confidential - Oracle Restricted \Including External Recipients
>>
>>  I was checking if Struts would run with jdk25 and I see a possible issu=
e with the usage of SecurityManager.
>>
>>  getSecurityManager has been deprecated since Java24 and would return a=
 null and setSecurityManager is removed. I see both these used in the Struts =
code. The getSecurityManager seems to be used with jasper and some securit=
y check and I assume there would not be an issue if I am not using jasper.
>>
>>  The setSecurityManager seems to be used for some test classes(com.opens=
ymphony.xwork2.inject.ContainerImplTest) and probably not used in run time.
>>
>>  On the surface, I don't think there could be a runtime issue. Could any=
one tell if I am right in my assumptions? Of course, a more detailed check=
 would be required, but from an initial analysis perspective, am I in the ri=
ght path?
>
>We have a dedicated run on JDK25 and all looks good - Struts 7 should
>work on Java 25 without an issue
>https://github.com/apache/struts/actions/runs/25915386346/job/76170649948
>
>
>Regards
>=C5=81ukasz
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: [email protected]
>For additional commands, e-mail: [email protected]
>