[ 
https://issues.apache.org/jira/browse/WW-5339?focusedWorklogId=893937&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-893937
 ]

ASF GitHub Bot logged work on WW-5339:
--------------------------------------

                Author: ASF GitHub Bot
            Created on: 05/Dec/23 02:09
            Start Date: 05/Dec/23 02:09
    Worklog Time Spent: 10m 
      Work Description: kusalk commented on code in PR #806:
URL: https://github.com/apache/struts/pull/806#discussion_r1414755543


##########
core/src/main/java/com/opensymphony/xwork2/ognl/OgnlUtil.java:
##########
@@ -856,10 +855,12 @@ protected Map<String, Object> createDefaultContext(Object 
root) {
         return createDefaultContext(root, null);
     }
 
-    protected Map<String, Object> createDefaultContext(Object root, 
ClassResolver classResolver) {
-        ClassResolver resolver = classResolver;
+    protected Map<String, Object> createDefaultContext(Object root, 
ClassResolver resolver) {
         if (resolver == null) {
-            resolver = container.getInstance(CompoundRootAccessor.class);

Review Comment:
   This didn't work :(





Issue Time Tracking
-------------------

    Worklog Id:     (was: 893937)
    Time Spent: 1.5h  (was: 1h 20m)

> Mitigate against custom class ASTMap node construction
> ------------------------------------------------------
>
>                 Key: WW-5339
>                 URL: https://issues.apache.org/jira/browse/WW-5339
>             Project: Struts 2
>          Issue Type: Improvement
>          Components: Core
>            Reporter: Kusal Kithul-Godage
>            Priority: Minor
>             Fix For: 6.4.0
>
>          Time Spent: 1.5h
>  Remaining Estimate: 0h
>
> i.e. @<class_name>@{} syntax



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

Reply via email to