Skip to content

Remove the backport-util-concurrent dependency - #538

Merged
NicoPiel merged 1 commit into
OpenIntegrationEngine:mainfrom
NicoPiel:modernise/drop-backport-concurrent
Nov 5, 2026
Merged

NicoPiel merged 1 commit into
OpenIntegrationEngine:mainfrom
NicoPiel:modernise/drop-backport-concurrent

Conversation

@NicoPiel

@NicoPiel NicoPiel commented Oct 30, 2026 •

Copy link
Copy Markdown
Contributor

What

Removes the vendored backport-util-concurrent-Java60-3.1.jar. Its only use was Collections.singletonList in DefaultDatabaseTaskController, which now comes from java.util.Collections. Also drops its THIRD-PARTY-README section and CC0-1.0.txt, which only that section referenced.

Why

The backport of java.util.concurrent to Java 1.4/5 has no purpose on Java 17, and shipping it adds a dead jar to server-lib.

Reviewer notes

  • Checked the class files of every other jar in the repo, plus build, layout and install4j files, for edu/emory/mathcs/backport. Nothing else uses it.
  • Behavior change: a user script or third-party extension that loaded edu.emory.* classes from server-lib would break. Worth a line in the release notes.
  • Verified with ./gradlew :server:compileJava verifyVendoredParity. No automated test covers the changed line.

Release note

Removed the unused backport-util-concurrent jar (edu.emory.mathcs.backport.*) from server-lib. Scripts and extensions that use it should switch to java.util / java.util.concurrent.

🤖 Generated with Claude Code

@github-actions

Copy link
Copy Markdown

Test Results

130 files  ±0  130 suites  ±0   3m 30s ⏱️ +19s
789 tests ±0  789 ✅ ±0  0 💤 ±0  0 ❌ ±0 
915 runs  ±0  909 ✅ ±0  6 💤 ±0  0 ❌ ±0 

Results for commit a867c55. ± Comparison against base commit 4589238.

@gibson9583 gibson9583 left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Looks safe to merge.

@tonygermano tonygermano left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

I updated the PR description to include the release note that it recommended.

@tonygermano tonygermano added this to the Next Release milestone Nov 5, 2026
@NicoPiel
NicoPiel force-pushed the modernise/drop-backport-concurrent branch from a867c55 to 02bd9ac Compare November 5, 2026 10:55
Its only use was Collections.singletonList in DefaultDatabaseTaskController,
which java.util.Collections provides. Drop the vendored jar, its
third-party README entry and the now unreferenced CC0 license text.

Signed-off-by: Nico Piel <nicopiel@mailbox.org>
@NicoPiel
NicoPiel force-pushed the modernise/drop-backport-concurrent branch from 02bd9ac to 86e156e Compare November 5, 2026 10:58
@NicoPiel
NicoPiel merged commit 86e156e into OpenIntegrationEngine:main Nov 5, 2026
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants