ViewVC Help
View File | Revision Log | Show Annotations | Download File | Root Listing
root/jsr166/jsr166/src/test/tck/JSR166TestCase.java
(Generate patch)

Comparing jsr166/src/test/tck/JSR166TestCase.java (file contents):
Revision 1.57 by jsr166, Mon Oct 4 05:45:19 2010 UTC vs.
Revision 1.58 by jsr166, Wed Oct 6 02:11:57 2010 UTC

# 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      }

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines