-
Notifications
You must be signed in to change notification settings - Fork 3.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
grpc-java is not compatible with the latest Netty version 4.1.101.Final #10665
Comments
Ok, I see someone opened a similar issue, will close this one as a duplicate: #10663 |
Actually, that was a PR, not an issue :) |
Looks like a sort of useless optimization in Netty, to avoid creating an iterator if there are no entries. But yeah, we'll want to implement the method. |
Hello. Can you please release the version with this fix as it blocks the netty update from Several notes: Yes, it's technically possible to define older version of netty with newer spring-boot, but it's not enough just to override a property
and only per-each-artifactId dependencyManagement will work correctly. But it's worth to mention, that netty has dozens of libraries so we'd like to avoid such verbose dependencyManagement. So the best option is to just migrate to future |
cc @temawi , please check the comment above ^ |
1.59.1 is released and has this as a backport. |
Thank you! |
What version of gRPC-Java are you using?
v1.59.0, all previous versions have the same issue.
What is your environment?
macOS, but doesn't matter for this issue
What did you expect to see?
grpc-java to work with the latest Netty 4.1.101.Final at runtime.
What did you see instead?
Steps to reproduce the bug
Additional details
The changeset #13603 uses headers.isEmpty() method. gprc-java has its custom implementation of Netty's Http2Headers interface, where they implement only size() but not isEmpty() method. Its parent
AbstractHttp2Headers
implements this method as throwingUnsupportedOperationException
.The text was updated successfully, but these errors were encountered: