[ https://issues.apache.org/jira/browse/WW-5513?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17912170#comment-17912170 ]
Alireza Fattahi commented on WW-5513: ------------------------------------- The minimum version for struts 7.0 is `jdk 17`: [https://cwiki.apache.org/confluence/pages/viewpage.action?pageId=332499966#VersionNotes7.0.0-InternalChanges] and we are still at `1.8`. On the other hand I also think that `jdk 17` also have same performance issue as `SecurityManager` ( which seems to be the source of this problem) is deprecated in `jdk 17` too. Any way, this fix "https://issues.apache.org/jira/projects/WW/versions/12355542" will be a great help ! > Struts 6.4.0 performance issue in jdk 21 > ----------------------------------------- > > Key: WW-5513 > URL: https://issues.apache.org/jira/browse/WW-5513 > Project: Struts 2 > Issue Type: Improvement > Reporter: Alireza Fattahi > Priority: Major > Fix For: 6.8.0 > > > We face performance issues on `Struts 6.4.0` when switch from `jdk 1.8` to > `jdk 21`. It seems that the OGNL needs to be upgraded to new version and > remove the dependency to java `SecurityManager` . Please see: > [https://github.com/orphan-oss/ognl/issues/347] > [https://github.com/orphan-oss/ognl/milestone/2] > My question is that will be a `Struts 6.x.x` release which work with `OGNL > 3.5.x` and `JDK 21` ? This will be a great help as it will break down the > migration step in two distinct ones: > 1. First we will upgrade to `JDK 21` on `Struts 6` ( Make sure every thing > works with `JDK 21` ) > 2 Second we will upgrade to `Struts 7`. It seems (at least in our project) > migrating from `Struts 6` to `Struts 7` needs high accuracy. > > -- This message was sent by Atlassian Jira (v8.20.10#820010)