< prev index next >
src/java.base/share/classes/java/lang/Thread.java
Print this page
@@ -1249,11 +1249,11 @@
*
* @throws SecurityException
* if {@link java.lang.ThreadGroup#checkAccess} determines that
* the current thread cannot access its thread group
*/
- public static int enumerate(Thread tarray[]) {
+ public static int enumerate(Thread[] tarray) {
return currentThread().getThreadGroup().enumerate(tarray);
}
/**
* Counts the number of stack frames in this thread. The thread must
< prev index next >