You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@struts.apache.org by "Lukasz Lenart (Jira)" <ji...@apache.org> on 2025/01/08 10:24:00 UTC

[jira] [Commented] (WW-5513) Struts 6.4.0 performance issue in jdk 21

    [ https://issues.apache.org/jira/browse/WW-5513?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17911010#comment-17911010 ] 

Lukasz Lenart commented on WW-5513:
-----------------------------------

There is one problem with releasing a new 6.x version with the latest OGNL version. The Struts OVal plugin depends on the older version of OGNL and it isn't possible to upgrade it. I can remove the plugin and then perform the upgrade to OGNL 3.5.x

> 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)