不会有问题的,但最好不要用!
如果是不鼓励使用的话,会在JDKDOC中说明的,比如THEAD中的STOP方法:
 Deprecated. This method is inherently unsafe. See stop() (with no arguments) for details. An additional danger of this method is that it may be used to generate exceptions that the target thread is unprepared to handle (including checked exceptions that the thread could not possibly throw, were it not for this method). For more information, see Why are Thread.stop, Thread.suspend and Thread.resume Deprecated?.