[
https://issues.apache.org/jira/browse/WW-5576?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Lukasz Lenart resolved WW-5576.
-------------------------------
Resolution: Fixed
> In Java 25: the use of the three-letter time zone IDs is deprecated
> -------------------------------------------------------------------
>
> Key: WW-5576
> URL: https://issues.apache.org/jira/browse/WW-5576
> Project: Struts 2
> Issue Type: Improvement
> Components: Core
> Affects Versions: 7.0.3
> Reporter: Markus Fischer
> Assignee: Lukasz Lenart
> Priority: Trivial
> Fix For: 7.2.0
>
> Time Spent: 1h 10m
> Remaining Estimate: 0h
>
> In Java 25 the use of the three-letter time zone IDs is discouraged, probably
> since Java 8. Java 25 now prints explicit warnings like:
>
> {code:java}
> WARNING: Use of the three-letter time zone ID "ACT" is deprecated and it
> will be removed in a future release{code}
>
> See also [https://bugs.java.com/bugdatabase/view_bug?bug_id=8342550]
> This may be due to the use of code like
>
> {code:java}
> private static final TimeZone GMT = TimeZone.getTimeZone("GMT");{code}
>
> We should use the full IANA IDs like "Europe/London".
--
This message was sent by Atlassian Jira
(v8.20.10#820010)