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

fix: jaas conf; make thread daemon #1393

Merged
merged 2 commits into from
Mar 16, 2023
Merged

fix: jaas conf; make thread daemon #1393

merged 2 commits into from
Mar 16, 2023

Conversation

shalk
Copy link
Collaborator

@shalk shalk commented Mar 14, 2023

What problem does this PR solve?

fix #1389

What is changed and how does it work?

Checklist

Tests
  • Unit test
  • Integration test
  • Manual test (add detailed scripts or steps below)
  • No code
Code changes
  • Has exported function/method change
  • Has exported variable/fields change
  • Has interface methods change
  • Has persistent data change
Side effects
  • Possible performance regression
  • Increased code complexity
  • Breaking backward compatibility
Related changes
  • Need to cherry-pick to the release branch
  • Need to update the documentation
  • Need to be included in the release note

@acelyc111 acelyc111 changed the title fix jaas conf; make thread daemon fix: jaas conf; make thread daemon Mar 15, 2023
@acelyc111 acelyc111 requested a review from Apache9 March 15, 2023 03:10
final ScheduledExecutorService service =
Executors.newSingleThreadScheduledExecutor(new TgtThreadFactory());

static class TgtThreadFactory implements ThreadFactory {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just create an anonymous class is enough?

@acelyc111 acelyc111 requested a review from levy5307 March 16, 2023 02:18
@empiredan empiredan merged commit fc50c1c into apache:master Mar 16, 2023
@empiredan empiredan mentioned this pull request Aug 21, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

java client krb not work with kinit
3 participants