[
https://issues.apache.org/jira/browse/TAP5-2777?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17859541#comment-17859541
]
Hudson commented on TAP5-2777:
------------------------------
FAILURE: Integrated in Jenkins build Tapestry » tapestry-javax-java-9-freestyle
#16 (See
[https://ci-builds.apache.org/job/Tapestry/job/tapestry-javax-java-9-freestyle/16/])
TAP5-2777: upgrade google closure compiler to v20220502 (ben: rev
19732165c42a7df9a111c6ad13c2b01258bac366)
* (edit)
tapestry-webresources/src/main/java/org/apache/tapestry5/internal/webresources/GoogleClosureMinimizer.java
* (edit) tapestry-webresources/build.gradle
> Update the closure compiler for better support of modern JavaScript
> -------------------------------------------------------------------
>
> Key: TAP5-2777
> URL: https://issues.apache.org/jira/browse/TAP5-2777
> Project: Tapestry 5
> Issue Type: Task
> Components: tapestry-webresources
> Affects Versions: 5.8.6
> Reporter: Chris Poulsen
> Assignee: Ben Weidig
> Priority: Minor
>
> A couple of years ago we encountered errors related to the closure compiler
> not understanding certain modern JavaScript constructs.
> The details are sort of hazy, but IIRC the newest version(s) of the compiler
> were not just drop-in upgrades (primo 2022). We ended up with "v20210505"
> back then, it allowed our JavaScript to pass through and was still just a
> drop-in upgrade.
> We have been running the following config in production for 2 years (on a
> bunch of installations) without issues, so maybe more people would benefit
> from this upgrade.
> {code:java}
> runtimeOnly("org.apache.tapestry:tapestry-webresources:$tapestryVersion") {
> exclude group: 'com.google.javascript'
> }
> runtimeOnly("com.google.javascript:closure-compiler-unshaded:v20210505")
> runtimeOnly("com.google.javascript:closure-compiler-externs:v20210505")
> {code}
> Ideally the compiler support would be updated to the newest version and kept
> up-to-date, but for a low hanging fruit, this one should be a simple step.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)