Skip to content

Replace commons.lang with plain java#297

Merged
res0nance merged 1 commit intojenkinsci:masterfrom
mawinter69:remove-commons-lang
Jan 15, 2026
Merged

Replace commons.lang with plain java#297
res0nance merged 1 commit intojenkinsci:masterfrom
mawinter69:remove-commons-lang

Conversation

@mawinter69
Copy link

commons-lang2 is provided by core. As it is deprecated use plain java.

Testing done

Submitter checklist

  • Make sure you are opening from a topic/feature/bugfix branch (right side) and not your main branch!
  • Ensure that the pull request title represents the desired changelog entry
  • Please describe what you did
  • Link to relevant issues in GitHub or Jira
  • Link to relevant pull requests, esp. upstream and downstream changes
  • Ensure you have provided tests that demonstrate the feature works or the issue is fixed

@mawinter69 mawinter69 requested a review from a team as a code owner January 14, 2026 16:02
<groupId>org.jenkins-ci.plugins</groupId>
<artifactId>plugin</artifactId>
<version>6.2108.v08c2b_01b_cf4d</version>
<version>6.2116.v7501b_67dc517</version>
Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The version 6.2108 is buggy as it would produce Java 21 bytecode

commons-lang2 is provided by core. As it is deprecated use plain java.
@res0nance res0nance merged commit a234d1c into jenkinsci:master Jan 15, 2026
16 checks passed
@mawinter69 mawinter69 deleted the remove-commons-lang branch January 15, 2026 09:49
@alecharp
Copy link
Member

alecharp commented Feb 3, 2026

If a release of the plugin could be done with this changeset, it would help getting jenkinsci/calendar-view-plugin working without commons-lang 2 (CronJobServiceTest not working with this pull request) and overall it would help make progress on jenkinsci/bom#6234 and jenkinsci/jenkins#26105. Thank you.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants