-
Notifications
You must be signed in to change notification settings - Fork 11
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
Excavator: Allow Java 17 language features in all modules #7306
base: develop
Are you sure you want to change the base?
Conversation
Needs a Jakarta migration, blocked |
051199b
to
78a01d5
Compare
@@ -1518,7 +1518,7 @@ private SingleBatchSweeper getSingleShardSweeper(SettableFuture<MultiTableSweepQ | |||
*/ | |||
private TimelockService createStickyLockService() { | |||
AtomicLong lockToken = new AtomicLong(0); | |||
Set<LockDescriptor> requestedLocks = new ConcurrentHashSet<>(); | |||
Set<LockDescriptor> requestedLocks = ConcurrentHashMap.newKeySet(); |
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.
Note this code change - only for tests though.
Documenting for my future self:
|
@@ -96,7 +96,7 @@ public Set<String> getSupportedAnnotationTypes() { | |||
|
|||
@Override | |||
public SourceVersion getSupportedSourceVersion() { | |||
return SourceVersion.RELEASE_11; | |||
return SourceVersion.RELEASE_17; |
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.
We can update this to return SourceVersion.latestSupported();
e.g. https://github.com/palantir/delegate-processors/blob/43e5fed7e639e1162e4ccc53e177f4abf3d08915/delegate-processors/src/main/java/com/palantir/delegate/processors/DelegateProcessor.java#L68-L71
that way we don't have to think about it for each upgrade. I'd propose making this sort of change onto develop, so we can rebase the jdk-17 bump and keep it minimal
excavator is a bot for automating changes across repositories.
Changes produced by the roomba/java-17-library-target check.
To enable or disable this check, please contact the maintainers of Excavator.
Also upgrade all references from
javax
tojakarta
.