337 |
|
try { |
338 |
|
Thread current = Thread.currentThread(); |
339 |
|
threadAssertTrue(!current.isDaemon()); |
340 |
< |
threadAssertTrue(current.getPriority() == Thread.NORM_PRIORITY); |
340 |
> |
threadAssertTrue(current.getPriority() <= Thread.NORM_PRIORITY); |
341 |
|
ThreadGroup g = current.getThreadGroup(); |
342 |
|
SecurityManager s = System.getSecurityManager(); |
343 |
|
if (s != null) |
392 |
|
try { |
393 |
|
Thread current = Thread.currentThread(); |
394 |
|
threadAssertTrue(!current.isDaemon()); |
395 |
< |
threadAssertTrue(current.getPriority() == Thread.NORM_PRIORITY); |
395 |
> |
threadAssertTrue(current.getPriority() <= Thread.NORM_PRIORITY); |
396 |
|
ThreadGroup g = current.getThreadGroup(); |
397 |
|
SecurityManager s = System.getSecurityManager(); |
398 |
|
if (s != null) |