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

app/build.gradle.kts: Avoid calling deprecated Thread.getId() #297

Merged
merged 1 commit into from
Apr 17, 2023

Conversation

chenxiaolong
Copy link
Owner

The method was deprecated in JDK 19. For uniqueness of the name given to ArchiveCommand.registerFormat(), we can just use the task name instead. Two instances of the same task will never run concurrently.

Issue: #294

The method was deprecated in JDK 19. For uniqueness of the name given to
ArchiveCommand.registerFormat(), we can just use the task name instead.
Two instances of the same task will never run concurrently.

Issue: #294

Signed-off-by: Andrew Gunnerson <accounts+github@chiller3.com>
@chenxiaolong chenxiaolong self-assigned this Apr 17, 2023
@chenxiaolong chenxiaolong mentioned this pull request Apr 17, 2023
@chenxiaolong chenxiaolong merged commit ea71400 into master Apr 17, 2023
@chenxiaolong chenxiaolong deleted the thread_id branch April 17, 2023 01:29
chenxiaolong added a commit that referenced this pull request Apr 17, 2023

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
Signed-off-by: Andrew Gunnerson <accounts+github@chiller3.com>
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.

None yet

1 participant