-
-
Notifications
You must be signed in to change notification settings - Fork 301
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
Implement new JDK21 SortedSet and List methods for SortedList #6134
Conversation
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.
Thanks for the update, @neeshy ! Looks like the compile fails because on Java 17 these methods do not exist. I think that we still need to preserve Java 17 compile compatibility. So perhaps a solution here will be to comment out the @OverRide line.
I suspect that this change will also require you to do a minor version update in package-info.java
from 4.2.0 to 4.3.0:
https://github.com/bndtools/bnd/blob/master/aQute.libg/src/aQute/lib/collections/package-info.java
The build never got that far because of the compile error though.
I've removed the |
Unfortunately not.
|
Thanks for the update! It will compile ok, but the baselines check (which happens later in the build) will fail - as it has done with the last push you submitted. I think if you update the version to 4.3.0 in package-info, this will fix the build error. |
Also, when you re-submit this fix, can you please massage your commit message to include "Fixes #6131" on the bottom line, so that the full message looks something like this:
That way we can use the commit history to refer back to all of this discussion for historical context if necessary, and as an added bonus when we merge it it will automatically close the associated issue. Adding the |
Fixes #6131 Signed-off-by: neeshy <[email protected]>
Ah, I was building it through my package manager which evidently doesn't run that check. Pushed with the suggested changes. |
Thank you so much, @neeshy ! Congratulations on earning your honorary "first contribution" badge! |
As per #6131