Skip to content

Commit

Permalink
Merge pull request #245 from pshipton/timerthread
Browse files Browse the repository at this point in the history
Set a default thread name for java.util.TimerThread
  • Loading branch information
keithc-ca authored Aug 10, 2023
2 parents 31bcd9f + 7844379 commit 97d9928
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/java.base/share/classes/java/util/Timer.java
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@

/*
* ===========================================================================
* (c) Copyright IBM Corp. 2022, 2022 All Rights Reserved
* (c) Copyright IBM Corp. 2022, 2023 All Rights Reserved
* ===========================================================================
*/

Expand Down Expand Up @@ -542,6 +542,7 @@ class TimerThread extends Thread {
private TaskQueue queue;

TimerThread(TaskQueue queue) {
super("java.util.TimerThread");
this.queue = queue;
}

Expand Down

0 comments on commit 97d9928

Please sign in to comment.