Skip to content
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

Backporting fix from d6eefa73e77632481c77ed2cd204940d56c1fca0 #6

Closed
wants to merge 1 commit into from

Conversation

Scottmitch
Copy link
Contributor

Issue #5 was fixed only for the latest code. alpn-boot versions are tightly coupled to JDK versions, and so anyone not using the latest JDK version will not get the benefits of the fix. It would be nice to maintain a branch pre jdk8_u25-b17 specifically for alpn-boot issues to account for this scenario.

@Scottmitch
Copy link
Contributor Author

@sbordet - Ping.

@sbordet
Copy link
Member

sbordet commented Dec 12, 2014

@Scottmitch maintaining these branches will result in a combinatorial number of branches to maintain, so I am not sure it is worth the pain. Also, fixing a ALPN issue on a JDK release that is deemed as vulnerable by Oracle leaves me doubts as well. I am inclined to not backport this fix to older JDK versions. If you really need it, Webtide provides commercial support.

@sbordet sbordet closed this Dec 12, 2014
@Scottmitch
Copy link
Contributor Author

@sbordet - Not that I necessarily need it but this is not a JDK bug...its an alpn-boot bug. If this were part of the JDK then that is the end of that, but instead we have the opportunity to correct the buggy code.

maintaining these branches will result in a combinatorial number of branches to maintain

When a new alpn-boot bug is found this will require that you have 1 branch the at each commit before the upstream JDK changes were taken. These branches will only ever change if there is a new alpn-boot bug found. I'm not sure what the combinatorial is in reference to but I think the number of branches it is upper bounded by the number of upstream JDK updates (related to the area that alpn-boot overrides).

Also, fixing a ALPN issue on a JDK release that is deemed as vulnerable by Oracle leaves me doubts as well.

I don't necessarily disagree that people should be upgrading their JDKs but I'm not sure than an alpn-boot bug should be part of the reason.

Webtide provides commercial support.

Thanks but I don't think that will be necessary :) These changes may also help prevent others from having to seek commercial support for a bug that is within our control (and already patched).

@Scottmitch
Copy link
Contributor Author

@sbordet - Are you still of the opinion that alpn-boot versions that do not correspond to the latest OpenJDK related code are "deprecated" and in a sense "use at your own risk"? Just to clarify this decision is primarily based on reducing maintenance overhead/work (as opposed to the preferred technical approach)? If so can we please make the "deprecated" versions more clear (on Jetty's ALPN version listing, and also in the README of this project)?

@sbordet
Copy link
Member

sbordet commented Dec 15, 2014

@Scottmitch it's not my opinion, it's Oracle's.
There was a bug, it's fixed. The fix requires the latest JDK.
If I have time I'll try to look at this, but don't hold your breath.

@Scottmitch
Copy link
Contributor Author

@sbordet - I interpreted our previous discussion #5 (comment) to mean was isolated to alpn-boot. If this was an incorrect interpretation I apologize. To be clear is this isolated to alpn-boot or not? If it is not alpn-boot specific then would you expect the unit tests after the backport to pass (on an older JDK 1.8.0_20)? I don't remember changing the unit tests as part of the backport.

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