-
New Feature
-
Resolution: Fixed
-
Major
-
None
-
N/A
Compiling Jenkins core on Java 18 fails, because the antlr-maven-plugin version core uses, 2.2 while writing this, fails to generate the grammar files due to the deprecation of the security manager
Bumping the antlr-maven-plugin to an up to date version doesn't resolve the issue, because maintained versions only support ANTLR 4, which also is the current maintained and supported version of ANTLR.
Core uses ANTLR 2, which was last released in 2007.
There are currently two files located in core/src/main/grammar/*.g which would need an update from v2 to v4 to be eligible to be used by an up to date version of the antlr-maven-plugin on compile time.
[JENKINS-68652] Upgrade ANTLR expressions (*.g) from 2.7.7 to 4.10.1
Epic Link | Original: JENKINS-67907 [ 214454 ] | New: JENKINS-68689 [ 215520 ] |
Issue Type | Original: Bug [ 1 ] | New: New Feature [ 2 ] |
Priority | Original: Minor [ 4 ] | New: Major [ 3 ] |
Summary | Original: Update ANTLR expressions (*.g) from v2 to v4 | New: Upgrade ANTLR expressions (*.g) from 2.7.7 to 4.10.1 |
Remote Link | New: This issue links to "https://github.com/jenkinsci/jenkins/pull/7293 (Web Link)" [ 28292 ] |
Assignee | New: Alex Earl [ slide_o_mix ] |
Status | Original: Open [ 1 ] | New: In Progress [ 3 ] |
Status | Original: In Progress [ 3 ] | New: In Review [ 10005 ] |
Resolution | New: Fixed [ 1 ] | |
Status | Original: In Review [ 10005 ] | New: Fixed but Unreleased [ 10203 ] |
Released As | New: 2.376 | |
Status | Original: Fixed but Unreleased [ 10203 ] | New: Closed [ 6 ] |