Use is subject to License Terms. Your use of this web site or any of its content or software indicates your agreement to be bound by these License Terms.

Copyright © 2006 Sun Microsystems, Inc. All rights reserved.

Foundation 1.1.2

Deprecated API

Deprecated Classes
java.security.Identity
          This class is no longer used. Its functionality has been replaced by java.security.KeyStore, the java.security.cert package, and java.security.Principal. 
java.security.IdentityScope
          This class is no longer used. Its functionality has been replaced by java.security.KeyStore, the java.security.cert package, and java.security.Principal. 
java.security.Signer
          This class is no longer used. Its functionality has been replaced by java.security.KeyStore, the java.security.cert package, and java.security.Principal. 
 

Deprecated Interfaces
java.security.Certificate
          A new certificate handling package is created in the Java 2 platform. This Certificate interface is entirely deprecated and is here to allow for a smooth transition to the new package. 
 

Deprecated Methods
java.lang.SecurityManager.checkMulticast(InetAddress, byte)
          Use #checkPermission(java.security.Permission) instead 
java.net.URLDecoder.decode(String)
          The resulting string may vary depending on the platform's default encoding. Instead, use the decode(String,String) method to specify the encoding. 
java.net.URLEncoder.encode(String)
          The resulting string may vary depending on the platform's default encoding. Instead, use the encode(String,String) method to specify the encoding. 
java.io.DataInputStream.readLine()
          This method does not properly convert bytes to characters. As of JDK 1.1, the preferred way to read lines of text is via the BufferedReader.readLine() method. Programs that use the DataInputStream class to read lines can be converted to use the BufferedReader class by replacing code of the form:
     DataInputStream d = new DataInputStream(in);
 
with:
     BufferedReader d
          = new BufferedReader(new InputStreamReader(in));
 
 
java.io.ObjectInputStream.readLine()
          This method does not properly convert bytes to characters. see DataInputStream for the details and alternatives. 
java.util.Properties.save(OutputStream, String)
          This method does not throw an IOException if an I/O error occurs while saving the property list. As of the Java 2 platform v1.2, the preferred way to save a properties list is via the store(OutputStream out, String header) method. 
java.net.MulticastSocket.send(DatagramPacket, byte)
          Use the following code or its equivalent instead: ...... int ttl = mcastSocket.getTimeToLive(); mcastSocket.setTimeToLive(newttl); mcastSocket.send(p); mcastSocket.setTimeToLive(ttl); ...... 
 


Foundation 1.1.2

Copyright © 2006 Sun Microsystems, Inc. All rights reserved. Use is subject to License Terms. Your use of this web site or any of its content or software indicates your agreement to be bound by these License Terms.

For more information, please consult the JSR 219 specification.