Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

Deprecated API

Deprecated Fields
java.lang.SecurityManager.inCheck
          Use SecurityManager.checkPermission(Permission) 55 instead. 
java.lang.Character.UnicodeBlock.SURROGATES_AREA
          As of 1.5, the three areas, HIGH_SURROGATES, HIGH_PRIVATE_USE_SURROGATES and LOW_SURROGATES, as defined by the Unicode standard, should be used in preference to this. These are also returned from calls to of(int) and of(char). 
 

Deprecated Methods
java.lang.ThreadGroup.allowThreadSuspension(boolean)
          pointless, since suspend is deprecated 
java.lang.SecurityManager.checkMulticast(InetAddress, byte)
          use SecurityManager.checkPermission(Permission) 55 instead 
java.lang.SecurityManager.classDepth(String)
          use SecurityManager.checkPermission(Permission) 55 instead 
java.lang.SecurityManager.classLoaderDepth()
          use SecurityManager.checkPermission(Permission) 55 instead 
java.lang.VMThread.countStackFrames()
          unsafe operation 
java.lang.Thread.countStackFrames()
          pointless, since suspend is deprecated 
java.lang.SecurityManager.currentClassLoader()
          use SecurityManager.checkPermission(Permission) 55 instead 
java.lang.SecurityManager.currentLoadedClass()
          use SecurityManager.checkPermission(Permission) 55 instead 
java.lang.ClassLoader.defineClass(byte[], int, int)
          use ClassLoader.defineClass(String, byte[], int, int) 55 instead 
java.lang.Thread.destroy()
          This method was originally intended to simply destroy the thread without performing any form of cleanup operation. However, it was never implemented. It is now deprecated for the same reason as suspend(), stop() and resume(); namely, it is prone to deadlocks. If a thread is destroyed while it still maintains a lock on a resource, then this resource will remain locked and any attempts by other threads to access the resource will result in a deadlock. Thus, even an implemented version of this method would be still be deprecated, due to its unsafe nature. 
java.lang.String.getBytes(int, int, byte[], int)
          use String.getBytes() 55 , which uses a char to byte encoder 
java.lang.SecurityManager.getInCheck()
          use SecurityManager.checkPermission(Permission) 55 instead 
java.lang.Runtime.getLocalizedInputStream(InputStream)
          InputStreamReader is the preferred way to read local encodings 
java.lang.Runtime.getLocalizedOutputStream(OutputStream)
          OutputStreamWriter is the preferred way to write local encodings 
java.lang.SecurityManager.inClass(String)
          use SecurityManager.checkPermission(Permission) 55 instead 
java.lang.SecurityManager.inClassLoader()
          use SecurityManager.checkPermission(Permission) 55 instead 
java.lang.Character.isJavaLetter(char)
          Replaced by Character.isJavaIdentifierStart(char) 55  
java.lang.Character.isJavaLetterOrDigit(char)
          Replaced by Character.isJavaIdentifierPart(char) 55  
java.lang.Character.isSpace(char)
          Replaced by Character.isWhitespace(char) 55  
java.lang.Thread.resume()
          pointless, since suspend is deprecated 
java.lang.ThreadGroup.resume()
          pointless, since suspend is deprecated 
java.lang.System.runFinalizersOnExit(boolean)
          never rely on finalizers to do a clean, thread-safe, mop-up from your code 
java.lang.Runtime.runFinalizersOnExit(boolean)
          never rely on finalizers to do a clean, thread-safe, mop-up from your code 
java.lang.Thread.stop()
          unsafe operation, try not to use 
java.lang.ThreadGroup.stop()
          unsafe operation, try not to use 
java.lang.VMThread.stop(Throwable)
          unsafe operation, try not to use 
java.lang.Thread.stop(Throwable)
          unsafe operation, try not to use 
java.lang.Thread.suspend()
          unsafe operation, try not to use 
java.lang.ThreadGroup.suspend()
          unsafe operation, try not to use 
 

Deprecated Constructors
java.lang.Package(String, String, String, String, String, String, String, URL)
          Please use the other constructor that takes the class loader that defines the Package. 
java.lang.String(byte[], int)
          use String.String(byte[], String) 55 to perform correct encoding 
java.lang.String(byte[], int, int, int)
          use String.String(byte[], int, int, String) 55 to perform correct encoding