This is an automated email from the ASF dual-hosted git repository.

lukaszlenart pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/struts.git


The following commit(s) were added to refs/heads/main by this push:
     new f5880be2e WW-5591 chore(core): mark XWorkObjectPropertyAccessor as 
deprecated (#1797)
f5880be2e is described below

commit f5880be2efe860c7475dcbf88184cfd48a2cc7b0
Author: Lukasz Lenart <[email protected]>
AuthorDate: Tue Jul 21 11:26:22 2026 +0200

    WW-5591 chore(core): mark XWorkObjectPropertyAccessor as deprecated (#1797)
    
    The class is no longer used by the framework and can be removed in a
    future version.
    
    Co-authored-by: Claude Opus 4.8 <[email protected]>
---
 .../org/apache/struts2/ognl/accessor/XWorkObjectPropertyAccessor.java   | 2 ++
 1 file changed, 2 insertions(+)

diff --git 
a/core/src/main/java/org/apache/struts2/ognl/accessor/XWorkObjectPropertyAccessor.java
 
b/core/src/main/java/org/apache/struts2/ognl/accessor/XWorkObjectPropertyAccessor.java
index c518d42cc..12641a116 100644
--- 
a/core/src/main/java/org/apache/struts2/ognl/accessor/XWorkObjectPropertyAccessor.java
+++ 
b/core/src/main/java/org/apache/struts2/ognl/accessor/XWorkObjectPropertyAccessor.java
@@ -26,7 +26,9 @@ import ognl.OgnlException;
 
 /**
  * @author Gabe
+ * @deprecated since 7.3.0, this accessor is no longer used by the framework 
and will be removed in a future version.
  */
+@Deprecated(since = "7.3.0", forRemoval = true)
 public class XWorkObjectPropertyAccessor extends ObjectPropertyAccessor {
     @Override
     public Object getProperty(OgnlContext context, Object target, Object 
oname) throws OgnlException {

Reply via email to