Changed Methods |
void checkAccess()
|
Documentation changed from old to new. |
Determines if the currently running thread has permission to modify this thread. |
int enumerate(Thread[] )
|
Documentation changed from old to new. |
Copies into the specified array every active thread in this thread's thread group and its subgroups. |
ClassLoader getContextClassLoader()
|
Documentation changed from old to new. |
Returns the context ClassLoader for this Thread. |
String getName()
|
Documentation changed from old to new. |
Returns this thread's name. |
int getPriority()
|
Documentation changed from old to new. |
Returns this thread's priority. |
void resume()
|
Documentation changed from old to new. |
This method exists solely for use with {@link #suspend}, which has been deprecated because it is deadlock-prone. |
void setContextClassLoader(ClassLoader )
|
Documentation changed from old to new. |
Sets the context ClassLoader for this Thread. |
void setName(String )
|
Documentation changed from old to new. |
Changes the name of this thread to be equal to the argument name . |
void setPriority(int )
|
Documentation changed from old to new. |
Changes the priority of this thread. |
void suspend()
|
Documentation changed from old to new. |
This method has been deprecated, as it is inherently deadlock-prone. |
void stop()
|
Documentation changed from old to new. |
This method is inherently unsafe. |
void stop(Throwable )
|
Documentation changed from old to new. |
This method is inherently unsafe. |