aicas logo Jamaica 3.4 release 8

Deprecated API


Contents
Deprecated Interfaces
org.xml.sax.AttributeList
          This interface has been replaced by the SAX2 Attributes interface, which includes Namespace support. 
java.security.Certificate
          use java.security.cert instead 
org.xml.sax.DocumentHandler
          This interface has been replaced by the SAX2 ContentHandler interface, which includes Namespace support. 
java.rmi.server.LoaderHandler
            
org.xml.sax.Parser
          This interface has been replaced by the SAX2 XMLReader interface, which includes Namespace support. 
java.rmi.registry.RegistryHandler
            
java.rmi.server.RemoteCall
            
java.rmi.server.Skeleton
            
sun.text.normalizer.SymbolTable
          This is a draft API and might change in a future release of ICU. 
sun.text.normalizer.UCharacter.ECharacterCategory
          This is a draft API and might change in a future release of ICU. 
 

Deprecated Classes
org.xml.sax.helpers.AttributeListImpl
          This class implements a deprecated interface, AttributeList; that interface has been replaced by Attributes, which is implemented in the AttributesImpl helper class. 
javax.management.DefaultLoaderRepository
          Use MBeanServer.getClassLoaderRepository() instead. 
org.omg.CORBA.DynamicImplementation
          since 1.4. 
org.xml.sax.HandlerBase
          This class works with the deprecated DocumentHandler interface. It has been replaced by the SAX2 DefaultHandler class. 
java.security.Identity
          Replaced by java.security.KeyStore, the java.security.cert package, and java.security.Principal. 
java.security.IdentityScope
          Use java.security.KeyStore, the java.security.cert package, and java.security.Principal. 
java.io.LineNumberInputStream
          This class is deprecated in favor if LineNumberReader because it operates on ASCII bytes instead of an encoded character stream. This class is for backward compatibility only and should not be used in new applications. 
java.rmi.server.LogStream
            
java.rmi.server.Operation
            
org.xml.sax.helpers.ParserFactory
          This class works with the deprecated Parser interface. 
javax.security.auth.Policy
          The classes java.security.Policy and java.security.ProtectionDomain provide the functionality of this class. 
org.omg.CORBA.Principal
          by CORBA 2.2. 
org.omg.CORBA.PrincipalHolder
          by CORBA 2.2. 
javax.realtime.RationalTime
          RTSJ V1.0.1 class RationalTime is deprecated 
java.security.Signer
          Replaced by java.security.KeyStore, the java.security.cert package, and java.security.Principal. 
java.io.StringBufferInputStream
            
javax.realtime.WaitFreeDequeue
          RTSJ V1.0.1 class WaitFreeDequeue is deprecated. Use WaitFreeRead/WriteQueue instead. 
 

Deprecated Exceptions
java.rmi.RMISecurityException
          use SecurityException instead 
java.rmi.ServerRuntimeException
          no replacement 
java.rmi.server.SkeletonMismatchException
          no replacement. Skeletons are no longer required. 
java.rmi.server.SkeletonNotFoundException
          no replacement. Skeletons are no longer required. 
 

Deprecated Fields
javax.management.openmbean.OpenType.ALLOWED_CLASSNAMES
          Use OpenType.ALLOWED_CLASSNAMES_LIST instead. 
java.awt.Frame.CROSSHAIR_CURSOR
          Use Cursor.CROSSHAIR_CURSOR instead. 
java.awt.Frame.DEFAULT_CURSOR
          Replaced by Cursor.DEFAULT_CURSOR instead. 
java.awt.Frame.E_RESIZE_CURSOR
          Use Cursor.E_RESIZE_CURSOR instead. 
java.awt.Frame.HAND_CURSOR
          Use Cursor.HAND_CURSOR instead. 
java.net.HttpURLConnection.HTTP_SERVER_ERROR
            
java.lang.SecurityManager.inCheck
          Use SecurityManager.checkPermission(Permission) instead. 
javax.realtime.PriorityScheduler.MAX_PRIORITY
          use PriorityScheduler.instance().getMaxPriority() instead. 
javax.realtime.PriorityScheduler.MIN_PRIORITY
          use PriorityScheduler.instance().getMinPriority() instead. 
java.awt.Frame.MOVE_CURSOR
          Use Cursor.MOVE_CURSOR instead. 
java.awt.Frame.N_RESIZE_CURSOR
          Use Cursor.N_RESIZE_CURSOR instead. 
java.awt.Frame.NE_RESIZE_CURSOR
          Use Cursor.NE_RESIZE_CURSOR instead. 
java.awt.Frame.NW_RESIZE_CURSOR
          Use Cursor.NW_RESIZE_CURSOR instead. 
java.awt.Frame.S_RESIZE_CURSOR
          Use Cursor.S_RESIZE_CURSOR instead. 
java.awt.Frame.SE_RESIZE_CURSOR
          Use Cursor.SE_RESIZE_CURSOR instead. 
javax.realtime.POSIXSignalHandler.SIGCANCEL
          RTSJ V1.0.1 not part of POSIX 9945-1-1996 standard 
javax.realtime.POSIXSignalHandler.SIGFREEZE
          RTSJ V1.0.1 not part of POSIX 9945-1-1996 standard 
javax.realtime.POSIXSignalHandler.SIGIO
          RTSJ V1.0.1 not part of POSIX 9945-1-1996 standard 
javax.realtime.POSIXSignalHandler.SIGLOST
          RTSJ V1.0.1 not part of POSIX 9945-1-1996 standard 
javax.realtime.POSIXSignalHandler.SIGLWP
          RTSJ V1.0.1 not part of POSIX 9945-1-1996 standard 
javax.realtime.POSIXSignalHandler.SIGPOLL
          RTSJ V1.0.1 not part of POSIX 9945-1-1996 standard 
javax.realtime.POSIXSignalHandler.SIGPROF
          RTSJ V1.0.1 not part of POSIX 9945-1-1996 standard 
javax.realtime.POSIXSignalHandler.SIGPWR
          RTSJ V1.0.1 not part of POSIX 9945-1-1996 standard 
javax.realtime.POSIXSignalHandler.SIGTHAW
          RTSJ V1.0.1 not part of POSIX 9945-1-1996 standard 
javax.realtime.POSIXSignalHandler.SIGURG
          RTSJ V1.0.1 not part of POSIX 9945-1-1996 standard 
javax.realtime.POSIXSignalHandler.SIGVTALRM
          RTSJ V1.0.1 not part of POSIX 9945-1-1996 standard 
javax.realtime.POSIXSignalHandler.SIGWAITING
          RTSJ V1.0.1 not part of POSIX 9945-1-1996 standard 
javax.realtime.POSIXSignalHandler.SIGWINCH
          RTSJ V1.0.1 not part of POSIX 9945-1-1996 standard 
javax.realtime.POSIXSignalHandler.SIGXCPU
          RTSJ V1.0.1 not part of POSIX 9945-1-1996 standard 
javax.realtime.POSIXSignalHandler.SIGXFSZ
          RTSJ V1.0.1 not part of POSIX 9945-1-1996 standard 
java.lang.Character.UnicodeBlock.SURROGATES_AREA
          from 1.5 one, use HIGH_SURROGATES, HIGH_PRIVATE_USE_SURROGATES, and LOW_SURROGATES. 
java.awt.Frame.SW_RESIZE_CURSOR
          Use Cursor.SW_RESIZE_CURSOR instead. 
sun.text.normalizer.SymbolTable.SYMBOL_REF
          This is a draft API and might change in a future release of ICU. 
java.awt.Frame.TEXT_CURSOR
          Use Cursor.TEXT_CURSOR instead. 
java.awt.event.KeyEvent.VK_SEPARATER
          use KeyEvent.VK_SEPARATOR 
java.awt.Frame.W_RESIZE_CURSOR
          Use Cursor.W_RESIZE_CURSOR instead. 
java.awt.Frame.WAIT_CURSOR
          Use Cursor.WAIT_CURSOR. 
 

Deprecated Methods
org.omg.CORBA.DynamicImplementation._ids()
          since 1.4. 
javax.realtime.RationalTime.absolute(Clock, AbsoluteTime)
          RTSJ V1.0.1 class RationalTime is deprecated 
java.awt.Component.action(Event, Object)
          in classes which support actions, use processActionEvent(ActionEvent) instead 
javax.realtime.RationalTime.addInterarrivalTo(AbsoluteTime)
          RTSJ V1.0.1 this method is only required to support the deprecated RationalTime. 
javax.realtime.RelativeTime.addInterarrivalTo(AbsoluteTime)
          RTSJ V1.0.1 this method is only required to support the deprecated RationalTime. 
java.awt.List.addItem(String)
          Use add() instead. 
java.awt.List.addItem(String, int)
          Use add() instead. 
java.awt.CardLayout.addLayoutComponent(String, Component)
          This method is deprecated in favor of addLayoutComponent(Component, Object). 
java.awt.BorderLayout.addLayoutComponent(String, Component)
          This method is deprecated in favor of addLayoutComponent(Component, Object). 
java.awt.List.allowsMultipleSelections()
          This method is deprecated in favor of isMultipleMode(). 
java.lang.ThreadGroup.allowThreadSuspension(boolean)
          the behhaviour of this method was never specified. 
java.awt.TextArea.appendText(String)
          This method is deprecated in favor of append (). 
sun.text.normalizer.UnicodeSet.applyPropertyAlias(String, String, SymbolTable)
          This is a draft API and might change in a future release of ICU. 
java.awt.Window.applyResourceBundle(ResourceBundle)
          replaced by Component.applyComponentOrientation. 
java.awt.Window.applyResourceBundle(String)
            
javax.realtime.WaitFreeDequeue.blockingRead()
          RTSJ V1.0.1 class WaitFreeDequeue is deprecated. Use WaitFreeRead/WriteQueue instead. 
javax.realtime.WaitFreeDequeue.blockingWrite(Object)
          RTSJ V1.0.1 class WaitFreeDequeue is deprecated. Use WaitFreeRead/WriteQueue instead. 
java.awt.Component.bounds()
          use Component.getBounds() instead 
java.lang.SecurityManager.checkMulticast(InetAddress, byte)
          use SecurityManager.checkPermission(Permission) instead 
java.lang.SecurityManager.classDepth(String)
          use SecurityManager.checkPermission(Permission) instead 
java.lang.SecurityManager.classLoaderDepth()
          use SecurityManager.checkPermission(Permission) instead 
java.awt.List.clear()
          This method is deprecated in favor of removeAll(). 
java.awt.Container.countComponents()
          use Container.getComponentCount() instead 
java.awt.Menu.countItems()
          As of JDK 1.1, replaced by getItemCount(). 
java.awt.Choice.countItems()
          This method is deprecated in favor of getItemCount. 
java.awt.List.countItems()
          This method is deprecated in favor of getItemCount() 
java.awt.MenuBar.countMenus()
          This method is deprecated in favor of getMenuCount(). 
java.lang.Thread.countStackFrames()
          Since this must be suspended for this operation, and suspend is deprected, this is also deprecated. 
org.omg.CORBA.ORB.create_recursive_sequence_tc(int, int)
          It is easier and clearler to use a combination of create_recursive_tc and create_sequence_tc instead. 
java.lang.SecurityManager.currentClassLoader()
          use SecurityManager.checkPermission(Permission) instead 
java.lang.SecurityManager.currentLoadedClass()
          use SecurityManager.checkPermission(Permission) instead 
java.net.URLDecoder.decode(String)
            
java.lang.ClassLoader.defineClass(byte[], int, int)
          use defineClass(String,byte[],int,int) instead. 
java.awt.List.delItem(int)
            
java.awt.List.delItems(int, int)
          This method is deprecated for some unknown reason. 
java.awt.Container.deliverEvent(Event)
          use Component.dispatchEvent(AWTEvent) instead 
java.awt.Component.deliverEvent(Event)
          use (AWTEvent) instead 
javax.management.MBeanServer.deserialize(ObjectName, byte[])
          MBeanServer.getClassLoaderFor(ObjectName) should be used to obtain the class loader of the bean, which can then be used to perform deserialization in the user's code. 
javax.management.MBeanServer.deserialize(String, byte[])
          MBeanServer.getClassLoaderRepository() should be used to obtain the class loading repository, which can then be used to obtain the Class instance and deserialize the array using its class loader. 
javax.management.MBeanServer.deserialize(String, ObjectName, byte[])
          MBeanServer.getClassLoader(ObjectName) can be used to obtain the named class loader and deserialize the array. 
java.lang.Thread.destroy()
          this is inherently unsafe. 
java.awt.MenuItem.disable()
          This method is deprecated in favor of setEnabled(). 
java.awt.Component.disable()
          use Component.setEnabled(boolean) instead 
java.rmi.server.Skeleton.dispatch(Remote, RemoteCall, int, long)
            
java.rmi.server.RemoteCall.done()
            
java.rmi.server.RemoteRef.done(RemoteCall)
          use RemoteRef.invoke(Remote, Method, Object[], long) instead. 
java.awt.MenuItem.enable()
          This method is deprecated in favor of setEnabled(). 
java.awt.Component.enable()
          use Component.setEnabled(boolean) instead 
java.awt.MenuItem.enable(boolean)
          This method is deprecated in favor of setEnabled(). 
java.awt.Component.enable(boolean)
          use Component.setEnabled(boolean) instead 
java.net.URLEncoder.encode(String)
            
java.security.SignatureSpi.engineGetParameter(String)
          use the other getParameter 
java.security.SignatureSpi.engineSetParameter(String, Object)
          use the other setParameter. 
org.omg.CORBA.ServerRequest.except(Any)
          since 1.2. 
java.rmi.server.RemoteCall.executeCall()
            
org.omg.CORBA.Any.extract_Principal()
          by CORBA 2.2. 
javax.realtime.WaitFreeDequeue.force(Object)
          RTSJ V1.0.1 class WaitFreeDequeue is deprecated. Use WaitFreeRead/WriteQueue instead. 
org.omg.CORBA.ORB.get_current()
          since 1.2, use ORB.resolve_initial_references(java.lang.String). 
java.security.Security.getAlgorithmProperty(String, String)
          Use the provider-based and algorithm-independent AlgorithmParameters and KeyFactory engine classes instead. 
sun.text.normalizer.NormalizerBase.getBeginIndex()
          ICU 2.2. Use startIndex() instead. 
java.sql.CallableStatement.getBigDecimal(int, int)
          Use getBigDecimal(int index) or getBigDecimal(String name) instead. 
java.sql.ResultSet.getBigDecimal(int, int)
            
java.sql.ResultSet.getBigDecimal(String, int)
            
java.awt.Polygon.getBoundingBox()
          use Polygon.getBounds() instead 
java.lang.String.getBytes(int, int, byte[], int)
          This method does not use the proper encoding. Use getBytes() to use the default encoding. 
java.awt.Graphics.getClipRect()
          This method is deprecated in favor of getClipBounds(). 
java.awt.CheckboxGroup.getCurrent()
          This method is deprecated in favor of getSelectedCheckbox(). 
java.awt.Frame.getCursorType()
          Use Component.getCursor() instead. 
java.sql.Time.getDate()
            
java.util.Date.getDate()
          Use Calendar instead of Date, and use get(Calendar.DATE) instead. 
java.sql.Time.getDay()
            
java.util.Date.getDay()
          Use Calendar instead of Date, and use get(Calendar.DAY_OF_WEEK) instead. 
javax.realtime.PriorityCeilingEmulation.getDefaultCeiling()
          RTSJ V1.0.1 the name is misleading, use getCeiling instead. 
java.net.URLConnection.getDefaultRequestProperty(String)
          1.3 The method getRequestProperty should be used instead. This method does nothing now. 
java.rmi.server.LogStream.getDefaultStream()
            
sun.text.normalizer.NormalizerBase.getEndIndex()
          ICU 2.2. Use endIndex() instead. 
java.awt.Toolkit.getFontList()
            
java.awt.Toolkit.getFontMetrics(Font)
            
java.awt.Toolkit.getFontPeer(String, int)
            
javax.realtime.RationalTime.getFrequency()
          RTSJ V1.0.1 class RationalTime is deprecated 
java.sql.Date.getHours()
            
java.util.Date.getHours()
          Use Calendar instead of Date, and use get(Calendar.HOUR_OF_DAY) instead. 
java.lang.SecurityManager.getInCheck()
          use SecurityManager.checkPermission(Permission) instead 
java.rmi.server.RemoteCall.getInputStream()
            
javax.realtime.RationalTime.getInterarrivalTime()
          RTSJ V1.0.1 this method is only required to support the deprecated RationalTime. 
javax.realtime.RelativeTime.getInterarrivalTime()
          RTSJ V1.0.1 this method is only required to support the deprecated RationalTime. 
javax.realtime.RationalTime.getInterarrivalTime(RelativeTime)
          RTSJ V1.0.1 this method is only required to support the deprecated RationalTime. 
javax.realtime.RelativeTime.getInterarrivalTime(RelativeTime)
          RTSJ V1.0.1 this method is only required to support the deprecated RationalTime. 
java.awt.Scrollbar.getLineIncrement()
          This method is deprecated in favor of getUnitIncrement(). 
java.lang.Runtime.getLocalizedInputStream(InputStream)
          since 1.1, class InputStreamReader is available for converting the encoding. 
java.lang.Runtime.getLocalizedOutputStream(OutputStream)
          since 1.1, class OutputStreamWriter is available for converting the encoding. 
java.sql.DriverManager.getLogStream()
          Use getLogWriter() instead. 
java.awt.FontMetrics.getMaxDecent()
          This method is deprecated in favor of getMaxDescent(). 
java.sql.Date.getMinutes()
            
java.util.Date.getMinutes()
          Use Calendar instead of Date, and use get(Calendar.MINUTE) instead. 
java.sql.Time.getMonth()
            
java.util.Date.getMonth()
          Use Calendar instead of Date, and use get(Calendar.MONTH) instead. 
java.rmi.server.Operation.getOperation()
            
java.rmi.server.Skeleton.getOperations()
            
java.awt.ComponentOrientation.getOrientation(ResourceBundle)
          use ComponentOrientation.getOrientation(Locale) instead 
java.rmi.server.RemoteCall.getOutputStream()
            
java.rmi.server.LogStream.getOutputStream()
            
java.awt.Scrollbar.getPageIncrement()
          This method is deprecated in favor of getBlockIncrement(). 
java.security.Signature.getParameter(String)
          use the other getParameter 
java.awt.MenuComponent.getPeer()
            
java.awt.Font.getPeer()
            
java.awt.Component.getPeer()
          user programs should not directly manipulate peers; use Component.isDisplayable() instead 
java.rmi.server.RemoteCall.getResultStream(boolean)
            
java.sql.Date.getSeconds()
            
java.util.Date.getSeconds()
          Use Calendar instead of Date, and use get(Calendar.SECOND) instead. 
java.rmi.server.LoaderHandler.getSecurityContext(ClassLoader)
            
java.rmi.server.RMIClassLoader.getSecurityContext(ClassLoader)
            
java.util.Date.getTimezoneOffset()
          use Calendar.get(Calendar.ZONE_OFFSET)+Calendar.get(Calendar.DST_OFFSET) instead. 
java.net.DatagramSocketImpl.getTTL()
          // FIXME: when ? 
java.net.MulticastSocket.getTTL()
          1.2 Replaced by getTimeToLive() 
java.sql.ResultSet.getUnicodeStream(int)
          Use getCharacterStream instead. 
java.sql.ResultSet.getUnicodeStream(String)
          Use getCharacterStream instead. 
java.awt.Scrollbar.getVisible()
          This method is deprecated in favor of getVisibleAmount(). 
java.sql.Time.getYear()
            
java.util.Date.getYear()
          Use Calendar instead of Date, and use get(Calendar.YEAR) instead. Note the 1900 difference in the year. 
java.awt.Component.gotFocus(Event, Object)
          use Component.processFocusEvent(FocusEvent) instead 
java.awt.Component.handleEvent(Event)
          use Component.processEvent(AWTEvent) instead 
javax.realtime.AsynchronouslyInterruptedException.happened(boolean)
          RTSJ V1.0.1 use clear() instead. 
java.awt.Window.hide()
           
java.awt.Dialog.hide()
          Use Component.setVisible(boolean) instead. 
java.awt.Component.hide()
          use Component.setVisible(boolean) instead 
java.lang.SecurityManager.inClass(String)
          use SecurityManager.checkPermission(Permission) instead 
java.lang.SecurityManager.inClassLoader()
          use SecurityManager.checkPermission(Permission) instead 
org.omg.CORBA.Any.insert_Principal(Principal)
          by CORBA 2.2. 
java.awt.TextArea.insertText(String, int)
          This method is deprecated in favor of insert (). 
java.awt.Container.insets()
          use Container.getInsets() instead 
java.awt.Polygon.inside(int, int)
          use Polygon.contains(int, int) instead 
java.awt.Component.inside(int, int)
          use Component.contains(int, int) instead 
java.awt.Rectangle.inside(int, int)
          use Rectangle.contains(int, int) instead 
java.rmi.server.RemoteRef.invoke(RemoteCall)
          use RemoteRef.invoke(Remote, Method, Object[], long) instead. 
org.omg.CORBA.DynamicImplementation.invoke(ServerRequest)
          since 1.4. 
java.awt.Component.isFocusTraversable()
          use Component.isFocusable() instead 
java.lang.Character.isJavaLetter(char)
          replaced by isJavaIdentifierStart(ch) 
java.lang.Character.isJavaLetterOrDigit(char)
          replaced by isJavaIdentifierPart(ch) 
java.awt.List.isSelected(int)
          This method is deprecated in favor of isIndexSelected(int). 
java.lang.Character.isSpace(char)
          replaced by isWhitespace(ch) 
java.rmi.dgc.VMID.isUnique()
          VMID's are more or less always reliable. 
java.awt.Component.keyDown(Event, int)
          use Component.processKeyEvent(KeyEvent) instead 
java.awt.Component.keyUp(Event, int)
          use Component.processKeyEvent(KeyEvent) instead 
java.awt.ScrollPane.layout()
          This method is deprecated in favor of doLayout(). 
java.awt.Container.layout()
          use Container.doLayout() instead 
java.awt.Component.layout()
          use Component.doLayout() instead 
java.rmi.server.LoaderHandler.loadClass(String)
            
java.rmi.server.RMIClassLoader.loadClass(String)
            
java.rmi.server.LoaderHandler.loadClass(URL, String)
            
java.awt.Container.locate(int, int)
          use Container.getComponentAt(int, int) instead 
java.awt.Component.locate(int, int)
          use Component.getComponentAt(int, int) instead 
java.awt.Component.location()
          use Component.getLocation() instead 
java.rmi.server.LogStream.log(String)
            
sun.text.normalizer.SymbolTable.lookup(String)
          This is a draft API and might change in a future release of ICU. 
sun.text.normalizer.SymbolTable.lookupMatcher(int)
          This is a draft API and might change in a future release of ICU. 
java.awt.Component.lostFocus(Event, Object)
          use Component.processFocusEvent(FocusEvent) instead 
java.awt.TextField.minimumSize()
          This method is deprecated in favor of getMinimumSize(). 
java.awt.TextArea.minimumSize()
          This method is deprecated in favor of getMinimumSize (). 
java.awt.List.minimumSize()
          This method is deprecated in favor of getMinimumSize. 
java.awt.Container.minimumSize()
          use Container.getMinimumSize() instead 
java.awt.Component.minimumSize()
          use Component.getMinimumSize() instead 
java.awt.TextField.minimumSize(int)
          This method is deprecated in favor of getMinimumSize(int). 
java.awt.List.minimumSize(int)
          This method is deprecated in favor of getMinimumSize(int)> 
java.awt.TextArea.minimumSize(int, int)
          This method is deprecated in favor of getMinimumSize (int, int). 
java.awt.Component.mouseDown(Event, int, int)
          use Component.processMouseEvent(MouseEvent) instead 
java.awt.Component.mouseDrag(Event, int, int)
          use Component.processMouseMotionEvent(MouseEvent) instead 
java.awt.Component.mouseEnter(Event, int, int)
          use Component.processMouseEvent(MouseEvent) instead 
java.awt.Component.mouseExit(Event, int, int)
          use Component.processMouseEvent(MouseEvent) instead 
java.awt.Component.mouseMove(Event, int, int)
          use Component.processMouseMotionEvent(MouseEvent) instead 
java.awt.Component.mouseUp(Event, int, int)
          use Component.processMouseEvent(MouseEvent) instead 
java.awt.Component.move(int, int)
          use Component.setLocation(int, int) instead 
java.awt.Rectangle.move(int, int)
          use Rectangle.setLocation(int, int) instead 
org.omg.CORBA.Principal.name()
          by CORBA 2.2 
org.omg.CORBA.Principal.name(byte[])
          by CORBA 2.2 
java.rmi.server.RemoteRef.newCall(RemoteObject, Operation[], int, long)
          use RemoteRef.invoke(Remote, Method, Object[], long) instead. 
java.awt.Component.nextFocus()
          use () instead 
javax.realtime.WaitFreeDequeue.nonBlockingRead()
          RTSJ V1.0.1 class WaitFreeDequeue is deprecated. Use WaitFreeRead/WriteQueue instead. 
javax.realtime.WaitFreeDequeue.nonBlockingWrite(Object)
          RTSJ V1.0.1 class WaitFreeDequeue is deprecated. Use WaitFreeRead/WriteQueue instead. 
javax.realtime.PhysicalMemoryManager.onInsertion(long, long, AsyncEventHandler)
          RTSJ V1.0.1 Use onInsertion(long,long,AsyncEvent) instead. 
javax.realtime.PhysicalMemoryTypeFilter.onInsertion(long, long, AsyncEventHandler)
          RTSJ V1.0.1 Use onInsertion(long,long,AsyncEvent) instead. 
javax.realtime.PhysicalMemoryManager.onRemoval(long, long, AsyncEventHandler)
          RTSJ V1.0.1 Use onRemoval(long,long,AsyncEvent) instead. 
javax.realtime.PhysicalMemoryTypeFilter.onRemoval(long, long, AsyncEventHandler)
          RTSJ V1.0.1 Use onInsertion(long,long,AsyncEvent) instead. 
org.omg.CORBA.ServerRequest.op_name()
          since 1.2 
org.omg.CORBA.ServerRequest.params(NVList)
          since 1.2 
java.util.Date.parse(String)
          Use DateFormat.parse(String) 
java.rmi.server.LogStream.parseLevel(String)
            
sun.text.normalizer.SymbolTable.parseReference(String, ParsePosition, int)
          This is a draft API and might change in a future release of ICU. 
java.awt.Window.postEvent(Event)
            
java.awt.MenuContainer.postEvent(Event)
          use MenuComponent.dispatchEvent(AWTEvent) instead 
java.awt.MenuComponent.postEvent(Event)
          Deprecated in favor of dispatchEvent(). 
java.awt.Component.postEvent(Event)
          use Component.dispatchEvent(AWTEvent) instead 
java.awt.TextField.preferredSize()
          This method is deprecated in favor of getPreferredSize(). 
java.awt.TextArea.preferredSize()
          This method is deprecated in favor of getPreferredSize (). 
java.awt.List.preferredSize()
          This method is deprecated in favor of getPreferredSize. 
java.awt.Container.preferredSize()
          use Container.getPreferredSize() instead 
java.awt.Component.preferredSize()
          use Component.getPreferredSize() instead 
java.awt.TextField.preferredSize(int)
          This method is deprecated in favor of getPreferredSize(int). 
java.awt.List.preferredSize(int)
          This method is deprecated in favor of getPreferredSize(int)> 
java.awt.TextArea.preferredSize(int, int)
          This method is deprecated in favor of getPreferredSize (int, int). 
javax.realtime.AsynchronouslyInterruptedException.propagate()
          RTSJ V1.0.1 throw this exception normally. 
org.omg.CORBA.portable.InputStream.read_Principal()
          by CORBA 2.2 
java.io.DataInputStream.readLine()
            
java.io.ObjectInputStream.readLine()
            
java.rmi.registry.RegistryHandler.registryImpl(int)
            
java.rmi.registry.RegistryHandler.registryStub(String, int)
            
java.rmi.server.RemoteCall.releaseInputStream()
            
java.rmi.server.RemoteCall.releaseOutputStream()
            
java.awt.TextArea.replaceText(String, int, int)
          This method is deprecated in favor of replaceRange (). 
java.awt.Component.reshape(int, int, int, int)
          use Component.setBounds(int, int, int, int) instead 
java.awt.Rectangle.reshape(int, int, int, int)
          use Rectangle.setBounds(int, int, int, int) instead 
java.awt.Component.resize(Dimension)
          use Component.setSize(Dimension) instead 
java.awt.Component.resize(int, int)
          use Component.setSize(int, int) instead 
java.awt.Rectangle.resize(int, int)
          use Rectangle.setSize(int, int) instead 
org.omg.CORBA.ServerRequest.result(Any)
          since 1.2 
java.lang.ThreadGroup.resume()
          suspend/resume is deadlock-prone since all locks held by the suspended thread will be held until the thread will be resumed. If the thread that performs the resume() locks on one of these monitors, a deadlock occurs. 
java.lang.Thread.resume()
          suspend/resume is deadlock-prone since all locks held by the suspended thread will be held until the thread will be resumed. If the thread that performs the resume() locks on one of these monitors, a deadlock occurs. 
java.lang.System.runFinalizersOnExit(boolean)
          running the finalizers is unsafe, therefor this method is deprecated. 
java.lang.Runtime.runFinalizersOnExit(boolean)
          running the finalizers is unsafe, therefor this method is deprecated. 
java.util.Properties.save(OutputStream, String)
          use Properties.store(OutputStream, String) instead 
java.net.MulticastSocket.send(DatagramPacket, byte)
            
com.sun.jndi.toolkit.ctx.Continuation.setContinue(Object, Object)
            
java.awt.CheckboxGroup.setCurrent(Checkbox)
          This method is deprecated in favor of setSelectedCheckbox(). 
java.awt.Frame.setCursor(int)
          Use Component.setCursor(Cursor) instead. 
java.sql.Time.setDate(int)
            
java.util.Date.setDate(int)
          Use Calendar instead of Date, and use set(Calendar.DATE, date) instead. 
java.net.URLConnection.setDefaultRequestProperty(String, String)
          1.3 The method setRequestProperty should be used instead. This method does nothing now. 
java.rmi.server.LogStream.setDefaultStream(PrintStream)
            
java.awt.TextField.setEchoCharacter(char)
          This method is deprecated in favor of setEchoChar() 
javax.realtime.RationalTime.setFrequency(int)
          RTSJ V1.0.1 class RationalTime is deprecated 
java.sql.Date.setHours(int)
            
java.util.Date.setHours(int)
          Use Calendar instead of Date, and use set(Calendar.HOUR_OF_DAY, hours) instead. 
sun.text.normalizer.NormalizerBase.setIndex(int)
          ICU 3.2 
java.awt.Scrollbar.setLineIncrement(int)
          This method is deprecated in favor of setUnitIncrement(). 
java.sql.DriverManager.setLogStream(PrintStream)
          Use setLogWriter instead. 
javax.management.ValueExp.setMBeanServer(MBeanServer)
          This method is superfluous, as the ValueExp can access the server using QueryEval.getMBeanServer(). 
java.sql.Date.setMinutes(int)
            
java.util.Date.setMinutes(int)
          Use Calendar instead of Date, and use set(Calendar.MINUTE, minutes) instead. 
java.awt.event.KeyEvent.setModifiers(int)
            
java.sql.Time.setMonth(int)
            
java.util.Date.setMonth(int)
          Use Calendar instead of Date, and use set(Calendar.MONTH, month) instead. 
java.awt.List.setMultipleSelections(boolean)
            
java.rmi.server.LogStream.setOutputStream(OutputStream)
            
java.awt.Scrollbar.setPageIncrement(int)
          This method is deprecated in favor of setBlockIncrement(). 
java.security.Signature.setParameter(String, Object)
          use the other setParameter 
java.rmi.server.RemoteStub.setRef(RemoteStub, RemoteRef)
            
java.sql.Date.setSeconds(int)
            
java.util.Date.setSeconds(int)
          Use Calendar instead of Date, and use set(Calendar.SECOND, seconds) instead. 
java.net.DatagramSocketImpl.setTTL(byte)
            
java.net.MulticastSocket.setTTL(byte)
          1.2 Replaced by setTimeToLive 
java.sql.PreparedStatement.setUnicodeStream(int, InputStream, int)
            
java.net.URLStreamHandler.setURL(URL, String, String, int, String, String)
          1.2 Please use #setURL(URL,String,String,int,String,String,String,String); 
java.sql.Time.setYear(int)
            
java.util.Date.setYear(int)
          Use Calendar instead of Date, and use set(Calendar.YEAR, year) instead. Note about the 1900 difference in year. 
java.awt.Window.show()
           
java.awt.Dialog.show()
          Use Component.setVisible(boolean) instead. 
java.awt.Component.show()
          use Component.setVisible(boolean) instead 
java.awt.Component.show(boolean)
          use Component.setVisible(boolean) instead 
java.awt.Component.size()
          use Component.getSize() instead 
java.lang.ThreadGroup.stop()
          this is inherently unsafe. Use AsynchronouslyInterruptedException instead. 
java.lang.Thread.stop()
          this is inherently unsafe. Use AsynchronouslyInterruptedException instead. 
java.lang.Thread.stop(Throwable)
          this is inherently unsafe use interrupt() instead 
java.lang.ThreadGroup.suspend()
          suspend/resume is deadlock-prone since all locks held by the suspended thread will be held until the thread will be resumed. If the thread that performs the resume() locks on one of these monitors, a deadlock occurs. 
java.lang.Thread.suspend()
          suspend/resume is deadlock-prone since all locks held by the suspended thread will be held until the thread will be resumed. If the thread that performs the resume() locks on one of these monitors, a deadlock occurs. 
java.util.Date.toGMTString()
          Use DateFormat.format(Date) with a GMT TimeZone. 
java.util.Date.toLocaleString()
          Use DateFormat.format(Date) 
java.rmi.server.LogStream.toString()
            
java.rmi.server.Operation.toString()
            
java.io.ByteArrayOutputStream.toString(int)
            
java.util.Date.UTC(int, int, int, int, int, int)
          Use Calendar with a UTC TimeZone instead. 
org.omg.CORBA.portable.OutputStream.write_Principal(Principal)
          by CORBA 2.2 
java.rmi.server.LogStream.write(byte[], int, int)
            
java.rmi.server.LogStream.write(int)
            
java.io.ObjectOutputStream.PutField.write(ObjectOutput)
            
 

Deprecated Constructors
javax.management.AttributeValueExp()
          An instance created with a null attribute name can not be used in a query. 
java.sql.Date(int, int, int)
            
java.util.Date(int, int, int)
          use new GregorianCalendar(year+1900, month, day) instead. 
java.util.Date(int, int, int, int, int)
          use new GregorianCalendar(year+1900, month, day, hour, min) instead. 
java.util.Date(int, int, int, int, int, int)
          use new GregorianCalendar(year+1900, month, day, hour, min, sec) instead. 
java.util.Date(String)
          use java.text.DateFormat.parse(s) instead. 
javax.realtime.GarbageCollector()
          RTSJ V1.0.1 the user application cannot create its own garbage collector. 
java.awt.event.KeyEvent(Component, int, long, int, int)
            
java.rmi.server.Operation(String)
            
org.omg.CORBA.Principal()
            
javax.realtime.PriorityCeilingEmulation(int)
          RTSJ V1.0.1 use PriorityCeiling.instance(ceiling) instead. 
javax.realtime.RationalTime(int)
          RTSJ V1.0.1 class RationalTime is deprecated 
javax.realtime.RationalTime(int, long, int)
          RTSJ V1.0.1 class RationalTime is deprecated 
javax.realtime.RationalTime(int, RelativeTime)
          RTSJ V1.0.1 class RationalTime is deprecated 
java.rmi.RMISecurityException(String)
          no longer needed 
java.rmi.RMISecurityException(String, String)
          no longer needed 
java.rmi.ServerRuntimeException(String, Exception)
          no longer needed 
java.rmi.server.SkeletonMismatchException(String)
          no longer needed 
java.net.Socket(InetAddress, int, boolean)
          Use the DatagramSocket class to create datagram oriented sockets. 
java.net.Socket(String, int, boolean)
          Use the DatagramSocket class to create datagram oriented sockets. 
java.io.StreamTokenizer(InputStream)
          Since JDK 1.1. 
java.lang.String(byte[], int)
          This constructor does not use a proper encoding. Use constructor String.String(byte[],String) instead. 
java.lang.String(byte[], int, int, int)
          This constructor does not use a proper encoding. Use constructor String(byte[],int,int,String) instead. 
org.omg.CORBA.TCKind(int)
          it is recommended to use TCKind.from_int(int) that reuses existing TCKind object instead of allocating the new instance. 
java.sql.Time(int, int, int)
            
java.sql.Timestamp(int, int, int, int, int, int, int)
            
javax.realtime.WaitFreeDequeue(Runnable, Runnable, int, MemoryArea)
          RTSJ V1.0.1 class WaitFreeDequeue is deprecated. Use WaitFreeRead/WriteQueue instead. 
 


aicas logo Jamaica 3.4 release 8

aicas GmbH, Karlsruhe - Germany    www.aicas.com
Copyright 2001-2009 aicas GmbH. All Rights Reserved.