Frédéric Hannes created WW-5581:
-----------------------------------

             Summary: Freemarker 2.3.33 causes bytecode version compatibility 
issues when transitively provided by Struts 6
                 Key: WW-5581
                 URL: https://issues.apache.org/jira/browse/WW-5581
             Project: Struts 2
          Issue Type: Bug
    Affects Versions: 6.8.0, 6.7.4, 6.7.0, 6.6.1, 6.6.0
            Reporter: Frédéric Hannes


Freemarker 2.3.33 introduced an issue with Java 8 because it introduced a files 
for newer versions of Java. This seems to introduce issues in some application 
servers, as well as with the Maven Enforcer Plugin when it checks for bytecode 
compatibility with Java 8. This issue was resolved in version 2.3.34 of 
Freemarker ([https://freemarker.apache.org/docs/versions_2_3_34.html)] with 
PR110: [https://github.com/apache/freemarker/pull/110]

Struts 6 still has not updated to the latest version of Freemarker to resolve 
this issue, unlike version 7. But Struts 6 still targets older versions of the 
JEE spec with Java EE, that still support Java 8, so this can cause 
compatibility issues if the project using Struts does not explicitly replace 
the Freemarker dependency with the latest version.



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

Reply via email to