Skip to content

MINOR: Upgrade jetty to 9.4.30.v20200611#8893

Merged
kkonstantine merged 1 commit intoapache:trunkfrom
kkonstantine:jetty-upgrade-to-9.4.30.v20200611
Jun 29, 2020
Merged

MINOR: Upgrade jetty to 9.4.30.v20200611#8893
kkonstantine merged 1 commit intoapache:trunkfrom
kkonstantine:jetty-upgrade-to-9.4.30.v20200611

Conversation

@kkonstantine
Copy link
Copy Markdown
Contributor

Recently commit 492306a updated both jetty to version 9.4.27.v20200227 and jersey to version 2.31

However in the latest versions of jetty, the renaming of the method Response#closeOutput to Response#completeOutput has been reverted, with the latest version using again Response#closeOutput.

Jersey has not released a recent version in which Response#closeOutput is called directly. In its latest version 2.31 Response#closeOutput will be called if Response#completeOutput throws a NoSuchMethodError exception, which keeps things functional but inefficient.

Therefore we can choose to merge this PR early, while waiting for a new version of jersey, or we could wait and update both dependencies together again.

Committer Checklist (excluded from commit message)

  • Verify design and implementation
  • Verify test coverage and CI build status
  • Verify documentation (including upgrade notes)

@kkonstantine
Copy link
Copy Markdown
Contributor Author

cc @ijuma @rhauch @C0urante

@kkonstantine
Copy link
Copy Markdown
Contributor Author

The current use in jersey can be found here

Copy link
Copy Markdown
Member

@ijuma ijuma left a comment

Choose a reason for hiding this comment

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

LGTM, thanks.

@ijuma
Copy link
Copy Markdown
Member

ijuma commented Jun 28, 2020

retest this please

@kkonstantine
Copy link
Copy Markdown
Contributor Author

2/3 builds are green, while the other one failed with 3 flaky MM2 tests.
Thanks @ijuma

@kkonstantine kkonstantine merged commit 2dfb6b0 into apache:trunk Jun 29, 2020
@kkonstantine kkonstantine deleted the jetty-upgrade-to-9.4.30.v20200611 branch June 29, 2020 17:36
kkonstantine added a commit to confluentinc/rest-utils that referenced this pull request Jun 29, 2020
Aligns versions with AK. See also: apache/kafka#8893

Jetty is currently upgraded to a version higher than what Jersey depends on, because the renaming of Response#closeOutput to Response#completeOutput has been reversed in recent versions.
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.

2 participants