/** * Sets the name of the Thread. * * @param threadName the new name for the Thread * @see Thread#getName */ public final void setName(String threadName) { if (threadName == null) { throw new NullPointerException("threadName == null"); } name = threadName; if (threadPtr != 0) { /* notify the VM that the thread name has changed */ internalSetName(this, threadName); } } private static native void internalSetName(Thread thread, String threadName);
/** * Sets the name of the Thread. * * @param threadName the new name for the Thread * @see Thread#getName */ public final void setName(String threadName) { if (threadName == null) { throw new NullPointerException("threadName == null"); } name = threadName; if (threadPtr != 0) { /* notify the VM that the thread name has changed */ internalSetName(this, threadName); } } private static native void internalSetName(Thread thread, String threadName);
/** * Sets the name of the Thread. * * @param threadName the new name for the Thread * @see Thread#getName */ public final void setName(String threadName) { if (threadName == null) { throw new NullPointerException("threadName == null"); } name = threadName; if (threadPtr != 0) { /* notify the VM that the thread name has changed */ internalSetName(this, threadName); } } private static native void internalSetName(Thread thread, String threadName);
/** * Sets the name of the Thread. * * @param threadName the new name for the Thread * @see Thread#getName */ public final void setName(String threadName) { if (threadName == null) { throw new NullPointerException("threadName == null"); } name = threadName; if (threadPtr != 0) { /* notify the VM that the thread name has changed */ internalSetName(this, threadName); } } private static native void internalSetName(Thread thread, String threadName);
/** * Sets the name of the Thread. * * @param threadName the new name for the Thread * @see Thread#getName */ public final void setName(String threadName) { if (threadName == null) { throw new NullPointerException("threadName == null"); } name = threadName; if (threadPtr != 0) { /* notify the VM that the thread name has changed */ internalSetName(this, threadName); } } private static native void internalSetName(Thread thread, String threadName);
/** * Sets the name of the Thread. * * @param threadName the new name for the Thread * @see Thread#getName */ public final void setName(String threadName) { if (threadName == null) { throw new NullPointerException("threadName == null"); } name = threadName; if (threadPtr != 0) { /* notify the VM that the thread name has changed */ internalSetName(this, threadName); } } private static native void internalSetName(Thread thread, String threadName);
/** * Sets the name of the Thread. * * @param threadName the new name for the Thread * @see Thread#getName */ public final void setName(String threadName) { if (threadName == null) { throw new NullPointerException("threadName == null"); } name = threadName; if (threadPtr != 0) { /* notify the VM that the thread name has changed */ internalSetName(this, threadName); } } private static native void internalSetName(Thread thread, String threadName);