Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-68652

Upgrade ANTLR expressions (*.g) from 2.7.7 to 4.10.1

    • Icon: New Feature New Feature
    • Resolution: Fixed
    • Icon: Major Major
    • core
    • None
    • N/A
    • 2.376

      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

          Alexander Brandes created issue -
          Basil Crow made changes -
          Epic Link Original: JENKINS-67907 [ 214454 ] New: JENKINS-68689 [ 215520 ]
          Basil Crow made changes -
          Issue Type Original: Bug [ 1 ] New: New Feature [ 2 ]
          Basil Crow made changes -
          Priority Original: Minor [ 4 ] New: Major [ 3 ]
          Basil Crow made changes -
          Summary Original: Update ANTLR expressions (*.g) from v2 to v4 New: Upgrade ANTLR expressions (*.g) from 2.7.7 to 4.10.1

          Alex Earl added a comment -

          Alex Earl added a comment - See https://github.com/jenkinsci/jenkins/pull/7293
          Alexander Brandes made changes -
          Remote Link New: This issue links to "https://github.com/jenkinsci/jenkins/pull/7293 (Web Link)" [ 28292 ]
          Alexander Brandes made changes -
          Assignee New: Alex Earl [ slide_o_mix ]
          Alexander Brandes made changes -
          Status Original: Open [ 1 ] New: In Progress [ 3 ]
          Alexander Brandes made changes -
          Status Original: In Progress [ 3 ] New: In Review [ 10005 ]

            slide_o_mix Alex Earl
            notmyfault Alexander Brandes
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: