Closed kohlschuetter closed 1 year ago
Proposal:
Option A Rename RetainableByteBufferPool to ByteBufferPool
Option B
We will break many APIs in Jetty 12, and ByteBufferPool
is one of those.
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 Although the renaming is being done for getting the right names, not for backwards compatibility.
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.
Fixed by #9300.
Jetty version(s) jetty 12.0.x commit ded18f523d7d1fbac6569256c9bb98aff89e0000
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.