Skip to content

WW-4428 feat(json): add java.time serialization and deserialization s…

bff1199
Select commit
Loading
Failed to load commit list.
Draft

WW-4428 Add java.time support to JSON plugin (6.8.x backport) #1616

WW-4428 feat(json): add java.time serialization and deserialization s…
bff1199
Select commit
Loading
Failed to load commit list.
SonarQubeCloud / SonarCloud Code Analysis failed Mar 9, 2026 in 4m 23s

Quality Gate failed

Failed conditions
24 Security Hotspots
42.6% Coverage on New Code (required ≥ 80%)
3.4% Duplication on New Code (required ≤ 3%)
E Security Rating on New Code (required ≥ A)
E Reliability Rating on New Code (required ≥ A)

See analysis details on SonarQube Cloud

Catch issues before they fail your Quality Gate with our IDE extension SonarQube for IDE

Annotations

Check warning on line 566 in plugins/embeddedjsp/src/main/java/org/apache/struts2/el/parser/ELParser.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Extract this nested code block into a method.

See more on https://sonarcloud.io/project/issues?id=apache_struts&issues=AZzSGYcj3FRD2v0j-dNN&open=AZzSGYcj3FRD2v0j-dNN&pullRequest=1616

Check warning on line 254 in core/src/main/java/org/apache/struts2/dispatcher/multipart/MultiPartRequestWrapper.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Provide the parametrized type for this generic.

See more on https://sonarcloud.io/project/issues?id=apache_struts&issues=AZzSGU2W3FRD2v0j-cFG&open=AZzSGU2W3FRD2v0j-cFG&pullRequest=1616

Check warning on line 1508 in plugins/embeddedjsp/src/main/java/org/apache/struts2/el/parser/ELParser.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Reorder the modifiers to comply with the Java Language Specification.

See more on https://sonarcloud.io/project/issues?id=apache_struts&issues=AZzSGYcj3FRD2v0j-dQK&open=AZzSGYcj3FRD2v0j-dQK&pullRequest=1616

Check warning on line 261 in plugins/embeddedjsp/src/main/java/org/apache/struts2/JSPLoader.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Remove this use of "defaultIfNull"; it is deprecated.

See more on https://sonarcloud.io/project/issues?id=apache_struts&issues=AZzSGYof3FRD2v0j-dVw&open=AZzSGYof3FRD2v0j-dVw&pullRequest=1616

Check warning on line 1119 in core/src/main/java/com/opensymphony/xwork2/util/finder/ResourceFinder.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Use the built-in formatting to construct this argument.

See more on https://sonarcloud.io/project/issues?id=apache_struts&issues=AZzSGTps3FRD2v0j-b4R&open=AZzSGTps3FRD2v0j-b4R&pullRequest=1616

Check warning on line 100 in core/src/test/java/com/opensymphony/xwork2/conversion/impl/XWorkBasicConverterTest.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Remove this use of "ValueStack"; it is deprecated.

See more on https://sonarcloud.io/project/issues?id=apache_struts&issues=AZzSGW1G3FRD2v0j-caJ&open=AZzSGW1G3FRD2v0j-caJ&pullRequest=1616

Check warning on line 116 in plugins/embeddedjsp/src/main/java/org/apache/struts2/el/lang/ELSupport.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Remove the unnecessary boolean literals.

See more on https://sonarcloud.io/project/issues?id=apache_struts&issues=AZzSGYia3FRD2v0j-dS6&open=AZzSGYia3FRD2v0j-dS6&pullRequest=1616

Check warning on line 569 in core/src/main/java/com/opensymphony/xwork2/util/finder/ResourceFinder.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Provide the parametrized type for this generic.

See more on https://sonarcloud.io/project/issues?id=apache_struts&issues=AZzSGTps3FRD2v0j-b4m&open=AZzSGTps3FRD2v0j-b4m&pullRequest=1616

Check warning on line 846 in core/src/test/java/org/apache/struts2/interceptor/parameter/ParametersInterceptorTest.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Remove this use of "setParameters"; it is deprecated.

See more on https://sonarcloud.io/project/issues?id=apache_struts&issues=AZzSGV6Y3FRD2v0j-cIp&open=AZzSGV6Y3FRD2v0j-cIp&pullRequest=1616

Check warning on line 23 in plugins/embeddedjsp/src/main/java/org/apache/struts2/el/parser/ELParser.html

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Remove this deprecated "ALIGN" attribute.

See more on https://sonarcloud.io/project/issues?id=apache_struts&issues=AZzSGYRq3FRD2v0j-dE-&open=AZzSGYRq3FRD2v0j-dE-&pullRequest=1616

Check warning on line 1249 in plugins/embeddedjsp/src/main/java/org/apache/struts2/el/parser/ELParserTokenManager.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Refactor the code to remove this label and the need for it.

See more on https://sonarcloud.io/project/issues?id=apache_struts&issues=AZzSGYZY3FRD2v0j-dL7&open=AZzSGYZY3FRD2v0j-dL7&pullRequest=1616

Check warning on line 42 in core/src/test/java/com/opensymphony/xwork2/interceptor/ParameterRemoverInterceptorTest.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Remove this use of "ActionInvocation"; it is deprecated.

See more on https://sonarcloud.io/project/issues?id=apache_struts&issues=AZzSGWff3FRD2v0j-cR5&open=AZzSGWff3FRD2v0j-cR5&pullRequest=1616

Check warning on line 514 in plugins/embeddedjsp/src/main/java/org/apache/struts2/el/parser/ELParser.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Reorder the modifiers to comply with the Java Language Specification.

See more on https://sonarcloud.io/project/issues?id=apache_struts&issues=AZzSGYcj3FRD2v0j-dPF&open=AZzSGYcj3FRD2v0j-dPF&pullRequest=1616

Check warning on line 38 in plugins/gxp/src/main/java/org/apache/struts2/views/gxp/Param.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Provide the parametrized type for this generic.

See more on https://sonarcloud.io/project/issues?id=apache_struts&issues=AZzSGZ6O3FRD2v0j-dlf&open=AZzSGZ6O3FRD2v0j-dlf&pullRequest=1616

Check warning on line 193 in core/src/main/java/org/apache/struts2/views/jsp/iterator/IteratorGeneratorTag.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Use "isEmpty()" to check whether a "String" is empty or not.

See more on https://sonarcloud.io/project/issues?id=apache_struts&issues=AZzSGVc-3FRD2v0j-cHM&open=AZzSGVc-3FRD2v0j-cHM&pullRequest=1616

Check warning on line 349 in plugins/embeddedjsp/src/main/java/org/apache/struts2/jasper/compiler/JspUtil.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Replace the synchronized class "StringBuffer" by an unsynchronized one such as "StringBuilder".

See more on https://sonarcloud.io/project/issues?id=apache_struts&issues=AZzSGXls3FRD2v0j-coy&open=AZzSGXls3FRD2v0j-coy&pullRequest=1616

Check warning on line 2124 in plugins/embeddedjsp/src/main/java/org/apache/struts2/el/parser/ELParser.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Reorder the modifiers to comply with the Java Language Specification.

See more on https://sonarcloud.io/project/issues?id=apache_struts&issues=AZzSGYcj3FRD2v0j-dRy&open=AZzSGYcj3FRD2v0j-dRy&pullRequest=1616

Check warning on line 188 in core/src/main/java/com/opensymphony/xwork2/ognl/accessor/XWorkCollectionPropertyAccessor.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Provide the parametrized type for this generic.

See more on https://sonarcloud.io/project/issues?id=apache_struts&issues=AZzSGS543FRD2v0j-btr&open=AZzSGS543FRD2v0j-btr&pullRequest=1616

Check warning on line 208 in plugins/embeddedjsp/src/main/java/org/apache/struts2/el/parser/ELParser.html

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Remove this deprecated "ALIGN" attribute.

See more on https://sonarcloud.io/project/issues?id=apache_struts&issues=AZzSGYRq3FRD2v0j-dI0&open=AZzSGYRq3FRD2v0j-dI0&pullRequest=1616

Check warning on line 92 in plugins/embeddedjsp/src/main/java/org/apache/struts2/jasper/el/JspValueExpression.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Replace the usage of the "instanceof" operator by a catch block.

See more on https://sonarcloud.io/project/issues?id=apache_struts&issues=AZzSGXiz3FRD2v0j-cnv&open=AZzSGXiz3FRD2v0j-cnv&pullRequest=1616

Check warning on line 241 in plugins/embeddedjsp/src/main/java/org/apache/struts2/jasper/runtime/PageContextImpl.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Make this anonymous inner class a lambda

See more on https://sonarcloud.io/project/issues?id=apache_struts&issues=AZzSGYEA3FRD2v0j-c-C&open=AZzSGYEA3FRD2v0j-c-C&pullRequest=1616

Check warning on line 155 in plugins/embeddedjsp/src/main/java/org/apache/struts2/jasper/runtime/JspRuntimeLibrary.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Use "isEmpty()" to check whether a "String" is empty or not.

See more on https://sonarcloud.io/project/issues?id=apache_struts&issues=AZzSGYFB3FRD2v0j-c_1&open=AZzSGYFB3FRD2v0j-c_1&pullRequest=1616

Check warning on line 32 in plugins/embeddedjsp/src/main/java/org/apache/struts2/el/parser/JJTELParserState.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Provide the parametrized type for this generic.

See more on https://sonarcloud.io/project/issues?id=apache_struts&issues=AZzSGYaI3FRD2v0j-dMD&open=AZzSGYaI3FRD2v0j-dMD&pullRequest=1616

Check failure on line 1013 in plugins/embeddedjsp/src/main/java/org/apache/struts2/jasper/compiler/Generator.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Refactor this method to reduce its Cognitive Complexity from 17 to the 15 allowed.

See more on https://sonarcloud.io/project/issues?id=apache_struts&issues=AZzSGXsJ3FRD2v0j-cui&open=AZzSGXsJ3FRD2v0j-cui&pullRequest=1616

Check warning on line 204 in core/src/main/java/org/apache/struts2/components/Include.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Provide the parametrized type for this generic.

See more on https://sonarcloud.io/project/issues?id=apache_struts&issues=AZzSGUnk3FRD2v0j-cEI&open=AZzSGUnk3FRD2v0j-cEI&pullRequest=1616