-
Bug
-
Resolution: Fixed
-
P3
-
5.0
-
b49
-
sparc
-
solaris_2.6
Name: aaR10142 Date: 03/22/2004
Filed By : SPB JCK team (###@###.###)
JDK :
JCK : 1.5
Platform[s] : Solaris
switch/Mode :
JCK test owner : http://javaweb.eng/jct/sqe/JCK-tck/usr/owners.jto
Failing Test [s] : N/A
Problem description
===================
Doc for the Executors.*ThreadFactory methods says that "Each new thread is created as a non-daemon thread with priority Thread.NORM_PRIORITY."
But the thread could not have priority more then ThreadGroup.getMaxPriority().
See doc for Thread.setPriority():
"the priority of this thread is set to the smaller of the specified newPriority and the maximum permitted priority of the thread's thread group."
This applied for the Executors methods too, so it should be mentioned in the doc.
Methods:
java.util.concurrent.Executors.defaultThreadFactory()
java.util.concurrent.Executors.privilegedThreadFactory()
JCK test source location:
==========================
/java/re/jck/1.5/promoted/latest/JCK-runtime-15/tests
======================================================================
Filed By : SPB JCK team (###@###.###)
JDK :
JCK : 1.5
Platform[s] : Solaris
switch/Mode :
JCK test owner : http://javaweb.eng/jct/sqe/JCK-tck/usr/owners.jto
Failing Test [s] : N/A
Problem description
===================
Doc for the Executors.*ThreadFactory methods says that "Each new thread is created as a non-daemon thread with priority Thread.NORM_PRIORITY."
But the thread could not have priority more then ThreadGroup.getMaxPriority().
See doc for Thread.setPriority():
"the priority of this thread is set to the smaller of the specified newPriority and the maximum permitted priority of the thread's thread group."
This applied for the Executors methods too, so it should be mentioned in the doc.
Methods:
java.util.concurrent.Executors.defaultThreadFactory()
java.util.concurrent.Executors.privilegedThreadFactory()
JCK test source location:
==========================
/java/re/jck/1.5/promoted/latest/JCK-runtime-15/tests
======================================================================