-
Notifications
You must be signed in to change notification settings - Fork 1.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Jetty 12: Removal of ByteBufferPool breaks AbstractConnector subclasses #9284
Comments
Proposal: Option A Option B
|
We will break many APIs in Jetty 12, and We won't support backwards compatibility with Jetty 11 -- it's unfortunate but Jetty 12 is a major release, with major architectural changes etc. |
However, your Option A is something we will consider in our renaming Omnibus issue: #9072 |
Thank you for the heads-up @gregw. I will root for renaming RetainableByteBufferPool to ByteBufferPool, because there's no longer any other ByteBufferPool. This will greatly simplify supporting jetty from junixsocket. |
With issue jetty#9166, ByteBufferPool was removed and replaced by RetainableByteBufferPool. Since ByteBufferPool was used by AbstractConnector, this change broke backwards compatibility with third-party connectors such as junixsocket-jetty. Since there's no longer any other ByteBufferPool, rename the RetainableByteBufferPool interface, and thereby not only reinstate compatibility with existing third-party libraries but also save a few keystrokes. jetty#9284 Signed-off-by: Christian Kohlschütter <[email protected]>
With issue jetty#9166, ByteBufferPool was removed and replaced by RetainableByteBufferPool. Since ByteBufferPool was used by AbstractConnector, this change broke backwards compatibility with third-party connectors such as junixsocket-jetty. Since there's no longer any other ByteBufferPool, rename the RetainableByteBufferPool interface, and thereby not only reinstate compatibility with existing third-party libraries but also save a few keystrokes. jetty#9284 Signed-off-by: Christian Kohlschütter <[email protected]>
With issue jetty#9166, ByteBufferPool was removed and replaced by RetainableByteBufferPool. Since ByteBufferPool was used by AbstractConnector, this change broke backwards compatibility with third-party connectors such as junixsocket-jetty. Since there's no longer any other ByteBufferPool, rename the RetainableByteBufferPool interface, and thereby not only reinstate compatibility with existing third-party libraries but also save a few keystrokes. jetty#9284 Signed-off-by: Christian Kohlschütter <[email protected]>
Fixed by #9300. |
Jetty version(s)
jetty 12.0.x commit ded18f5
Description
The removal of ByteBufferPool and replacement with RetainableByteBufferPool in the constructor signature for AbstractConnector breaks subclasses of that class, such as junixsocket's AFSocketServerConnector
How to reproduce?
Implement a subclass of AbstractConnector with Jetty 11 as a dependency, then switch to 12.
The text was updated successfully, but these errors were encountered: