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
Add frameType
method to Http2Frame
.
#13989
base: 4.2
Are you sure you want to change the base?
Conversation
445dd3f
to
6ce9758
Compare
Cause:
<excludes>
<exclude>@io.netty.util.internal.UnstableApi</exclude>
<exclude>io.netty.util.internal.shaded</exclude>
</excludes> it is marked with annotation, but still does not pass the |
reported : https://github.com/siom79/japicmp/issues
|
I don't think k this is an acceptable breakage for 4.1 |
Still has :
:( |
@normanmaurer thanks, I made this change because I saw it's marked with |
While it's marked as unstable I still feel not comfortable doing the changes as the benefit is not high enough vs maybe breaking people |
I have to agree with you on this. btw: I checked the |
If there is a Netty 4.2.x release, then this should not be a problem with Java 8:) |
*/ | ||
default byte frameType() { | ||
throw new NotImplementedYetException(); | ||
} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think with Java 8's default method, this will not cause any problem.
Motivation:
Add
frameType
toHttp2Frame
, so I can use it more easily with switch expression than the current instance of.Modification:
Add
frameType
toHttp2Frame
.Result:
Easier to work with in Java < 17