# | Line 544 | Line 544 | public class JSR166TestCase extends Test | |
---|---|---|
544 | } | |
545 | ||
546 | /** | |
547 | < | * Returns a new started Thread running the given runnable. |
547 | > | * Returns a new started daemon Thread running the given runnable. |
548 | */ | |
549 | Thread newStartedThread(Runnable runnable) { | |
550 | Thread t = new Thread(runnable); | |
551 | + | t.setDaemon(true); |
552 | t.start(); | |
553 | return t; | |
554 | } |
– | Removed lines |
+ | Added lines |
< | Changed lines |
> | Changed lines |