| com.sun.codemodel.internal.JPackage._class(int, String, boolean) |
| com.sun.codemodel.internal.JDefinedClass._class(int, String, boolean) |
| com.sun.codemodel.internal.JClassContainer._class(int, String, boolean)
|
| java.awt.Component.action(Event, Object)
As of JDK version 1.1,
should register this component as ActionListener on component
which fires action events.
|
| sun.security.tools.TaggedList.add(String) |
| java.awt.List.addItem(String)
replaced by add(String).
|
| java.awt.List.addItem(String, int)
replaced by add(String, int).
|
| java.awt.CardLayout.addLayoutComponent(String, Component)
replaced by
addLayoutComponent(Component, Object).
|
| java.awt.BorderLayout.addLayoutComponent(String, Component)
replaced by addLayoutComponent(Component, Object).
|
| com.sun.org.apache.xml.internal.resolver.CatalogManager.allowOasisXMLCatalogPI()
No longer static; use get/set methods.
|
| java.awt.List.allowsMultipleSelections()
As of JDK version 1.1,
replaced by isMultipleMode().
|
java.lang.ThreadGroup.allowThreadSuspension(boolean)
The definition of this call depends on ThreadGroup.suspend(),
which is deprecated. Further, the behavior of this call
was never specified.
|
| com.sun.codemodel.internal.JAnnotationUse.annotate(Class extends Annotation>)
|
| java.awt.TextArea.appendText(String)
As of JDK version 1.1,
replaced by append(String).
|
| com.sun.xml.internal.ws.model.AbstractSEIModelImpl.applyParameterBinding(WSDLBoundPortTypeImpl)
To be removed once client side new architecture is implemented
|
| 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)
|
| java.awt.Window.applyResourceBundle(String)
|
| sun.misc.VM.asChange_otherthread(int, int) |
| sun.misc.VM.asChange(int, int) |
| com.sun.xml.internal.bind.v2.model.impl.BuiltinLeafInfoImpl.asElement()
always return null at this level.
|
| sun.tools.java.Parser.beginClass(long, String, int, Identifier, Identifier, Identifier[])
Use the version with the IdentifierToken arguments.
|
| sun.tools.java.Parser.beginClass(long, String, int, IdentifierToken, IdentifierToken, IdentifierToken[]) |
| java.awt.Component.bounds()
As of JDK version 1.1,
replaced by getBounds().
|
com.sun.codemodel.internal.JClass.boxify()
calling this method from JClass
would be meaningless, since it's always guaranteed to
return this.
|
| com.sun.tools.internal.xjc.model.CEnumLeafInfo.canBeReferencedByIDREF()
why are you calling the method whose return value is known?
|
| com.sun.tools.internal.xjc.model.AbstractCTypeInfoImpl.canBeReferencedByIDREF()
why are you calling an unimplemented method?
|
| com.sun.xml.internal.bind.v2.model.impl.LeafInfoImpl.canBeReferencedByIDREF()
why are you calling a method whose return value is always known?
|
| com.sun.xml.internal.bind.v2.model.impl.EnumLeafInfoImpl.canBeReferencedByIDREF()
why are you calling a method whose return value is always known?
|
| com.sun.xml.internal.bind.v2.model.impl.ElementInfoImpl.canBeReferencedByIDREF()
why are you calling a method whose return value is always known?
|
| com.sun.xml.internal.bind.v2.model.impl.ArrayInfoImpl.canBeReferencedByIDREF()
why are you calling a method whose return value is always known?
|
| com.sun.xml.internal.bind.v2.model.impl.AnyTypeImpl.canBeReferencedByIDREF()
why are you calling a method whose return value is always known?
|
| com.sun.org.apache.xml.internal.resolver.CatalogManager.catalogClassName()
No longer static; use get/set methods.
|
| com.sun.org.apache.xml.internal.resolver.CatalogManager.catalogFiles()
No longer static; use get/set methods.
|
| java.lang.SecurityManager.checkMulticast(InetAddress, byte)
Use #checkPermission(java.security.Permission) instead
|
| java.lang.SecurityManager.classDepth(String)
This type of security checking is not recommended.
It is recommended that the checkPermission
call be used instead.
|
| java.lang.SecurityManager.classLoaderDepth()
This type of security checking is not recommended.
It is recommended that the checkPermission
call be used instead.
|
| java.awt.List.clear()
As of JDK version 1.1,
replaced by removeAll().
|
| com.sun.org.apache.xalan.internal.xsltc.dom.KeyIndex.cloneIterator() |
| com.sun.org.apache.xerces.internal.dom.NodeImpl.compareTreePosition(Node) |
| java.awt.image.renderable.RenderContext.concetenateTransform(AffineTransform)
replaced by
concatenateTransform(AffineTransform).
|
| java.awt.Container.countComponents()
As of JDK version 1.1,
replaced by getComponentCount().
|
| java.awt.Menu.countItems()
As of JDK version 1.1,
replaced by getItemCount().
|
| java.awt.List.countItems()
As of JDK version 1.1,
replaced by getItemCount().
|
| java.awt.Choice.countItems()
As of JDK version 1.1,
replaced by getItemCount().
|
| java.awt.MenuBar.countMenus()
As of JDK version 1.1,
replaced by getMenuCount().
|
java.lang.Thread.countStackFrames()
The definition of this call depends on Thread.suspend(),
which is deprecated. Further, the results of this call
were never well-defined.
|
| com.sun.xml.internal.ws.api.server.WSEndpoint.create(Class, boolean, Invoker, QName, QName, Container, WSBinding, SDDocumentSource, Collection extends SDDocumentSource>, EntityResolver) |
| com.sun.xml.internal.ws.api.pipe.TubelineAssemblerFactory.create(ClassLoader, BindingID)
|
| com.sun.xml.internal.ws.api.pipe.TransportPipeFactory.create(ClassLoader, ClientPipeAssemblerContext)
|
| com.sun.xml.internal.ws.api.message.Messages.create(Marshaller, Object, SOAPVersion)
|
| javax.xml.soap.SOAPElementFactory.create(Name)
Use
javax.xml.soap.SOAPFactory.createElement(javax.xml.soap.Name)
instead
|
| com.sun.xml.internal.ws.api.message.Headers.create(SOAPVersion, Element)
|
| com.sun.xml.internal.ws.api.message.Headers.create(SOAPVersion, Marshaller, Object)
|
| javax.xml.soap.SOAPElementFactory.create(String)
Use
javax.xml.soap.SOAPFactory.createElement(String localName) instead
|
| javax.xml.soap.SOAPElementFactory.create(String, String, String)
Use
javax.xml.soap.SOAPFactory.createElement(String localName,
String prefix,
String uri)
instead
|
| com.sun.xml.internal.ws.api.message.Messages.createAddressingFaultMessage(WSBinding, QName)
|
| com.sun.xml.internal.ws.api.server.InstanceResolver.createDefault(Class, boolean)
This is added here because a Glassfish integration happened
with this signature. Please do not use this. Will be removed
after the next GF integration.
|
| javax.swing.plaf.basic.BasicSplitPaneUI.createKeyboardDownRightListener()
As of Java 2 platform v1.3.
|
| javax.swing.plaf.basic.BasicSplitPaneUI.createKeyboardEndListener()
As of Java 2 platform v1.3.
|
| javax.swing.plaf.basic.BasicSplitPaneUI.createKeyboardHomeListener()
As of Java 2 platform v1.3.
|
| javax.swing.plaf.basic.BasicSplitPaneUI.createKeyboardResizeToggleListener()
As of Java 2 platform v1.3.
|
| javax.swing.plaf.basic.BasicSplitPaneUI.createKeyboardUpLeftListener()
As of Java 2 platform v1.3.
|
| com.sun.xml.internal.ws.api.message.Packet.createResponse(Message)
Use createClientResponse(Message) for client side and
createServerResponse(Message, String) for server side response
creation.
|
| javax.swing.JTable.createScrollPaneForTable(JTable)
As of Swing version 1.0.2,
replaced by new JScrollPane(aTable).
|
| javax.swing.text.TableView.createTableCell(Element)
Table cells can now be any arbitrary
View implementation and should be produced by the
ViewFactory rather than the table.
|
| javax.xml.bind.JAXBContext.createValidator()
since JAXB2.0
|
| com.sun.xml.internal.ws.api.streaming.XMLStreamWriterFactory.createXMLStreamWriter(OutputStream)
|
| com.sun.xml.internal.ws.api.streaming.XMLStreamWriterFactory.createXMLStreamWriter(OutputStream, String)
|
| com.sun.xml.internal.ws.api.streaming.XMLStreamWriterFactory.createXMLStreamWriter(OutputStream, String, boolean)
|
| java.lang.SecurityManager.currentClassLoader()
This type of security checking is not recommended.
It is recommended that the checkPermission
call be used instead.
|
| java.lang.SecurityManager.currentLoadedClass()
This type of security checking is not recommended.
It is recommended that the checkPermission
call be used 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.lang.ClassLoader.defineClass(byte[], int, int)
|
| sun.tools.java.Parser.defineField(long, ClassDefinition, String, int, Type, IdentifierToken, IdentifierToken[], IdentifierToken[], Node) |
| sun.tools.java.Parser.defineField(long, String, int, Type, Identifier, Identifier[], Identifier[], Node)
Use the version with the IdentifierToken arguments.
|
| java.awt.List.delItem(int)
replaced by remove(String)
and remove(int).
|
| java.awt.List.delItems(int, int)
As of JDK version 1.1,
Not for public use in the future.
This method is expected to be retained only as a package
private method.
|
| java.awt.Container.deliverEvent(Event)
As of JDK version 1.1,
replaced by dispatchEvent(AWTEvent e)
|
| java.awt.Component.deliverEvent(Event)
As of JDK version 1.1,
replaced by dispatchEvent(AWTEvent e).
|
| javax.management.MBeanServer.deserialize(ObjectName, byte[])
|
| com.sun.jmx.mbeanserver.JmxMBeanServer.deserialize(ObjectName, byte[]) |
| com.sun.management.jmx.MBeanServerImpl.deserialize(ObjectName, byte[]) |
| javax.management.MBeanServer.deserialize(String, byte[])
|
| com.sun.jmx.mbeanserver.JmxMBeanServer.deserialize(String, byte[]) |
| com.sun.management.jmx.MBeanServerImpl.deserialize(String, byte[]) |
| javax.management.MBeanServer.deserialize(String, ObjectName, byte[])
|
| com.sun.jmx.mbeanserver.JmxMBeanServer.deserialize(String, ObjectName, byte[]) |
| com.sun.management.jmx.MBeanServerImpl.deserialize(String, ObjectName, byte[]) |
java.lang.Thread.destroy()
This method was originally designed to destroy this
thread without any cleanup. Any monitors it held would have
remained locked. However, the method was never implemented.
If if were to be implemented, it would be deadlock-prone in
much the manner of Thread.suspend(). If the target thread held
a lock protecting a critical system resource when it was
destroyed, no thread could ever access this resource again.
If another thread ever attempted to lock this resource, deadlock
would result. Such deadlocks typically manifest themselves as
"frozen" processes. For more information, see
Why are Thread.stop, Thread.suspend and Thread.resume Deprecated?.
|
| javax.swing.JComponent.disable()
As of JDK version 1.1,
replaced by java.awt.Component.setEnabled(boolean).
|
| java.awt.MenuItem.disable()
As of JDK version 1.1,
replaced by setEnabled(boolean).
|
| java.awt.Component.disable()
As of JDK version 1.1,
replaced by setEnabled(boolean).
|
| javax.swing.table.TableColumn.disableResizedPosting()
as of Java 2 platform v1.3
|
| javax.swing.FocusManager.disableSwingFocusManager()
as of 1.4, replaced by
KeyboardFocusManager.setDefaultFocusTraversalPolicy(FocusTraversalPolicy)
|
| java.rmi.server.Skeleton.dispatch(Remote, RemoteCall, int, long)
no replacement
|
| java.rmi.server.RemoteCall.done()
no replacement
|
| java.rmi.server.RemoteRef.done(RemoteCall)
1.2 style stubs no longer use this method. Instead of
using a sequence of method calls to the remote reference
(newCall, invoke, and done), a
stub uses a single method, invoke(Remote, Method, Object[],
int), on the remote reference to carry out parameter
marshalling, remote method executing and unmarshalling of the return
value.
|
| javax.swing.plaf.metal.MetalComboBoxUI.editablePropertyChanged(PropertyChangeEvent)
As of Java 2 platform v1.4.
|
| sun.security.x509.X500Name.emit(DerOutputStream)
Use encode() instead
|
| javax.swing.JComponent.enable()
As of JDK version 1.1,
replaced by java.awt.Component.setEnabled(boolean).
|
| java.awt.MenuItem.enable()
As of JDK version 1.1,
replaced by setEnabled(boolean).
|
| java.awt.Component.enable()
As of JDK version 1.1,
replaced by setEnabled(boolean).
|
| java.awt.MenuItem.enable(boolean)
As of JDK version 1.1,
replaced by setEnabled(boolean).
|
| java.awt.Component.enable(boolean)
As of JDK version 1.1,
replaced by setEnabled(boolean).
|
| javax.swing.table.TableColumn.enableResizedPosting()
as of Java 2 platform v1.3
|
| 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.
|
| sun.tools.java.Parser.endClass(long, ClassDefinition) |
| sun.tools.java.Parser.endClass(long, Identifier)
Use the version with the IdentifierToken arguments.
|
| java.security.SignatureSpi.engineGetParameter(String) |
| com.sun.deploy.security.MSCryptoNONEwithRSASignature.engineGetParameter(String) |
| com.sun.deploy.security.MSCryptoDSASignature.engineGetParameter(String) |
| com.sun.deploy.security.MozillaJSSNONEwithRSASignature.engineGetParameter(String) |
| com.sun.deploy.security.MozillaJSSDSASignature.engineGetParameter(String) |
| sun.security.provider.DSA.engineGetParameter(String) |
| sun.security.mscapi.RSASignature.engineGetParameter(String) |
| java.security.SignatureSpi.engineSetParameter(String, Object)
|
| com.sun.deploy.security.MSCryptoNONEwithRSASignature.engineSetParameter(String, Object)
|
| com.sun.deploy.security.MSCryptoDSASignature.engineSetParameter(String, Object)
|
| com.sun.deploy.security.MozillaJSSNONEwithRSASignature.engineSetParameter(String, Object)
|
| com.sun.deploy.security.MozillaJSSDSASignature.engineSetParameter(String, Object)
|
| sun.security.provider.DSA.engineSetParameter(String, Object) |
| sun.security.mscapi.RSASignature.engineSetParameter(String, Object)
|
| sun.security.util.ObjectIdentifier.equals(ObjectIdentifier)
Use equals((Object)oid)
|
| java.awt.datatransfer.DataFlavor.equals(String)
As inconsistent with hashCode() contract,
use isMimeTypeEqual(String) instead.
|
| com.sun.org.apache.xml.internal.security.utils.CachedXPathFuncHereAPI.eval(Node, Node) |
| java.rmi.server.RemoteCall.executeCall()
no replacement
|
| com.sun.xml.internal.bind.v2.runtime.unmarshaller.ValidatingUnmarshaller.expectText() |
| com.sun.xml.internal.bind.v2.runtime.unmarshaller.UnmarshallingContext.expectText() |
| com.sun.xml.internal.ws.developer.StatefulWebServiceManager.export(Class, String, T)
This method is provided as a temporary workaround, and we'll eventually try to remove it.
|
| com.sun.corba.se.impl.corba.AnyImpl.extract_Principal() |
| sun.misc.Unsafe.fieldOffset(Field)
|
| com.sun.tools.javac.util.List.fill(int, A) |
| javax.swing.SwingUtilities.findFocusOwner(Component)
As of 1.4, replaced by
KeyboardFocusManager.getFocusOwner().
|
| com.sun.org.apache.bcel.internal.generic.ReferenceType.firstCommonSuperclass(ReferenceType)
use getFirstCommonSuperclass(ReferenceType t) which has
slightly changed semantics.
|
| sun.tools.tree.Expression.fitsType(Environment, Type)
(for backward compatibility)
|
| com.sun.tools.internal.xjc.XJCListener.generatedFile(String)
|
| com.sun.corba.se.impl.orb.ORBImpl.get_current() |
| com.sun.xml.internal.ws.api.message.HeaderList.get(QName)
|
| com.sun.xml.internal.ws.api.message.HeaderList.get(String, String)
|
| com.sun.tools.internal.xjc.model.CNonElement.getAdapterUse() |
| com.sun.tools.internal.xjc.model.CEnumLeafInfo.getAdapterUse() |
| com.sun.tools.internal.xjc.model.CBuiltinLeafInfo.getAdapterUse() |
| sun.security.x509.AlgorithmId.getAlgorithmId(String)
use the short get form of this method.
|
| java.security.Security.getAlgorithmProperty(String, String)
This method used to return the value of a proprietary
property in the master file of the "SUN" Cryptographic Service
Provider in order to determine how to parse algorithm-specific
parameters. Use the new provider-based and algorithm-independent
AlgorithmParameters and KeyFactory engine
classes (introduced in the J2SE version 1.2 platform) instead.
|
| com.sun.tools.javac.code.Symbol.getAnnotation(Class)
this method should never be used by javac internally.
|
| com.sun.tools.javac.code.Symbol.ClassSymbol.getAnnotation(Class)
this method should never be used by javac internally.
|
| com.sun.xml.internal.ws.api.addressing.AddressingVersion.getAnonymousUri()
|
| com.sun.xml.internal.ws.api.message.Packet.getApplicationScopePropertyNames(boolean)
|
| sun.text.normalizer.NormalizerBase.getBeginIndex()
ICU 2.2. Use startIndex() instead.
|
| java.sql.ResultSet.getBigDecimal(int, int) |
| java.sql.CallableStatement.getBigDecimal(int, int)
use getBigDecimal(int parameterIndex)
or getBigDecimal(String parameterName)
|
| com.sun.rowset.JoinRowSetImpl.getBigDecimal(int, int) |
| com.sun.rowset.JdbcRowSetImpl.getBigDecimal(int, int) |
| com.sun.rowset.CachedRowSetImpl.getBigDecimal(int, int) |
| com.sun.rowset.internal.SyncResolverImpl.getBigDecimal(int, int) |
| java.sql.ResultSet.getBigDecimal(String, int) |
| com.sun.rowset.JoinRowSetImpl.getBigDecimal(String, int)
use the method getBigDecimal(String columnName)
instead
|
| com.sun.rowset.JdbcRowSetImpl.getBigDecimal(String, int) |
| com.sun.rowset.CachedRowSetImpl.getBigDecimal(String, int)
Use the getBigDecimal(String columnName)
method instead
|
| com.sun.rowset.internal.SyncResolverImpl.getBigDecimal(String, int)
Use the getBigDecimal(String columnName)
method instead
|
| com.sun.xml.internal.ws.client.PortInfo.getBindingID()
|
| sun.misc.Unsafe.getBoolean(Object, int)
|
| java.awt.Polygon.getBoundingBox()
As of JDK version 1.1,
replaced by getBounds().
|
| sun.misc.Unsafe.getByte(Object, int)
|
| com.sun.xml.internal.messaging.saaj.packaging.mime.util.ASCIIUtility.getBytes(InputStream)
|
java.lang.String.getBytes(int, int, byte[], int)
This method does not properly convert characters into
bytes. As of JDK 1.1, the preferred way to do this is via the
String.getBytes() method, which uses the platform's default charset.
|
com.sun.xml.internal.bind.v2.runtime.XMLSerializer.getCachedBase64DataInstance()
Base64Data is no longer cached, so that
XMLStreamWriterEx impl can retain the data, like JAX-WS does.
|
| sun.misc.Unsafe.getChar(Object, int)
|
| com.sun.tools.internal.xjc.api.JAXBModel.getClassList()
this method is provided for now to allow gradual migration for JAX-RPC.
|
| java.awt.Graphics.getClipRect()
As of JDK version 1.1,
replaced by getClipBounds().
|
| sun.print.ProxyGraphics.getClipRect()
As of JDK version 1.1,
replaced by getClipBounds().
|
| com.sun.jmx.snmp.IPAcl.ASCII_CharStream.getColumn() |
| com.sun.tools.example.debug.expr.ASCII_UCodeESC_CharStream.getColumn() |
| com.sun.xml.internal.rngom.parse.compact.UCode_UCodeESC_CharStream.getColumn() |
| com.sun.xml.internal.rngom.parse.compact.JavaCharStream.getColumn() |
| com.sun.xml.internal.xsom.impl.scd.SimpleCharStream.getColumn() |
| javax.swing.JPopupMenu.getComponentAtIndex(int)
|
| javax.swing.JMenuBar.getComponentAtIndex(int)
replaced by getComponent(int i)
|
| sun.security.pkcs11.Secmod.Module.getConfiguration() |
| java.awt.CheckboxGroup.getCurrent()
As of JDK version 1.1,
replaced by getSelectedCheckbox().
|
| java.awt.Frame.getCursorType()
As of JDK version 1.1,
replaced by Component.getCursor().
|
| java.sql.Time.getDate() |
| java.util.Date.getDate()
As of JDK version 1.1,
replaced by Calendar.get(Calendar.DAY_OF_MONTH).
|
| java.sql.Time.getDay() |
| java.util.Date.getDay()
As of JDK version 1.1,
replaced by Calendar.get(Calendar.DAY_OF_WEEK).
|
| java.net.URLConnection.getDefaultRequestProperty(String)
The instance specific getRequestProperty method
should be used after an appropriate instance of URLConnection
is obtained.
|
| java.rmi.server.LogStream.getDefaultStream()
no replacement
|
| javax.management.monitor.StringMonitorMBean.getDerivedGauge()
|
| javax.management.monitor.StringMonitor.getDerivedGauge()
|
| javax.management.monitor.GaugeMonitorMBean.getDerivedGauge()
|
| javax.management.monitor.GaugeMonitor.getDerivedGauge()
|
| javax.management.monitor.CounterMonitorMBean.getDerivedGauge()
|
| javax.management.monitor.CounterMonitor.getDerivedGauge()
|
| javax.management.monitor.StringMonitorMBean.getDerivedGaugeTimeStamp()
|
| javax.management.monitor.StringMonitor.getDerivedGaugeTimeStamp()
|
| javax.management.monitor.GaugeMonitorMBean.getDerivedGaugeTimeStamp()
|
| javax.management.monitor.GaugeMonitor.getDerivedGaugeTimeStamp()
|
| javax.management.monitor.CounterMonitorMBean.getDerivedGaugeTimeStamp()
|
| javax.management.monitor.CounterMonitor.getDerivedGaugeTimeStamp()
|
| javax.swing.plaf.basic.BasicSplitPaneUI.getDividerBorderSize()
As of Java 2 platform v1.3, instead set the border on the
divider.
|
| sun.misc.Unsafe.getDouble(Object, int)
|
| com.sun.org.apache.xerces.internal.dom.AttrImpl.getElement()
Previous working draft of DOM Level 2. New method
is getOwnerElement().
|
| com.sun.xml.internal.bind.v2.model.impl.BuiltinLeafInfoImpl.getElementName()
always return null at this level.
|
| com.sun.org.apache.xerces.internal.dom.CoreDocumentImpl.getEncoding()
This method is internal and only exists for
compatibility with older applications. New applications
should never call this method.
|
| sun.text.normalizer.NormalizerBase.getEndIndex()
ICU 2.2. Use endIndex() instead.
|
| com.sun.xml.internal.ws.api.message.Packet.getEndPointAddressString()
|
| com.sun.xml.internal.ws.client.RequestContext.getEndPointAddressString()
|
| javax.xml.bind.Validator.getEventHandler()
since JAXB2.0
|
| com.sun.xml.internal.org.jvnet.fastinfoset.FastInfosetParser.getExternalVocabularies()
|
| sun.misc.Unsafe.getFloat(Object, int)
|
| java.awt.Toolkit.getFontList()
|
| javax.swing.text.LabelView.getFontMetrics()
FontMetrics are not used for glyph rendering
when running in the JDK.
|
| java.awt.Toolkit.getFontMetrics(Font)
As of JDK version 1.2, replaced by the Font
method getLineMetrics.
|
| java.awt.Toolkit.getFontPeer(String, int)
see java.awt.GraphicsEnvironment#getAllFonts
|
com.sun.xml.internal.ws.api.message.Packet.getHeaderList()
This method is for exposing header list through PropertySet.get(Object),
for user applications, and should never be invoked directly from within the JAX-WS RI.
|
| com.sun.xml.internal.ws.api.message.HeaderList.getHeaders(String)
|
| com.sun.xml.internal.ws.api.message.HeaderList.getHeaders(String, String)
|
| java.sql.Date.getHours() |
| java.util.Date.getHours()
As of JDK version 1.1,
replaced by Calendar.get(Calendar.HOUR_OF_DAY).
|
| java.lang.SecurityManager.getInCheck()
This type of security checking is not recommended.
It is recommended that the checkPermission
call be used instead.
|
| com.sun.xml.internal.bind.marshaller.DataWriter.getIndentStep()
Only return the length of the indent string.
|
| com.sun.xml.internal.txw2.output.IndentingXMLStreamWriter.getIndentStep()
Only return the length of the indent string.
|
| com.sun.xml.internal.txw2.output.IndentingXMLFilter.getIndentStep()
Only return the length of the indent string.
|
| com.sun.xml.internal.txw2.output.DataWriter.getIndentStep()
Only return the length of the indent string.
|
| com.sun.tools.internal.xjc.model.CNonElement.getInfo() |
| com.sun.tools.internal.xjc.model.CEnumLeafInfo.getInfo() |
| com.sun.tools.internal.xjc.model.CClassRef.getInfo() |
| com.sun.tools.internal.xjc.model.CClassInfo.getInfo() |
| com.sun.tools.internal.xjc.model.CBuiltinLeafInfo.getInfo() |
| com.sun.tools.internal.xjc.model.CArrayInfo.getInfo() |
| com.sun.xml.internal.ws.model.JavaMethodImpl.getInputParametersCount()
no longer use in the new architecture
|
| java.rmi.server.RemoteCall.getInputStream()
no replacement
|
| sun.misc.Unsafe.getInt(Object, int)
|
| javax.swing.KeyStroke.getKeyStroke(char, boolean)
use getKeyStroke(char)
|
| javax.swing.AbstractButton.getLabel()
- Replaced by getText
|
| com.sun.org.apache.xalan.internal.xsltc.dom.KeyIndex.getLast() |
| com.sun.jmx.snmp.IPAcl.ASCII_CharStream.getLine() |
| com.sun.tools.example.debug.expr.ASCII_UCodeESC_CharStream.getLine() |
| com.sun.xml.internal.rngom.parse.compact.UCode_UCodeESC_CharStream.getLine() |
| com.sun.xml.internal.rngom.parse.compact.JavaCharStream.getLine() |
| com.sun.xml.internal.xsom.impl.scd.SimpleCharStream.getLine() |
| java.awt.Scrollbar.getLineIncrement()
As of JDK version 1.1,
replaced by getUnitIncrement().
|
| java.lang.Runtime.getLocalizedInputStream(InputStream)
As of JDK 1.1, the preferred way to translate a byte
stream in the local encoding into a character stream in Unicode is via
the InputStreamReader and BufferedReader
classes.
|
| java.lang.Runtime.getLocalizedOutputStream(OutputStream)
As of JDK 1.1, the preferred way to translate a
Unicode character stream into a byte stream in the local encoding is via
the OutputStreamWriter, BufferedWriter, and
PrintWriter classes.
|
| com.sun.tools.internal.xjc.model.Model.getLocator()
No line number available for the "root" component.
|
| java.sql.DriverManager.getLogStream() |
| sun.misc.Unsafe.getLong(Object, int)
|
| java.awt.FontMetrics.getMaxDecent()
As of JDK version 1.1.1,
replaced by getMaxDescent().
|
| com.sun.management.jmx.Introspector.getMBeanInterface(Class)
This class is internal and should not be used.
|
| javax.swing.JRootPane.getMenuBar()
As of Swing version 1.0.3
replaced by getJMenuBar().
|
| javax.swing.JInternalFrame.getMenuBar()
As of Swing version 1.0.3,
replaced by getJMenuBar().
|
| java.sql.Date.getMinutes() |
| java.util.Date.getMinutes()
As of JDK version 1.1,
replaced by Calendar.get(Calendar.MINUTE).
|
| com.sun.codemodel.internal.JMethod.getMods()
|
| java.sql.Time.getMonth() |
| java.util.Date.getMonth()
As of JDK version 1.1,
replaced by Calendar.get(Calendar.MONTH).
|
| com.sun.tools.internal.xjc.model.CPropertyInfo.getName()
marked as deprecated so that we can spot the use of this method.
|
| com.sun.tools.javac.util.DefaultFileManager.ZipFileObject.getName()
see bug 6410637
|
| com.sun.tools.javac.util.DefaultFileManager.ZipFileIndexFileObject.getName()
see bug 6410637
|
| com.sun.tools.javac.util.BaseFileObject.getName()
see bug 6410637
|
| javax.swing.JComponent.getNextFocusableComponent()
As of 1.4, replaced by FocusTraversalPolicy.
|
| com.sun.xml.internal.ws.api.addressing.AddressingVersion.getNoneUri()
|
| com.sun.xml.internal.ws.api.addressing.AddressingVersion.getNsUri()
|
| sun.misc.Unsafe.getObject(Object, int)
|
| javax.management.monitor.MonitorMBean.getObservedObject()
|
| javax.management.monitor.Monitor.getObservedObject()
|
| java.rmi.server.Operation.getOperation()
no replacement
|
| java.rmi.server.Skeleton.getOperations()
no replacement
|
com.sun.tools.internal.xjc.api.SchemaCompiler.getOptions()
This method is not really "deprecated" (in the sense of being removed
from future versions), but the JAXB team is not committed to evolve
Options class in the compatible fashion. So please don't
use this method unless you know what you're doing.
|
| java.awt.ComponentOrientation.getOrientation(ResourceBundle)
|
| java.rmi.server.RemoteCall.getOutputStream()
no replacement
|
| java.rmi.server.LogStream.getOutputStream()
no replacement
|
| java.awt.Scrollbar.getPageIncrement()
As of JDK version 1.1,
replaced by getBlockIncrement().
|
| java.security.Signature.getParameter(String) |
| com.sun.tools.javac.util.DefaultFileManager.ZipFileObject.getPath()
see bug 6410637
|
| com.sun.tools.javac.util.DefaultFileManager.ZipFileIndexFileObject.getPath()
see bug 6410637
|
| com.sun.tools.javac.util.BaseFileObject.getPath()
see bug 6410637
|
| java.awt.MenuComponent.getPeer()
As of JDK version 1.1,
programs should not directly manipulate peers.
|
| java.awt.Font.getPeer()
Font rendering is now platform independent.
|
| java.awt.Component.getPeer()
As of JDK version 1.1,
programs should not directly manipulate peers;
replaced by boolean isDisplayable().
|
| com.sun.xml.internal.ws.client.PortInfo.getPortName()
|
| com.sun.org.apache.xalan.internal.xsltc.dom.KeyIndex.getPosition() |
| com.sun.xml.internal.bind.v2.runtime.unmarshaller.UnmarshallingContext.getPredictor() |
| javax.xml.bind.Validator.getProperty(String)
since JAXB2.0
|
| sun.security.pkcs11.Secmod.Module.getProvider() |
| com.sun.xml.internal.ws.model.AbstractSEIModelImpl.getQNameForJM(JavaMethodImpl)
|
| com.sun.xml.internal.ws.transport.http.WSHTTPConnection.getRequestHeaders()
|
| java.rmi.server.RemoteCall.getResultStream(boolean)
no replacement
|
| com.sun.org.apache.xml.internal.utils.DOMHelper.getRoot(Node) |
| com.sun.tools.internal.xjc.model.Model.getSchemaComponent()
|
| com.sun.xml.internal.bind.v2.model.impl.EnumLeafInfoImpl.getScope()
|
| com.sun.xml.internal.bind.v2.model.impl.ClassInfoImpl.getScope()
|
| java.sql.Date.getSeconds() |
| java.util.Date.getSeconds()
As of JDK version 1.1,
replaced by Calendar.get(Calendar.SECOND).
|
| java.rmi.server.RMIClassLoader.getSecurityContext(ClassLoader)
no replacement. As of the Java 2 platform v1.2, RMI no
longer uses this method to obtain a class loader's security context.
|
| java.rmi.server.LoaderHandler.getSecurityContext(ClassLoader)
no replacement
|
| sun.security.x509.CertAndKeyGen.getSelfCert(X500Name, long)
|
| com.sun.xml.internal.ws.client.PortInfo.getServiceName()
|
| sun.security.jca.ProviderList.getServices(String, List)
use getServices(List) instead
|
| sun.security.jca.GetInstance.getServices(String, List)
use getServices(List) instead
|
| sun.misc.Unsafe.getShort(Object, int)
|
com.sun.xml.internal.xsom.XSSchema.getSourceDocument()
Since this method always returns null, if you are calling
this method from XSSchema and not from XSComponent,
there's something wrong with your code.
|
| com.sun.org.apache.xerces.internal.dom.CoreDocumentImpl.getStandalone()
This method is internal and only exists for
compatibility with older applications. New applications
should never call this method.
|
| com.sun.org.apache.xalan.internal.xsltc.dom.KeyIndex.getStartNode() |
| sun.misc.VM.getState() |
| com.sun.xml.internal.bind.v2.model.impl.EnumLeafInfoImpl.getSubstitutionHead()
if you are invoking this method directly, there's something wrong.
|
| javax.swing.JPasswordField.getText()
As of Java 2 platform v1.2,
replaced by getPassword.
|
| javax.swing.JPasswordField.getText(int, int)
As of Java 2 platform v1.2,
replaced by getPassword.
|
| javax.management.monitor.CounterMonitorMBean.getThreshold()
|
| javax.management.monitor.CounterMonitor.getThreshold()
|
| java.util.Date.getTimezoneOffset()
As of JDK version 1.1,
replaced by -(Calendar.get(Calendar.ZONE_OFFSET) +
Calendar.get(Calendar.DST_OFFSET)) / (60 * 1000).
|
| com.sun.org.apache.xml.internal.security.signature.Reference.getTransformsInput()
use getContentsBeforeTransformation
|
| java.net.MulticastSocket.getTTL()
use the getTimeToLive method instead, which returns
an int instead of a byte.
|
| java.net.DatagramSocketImpl.getTTL()
use getTimeToLive instead.
|
| com.sun.tools.internal.xjc.model.CElementInfo.getType()
why are you calling a method that returns this?
|
| java.sql.ResultSet.getUnicodeStream(int)
use getCharacterStream in place of
getUnicodeStream
|
| com.sun.rowset.JoinRowSetImpl.getUnicodeStream(int) |
| com.sun.rowset.JdbcRowSetImpl.getUnicodeStream(int)
use getCharacterStream in place of
getUnicodeStream
|
| com.sun.rowset.CachedRowSetImpl.getUnicodeStream(int) |
| com.sun.rowset.internal.SyncResolverImpl.getUnicodeStream(int) |
| java.sql.ResultSet.getUnicodeStream(String)
use getCharacterStream instead
|
| com.sun.rowset.JoinRowSetImpl.getUnicodeStream(String)
use the method getCharacterStream instead
|
| com.sun.rowset.JdbcRowSetImpl.getUnicodeStream(String) |
| com.sun.rowset.CachedRowSetImpl.getUnicodeStream(String)
use the method getCharacterStream instead
|
| com.sun.rowset.internal.SyncResolverImpl.getUnicodeStream(String)
use the method getCharacterStream instead
|
| com.sun.org.apache.xerces.internal.dom.CoreDocumentImpl.getVersion()
This method is internal and only exists for
compatibility with older applications. New applications
should never call this method.
|
| javax.swing.ScrollPaneLayout.getViewportBorderBounds(JScrollPane)
As of JDK version Swing1.1
replaced by JScrollPane.getViewportBorderBounds().
|
| java.awt.Scrollbar.getVisible()
As of JDK version 1.1,
replaced by getVisibleAmount().
|
| com.sun.codemodel.internal.JPrimitiveType.getWrapperClass()
|
| com.sun.tools.javac.util.Log.getWriterForDiagnosticType(JCDiagnostic.DiagnosticType) |
| com.sun.xml.internal.ws.api.addressing.AddressingVersion.getWsaHelper(WSDLPort, SEIModel, WSBinding)
TODO why are we exposing implementation specificc class through api?
TODO Remove it if no one elase uses it.
|
| com.sun.tools.internal.xjc.model.CReferencePropertyInfo.getXmlName() |
| com.sun.tools.internal.xjc.model.CElementPropertyInfo.getXmlName() |
| java.sql.Time.getYear() |
| java.util.Date.getYear()
As of JDK version 1.1,
replaced by Calendar.get(Calendar.YEAR) - 1900.
|
| java.awt.Component.gotFocus(Event, Object)
As of JDK version 1.1,
replaced by processFocusEvent(FocusEvent).
|
| com.sun.org.apache.xalan.internal.xsltc.dom.KeyIndex.gotoMark() |
| java.awt.Component.handleEvent(Event)
As of JDK version 1.1
replaced by processEvent(AWTEvent).
|
| java.awt.Window.hide()
|
| java.awt.Dialog.hide()
|
| java.awt.Component.hide()
As of JDK version 1.1,
replaced by setVisible(boolean).
|
| com.sun.org.apache.xml.internal.resolver.CatalogManager.ignoreMissingProperties(boolean)
No longer static; use get/set methods.
|
| sun.tools.java.Parser.importClass(long, Identifier)
Use the version with the IdentifierToken arguments.
|
| sun.tools.java.Parser.importClass(long, IdentifierToken) |
| com.sun.javadoc.ClassDoc.importedClasses()
Import declarations are implementation details that
should not be exposed here. In addition, not all imported
classes are imported through single-type-import declarations.
|
| com.sun.tools.javadoc.ClassDocImpl.importedClasses()
Import declarations are implementation details that
should not be exposed here. In addition, not all imported
classes are imported through single-type-import declarations.
|
| com.sun.javadoc.ClassDoc.importedPackages()
Import declarations are implementation details that
should not be exposed here. In addition, this method's
return type does not allow for all type-import-on-demand
declarations to be returned.
|
| com.sun.tools.javadoc.ClassDocImpl.importedPackages()
Import declarations are implementation details that
should not be exposed here. In addition, this method's
return type does not allow for all type-import-on-demand
declarations to be returned.
|
| sun.tools.java.Parser.importPackage(long, Identifier)
Use the version with the IdentifierToken arguments.
|
| sun.tools.java.Parser.importPackage(long, IdentifierToken) |
| java.lang.SecurityManager.inClass(String)
This type of security checking is not recommended.
It is recommended that the checkPermission
call be used instead.
|
| java.lang.SecurityManager.inClassLoader()
This type of security checking is not recommended.
It is recommended that the checkPermission
call be used instead.
|
| com.sun.corba.se.impl.corba.AnyImpl.insert_Principal(Principal) |
| javax.swing.text.html.HTMLEditorKit.InsertHTMLTextAction.insertAtBoundry(JEditorPane, HTMLDocument, int, Element, String, HTML.Tag, HTML.Tag)
As of Java 2 platform v1.3, use insertAtBoundary
|
| java.awt.TextArea.insertText(String, int)
As of JDK version 1.1,
replaced by insert(String, int).
|
| java.awt.Container.insets()
As of JDK version 1.1,
replaced by getInsets().
|
| java.awt.Rectangle.inside(int, int)
As of JDK version 1.1,
replaced by contains(int, int).
|
| java.awt.Polygon.inside(int, int)
As of JDK version 1.1,
replaced by contains(int, int).
|
| java.awt.Component.inside(int, int)
As of JDK version 1.1,
replaced by contains(int, int).
|
| java.rmi.server.RemoteRef.invoke(RemoteCall)
1.2 style stubs no longer use this method. Instead of
using a sequence of method calls to the remote reference
(newCall, invoke, and done), a
stub uses a single method, invoke(Remote, Method, Object[],
int), on the remote reference to carry out parameter
marshalling, remote method executing and unmarshalling of the return
value.
|
| com.sun.xml.internal.xsom.XSDeclaration.isAnonymous()
use the isGlobal method, which always returns
the opposite of this function. Or the isLocal method.
|
| com.sun.xml.internal.xsom.impl.DeclarationImpl.isAnonymous() |
| javax.swing.JViewport.isBackingStoreEnabled()
As of Java 2 platform v1.3, replaced by
getScrollMode().
|
| com.sun.tools.internal.xjc.model.CNonElement.isCollection() |
| com.sun.tools.internal.xjc.model.CEnumLeafInfo.isCollection() |
| com.sun.tools.internal.xjc.model.CBuiltinLeafInfo.isCollection() |
| com.sun.xml.internal.bind.v2.model.impl.BuiltinLeafInfoImpl.isElement()
always return false at this level.
|
| com.sun.tools.internal.xjc.model.CClassInfo.isFinal()
if you are calling this method directly, you must be doing something wrong.
|
| com.sun.tools.internal.xjc.model.nav.NavigatorImpl.isFinal(NClass)
no class generated by XJC is final.
|
| javax.swing.FocusManager.isFocusManagerEnabled()
As of 1.4, replaced by
KeyboardFocusManager.getDefaultFocusTraversalPolicy()
|
| java.awt.Component.isFocusTraversable()
As of 1.4, replaced by isFocusable().
|
| com.sun.org.apache.xml.internal.utils.DOMHelper.isIgnorableWhitespace(Text) |
| java.lang.Character.isJavaLetter(char)
Replaced by isJavaIdentifierStart(char).
|
| java.lang.Character.isJavaLetterOrDigit(char)
Replaced by isJavaIdentifierPart(char).
|
| javax.swing.JComponent.isManagingFocus()
As of 1.4, replaced by
Component.setFocusTraversalKeys(int, Set) and
Container.setFocusCycleRoot(boolean).
|
| com.sun.org.apache.xalan.internal.xsltc.dom.KeyIndex.isReverse() |
| java.awt.List.isSelected(int)
As of JDK version 1.1,
replaced by isIndexSelected(int).
|
| java.lang.Character.isSpace(char)
Replaced by isWhitespace(char).
|
| java.rmi.dgc.VMID.isUnique() |
| javax.xml.bind.Unmarshaller.isValidating()
|
| com.sun.xml.internal.bind.v2.runtime.unmarshaller.UnmarshallerImpl.isValidating()
since 2.0
|
| com.sun.xml.internal.ws.model.WrapperParameter.isWrapperStyle()
Why are you calling a method that always return true?
|
| com.sun.tools.internal.xjc.reader.gbind.Element.iterator()
if you statically call this method, there's something wrong.
|
| java.awt.Component.keyDown(Event, int)
As of JDK version 1.1,
replaced by processKeyEvent(KeyEvent).
|
| java.awt.Component.keyUp(Event, int)
As of JDK version 1.1,
replaced by processKeyEvent(KeyEvent).
|
| java.awt.ScrollPane.layout()
As of JDK version 1.1,
replaced by doLayout().
|
| java.awt.Container.layout()
As of JDK version 1.1,
replaced by doLayout().
|
| java.awt.Component.layout()
As of JDK version 1.1,
replaced by doLayout().
|
| com.sun.xml.internal.xsom.XSElementDecl.listSubstitutables()
|
| com.sun.xml.internal.xsom.impl.ElementDecl.listSubstitutables() |
| com.sun.management.jmx.JMProperties.load(String)
This class is obsolete.
|
| java.rmi.server.RMIClassLoader.loadClass(String)
replaced by loadClass(String,String) method
|
| java.rmi.server.LoaderHandler.loadClass(String)
no replacement
|
| java.rmi.server.LoaderHandler.loadClass(URL, String)
no replacement
|
| java.awt.Container.locate(int, int)
As of JDK version 1.1,
replaced by getComponentAt(int, int).
|
| java.awt.Component.locate(int, int)
As of JDK version 1.1,
replaced by getComponentAt(int, int).
|
| java.awt.Component.location()
As of JDK version 1.1,
replaced by getLocation().
|
| java.rmi.server.LogStream.log(String)
no replacement
|
| sun.text.normalizer.SymbolTable.lookup(String)
This is a draft API and might change in a future release of ICU.
|
| com.sun.org.apache.xalan.internal.xsltc.dom.KeyIndex.lookupId(Object) |
| com.sun.org.apache.xalan.internal.xsltc.dom.KeyIndex.lookupKey(Object) |
| 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)
As of JDK version 1.1,
replaced by processFocusEvent(FocusEvent).
|
| sun.applet.AppletViewer.main(String[]) |
| com.sun.org.apache.xalan.internal.xsltc.dom.KeyIndex.merge(KeyIndex) |
| java.awt.TextField.minimumSize()
As of JDK version 1.1,
replaced by getMinimumSize().
|
| java.awt.TextArea.minimumSize()
As of JDK version 1.1,
replaced by getMinimumSize().
|
| java.awt.List.minimumSize()
As of JDK version 1.1,
replaced by getMinimumSize().
|
| java.awt.Container.minimumSize()
As of JDK version 1.1,
replaced by getMinimumSize().
|
| java.awt.Component.minimumSize()
As of JDK version 1.1,
replaced by getMinimumSize().
|
| java.awt.TextField.minimumSize(int)
As of JDK version 1.1,
replaced by getMinimumSize(int).
|
| java.awt.List.minimumSize(int)
As of JDK version 1.1,
replaced by getMinimumSize(int).
|
| java.awt.TextArea.minimumSize(int, int)
As of JDK version 1.1,
replaced by getMinimumSize(int, int).
|
| javax.swing.text.View.modelToView(int, Shape) |
| java.awt.Component.mouseDown(Event, int, int)
As of JDK version 1.1,
replaced by processMouseEvent(MouseEvent).
|
| java.awt.Component.mouseDrag(Event, int, int)
As of JDK version 1.1,
replaced by processMouseMotionEvent(MouseEvent).
|
| java.awt.Component.mouseEnter(Event, int, int)
As of JDK version 1.1,
replaced by processMouseEvent(MouseEvent).
|
| java.awt.Component.mouseExit(Event, int, int)
As of JDK version 1.1,
replaced by processMouseEvent(MouseEvent).
|
| java.awt.Component.mouseMove(Event, int, int)
As of JDK version 1.1,
replaced by processMouseMotionEvent(MouseEvent).
|
| java.awt.Component.mouseUp(Event, int, int)
As of JDK version 1.1,
replaced by processMouseEvent(MouseEvent).
|
| java.awt.Rectangle.move(int, int)
As of JDK version 1.1,
replaced by setLocation(int, int).
|
| java.awt.Component.move(int, int)
As of JDK version 1.1,
replaced by setLocation(int, int).
|
| com.sun.codemodel.internal.JCodeModel.newAnonymousClass(JClass)
|
| java.rmi.server.RemoteRef.newCall(RemoteObject, Operation[], int, long)
1.2 style stubs no longer use this method. Instead of
using a sequence of method calls on the stub's the remote reference
(newCall, invoke, and done), a
stub uses a single method, invoke(Remote, Method, Object[],
int), on the remote reference to carry out parameter
marshalling, remote method executing and unmarshalling of the return
value.
|
| com.sun.xml.internal.bind.api.JAXBRIContext.newInstance(Class[], Collection, String, boolean)
Compatibility with older versions.
|
| javax.xml.stream.XMLOutputFactory.newInstance(String, ClassLoader)
|
| javax.xml.stream.XMLInputFactory.newInstance(String, ClassLoader)
|
| javax.xml.stream.XMLEventFactory.newInstance(String, ClassLoader)
|
| com.sun.org.apache.xalan.internal.xsltc.dom.KeyIndex.next() |
| java.awt.Component.nextFocus()
As of JDK version 1.1,
replaced by transferFocus().
|
| javax.activation.ActivationDataFlavor.normalizeMimeType(String) |
| java.awt.datatransfer.DataFlavor.normalizeMimeType(String) |
| javax.activation.ActivationDataFlavor.normalizeMimeTypeParameter(String, String) |
| java.awt.datatransfer.DataFlavor.normalizeMimeTypeParameter(String, String) |
| sun.tools.java.Parser.packageDeclaration(long, Identifier) |
| sun.tools.java.Parser.packageDeclaration(long, IdentifierToken) |
| com.sun.codemodel.internal.JAnnotationArrayMember.param(JAnnotationUse)
|
| com.sun.xml.internal.bind.unmarshaller.DOMScanner.parse(Element, ContentHandler)
|
| java.util.Date.parse(String)
As of JDK version 1.1,
replaced by DateFormat.parse(String s).
|
| com.sun.tools.javac.main.JavaCompiler.parse(String) |
| sun.tools.java.Parser.parseIdentifier(boolean) |
| java.rmi.server.LogStream.parseLevel(String)
no replacement
|
| sun.text.normalizer.SymbolTable.parseReference(String, ParsePosition, int)
This is a draft API and might change in a future release of ICU.
|
| com.sun.xml.internal.bind.unmarshaller.DOMScanner.parseWithContext(Element, ContentHandler)
|
| com.sun.org.apache.xalan.internal.xsltc.runtime.BasisLibrary.positionF(DTMAxisIterator)
This method exists only for backwards compatibility with old
translets. New code should not reference it.
|
| java.awt.Window.postEvent(Event)
As of JDK version 1.1
replaced by dispatchEvent(AWTEvent).
|
| java.awt.MenuContainer.postEvent(Event)
As of JDK version 1.1
replaced by dispatchEvent(AWTEvent).
|
| java.awt.MenuComponent.postEvent(Event)
|
| java.awt.Component.postEvent(Event)
As of JDK version 1.1,
replaced by dispatchEvent(AWTEvent).
|
| java.awt.image.renderable.RenderContext.preConcetenateTransform(AffineTransform)
replaced by
preConcatenateTransform(AffineTransform).
|
| com.sun.org.apache.xml.internal.resolver.CatalogManager.preferPublic()
No longer static; use get/set methods.
|
| java.awt.TextField.preferredSize()
As of JDK version 1.1,
replaced by getPreferredSize().
|
| java.awt.TextArea.preferredSize()
As of JDK version 1.1,
replaced by getPreferredSize().
|
| java.awt.List.preferredSize()
As of JDK version 1.1,
replaced by getPreferredSize().
|
| java.awt.Container.preferredSize()
As of JDK version 1.1,
replaced by getPreferredSize().
|
| java.awt.Component.preferredSize()
As of JDK version 1.1,
replaced by getPreferredSize().
|
| java.awt.TextField.preferredSize(int)
As of JDK version 1.1,
replaced by getPreferredSize(int).
|
| java.awt.List.preferredSize(int)
As of JDK version 1.1,
replaced by getPreferredSize(int).
|
| java.awt.TextArea.preferredSize(int, int)
As of JDK version 1.1,
replaced by getPreferredSize(int, int).
|
| com.sun.xml.internal.stream.buffer.sax.SAXBufferProcessor.process(XMLStreamBuffer)
|
| sun.misc.Unsafe.putBoolean(Object, int, boolean)
|
| sun.misc.Unsafe.putByte(Object, int, byte)
|
| sun.misc.Unsafe.putChar(Object, int, char)
|
| sun.misc.Unsafe.putDouble(Object, int, double)
|
| sun.misc.Unsafe.putFloat(Object, int, float)
|
| com.sun.org.apache.xerces.internal.util.EncodingMap.putIANA2JavaMapping(String, String)
Use of this method is not recommended. Its
effect is JVM wide and may cause unforeseen behaviour
for other applications running in the system.
|
| sun.misc.Unsafe.putInt(Object, int, int)
|
| com.sun.org.apache.xerces.internal.util.EncodingMap.putJava2IANAMapping(String, String)
Use of this method is not recommended. Its
effect is JVM wide and may cause unforeseen behaviour
for other applications running in the system.
|
| sun.misc.Unsafe.putLong(Object, int, long)
|
| sun.misc.Unsafe.putObject(Object, int, Object)
|
| sun.misc.Unsafe.putShort(Object, int, short)
|
| com.sun.xml.internal.ws.message.AbstractHeaderImpl.readAsJAXB(Bridge, BridgeContext) |
| com.sun.xml.internal.stream.buffer.XMLStreamBuffer.readAsXMLReader()
|
| java.io.ObjectInputStream.readLine()
This method does not properly convert bytes to characters.
see DataInputStream for the details and alternatives.
|
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));
|
| sun.misc.VM.registerVMNotification(VMNotification) |
| java.rmi.registry.RegistryHandler.registryImpl(int)
no replacement. As of the Java 2 platform v1.2, RMI no
longer uses the RegistryHandler to obtain the registry's
implementation.
|
| java.rmi.registry.RegistryHandler.registryStub(String, int)
no replacement. As of the Java 2 platform v1.2, RMI no
longer uses the RegistryHandler to obtain the registry's
stub.
|
| com.sun.org.apache.xml.internal.resolver.CatalogManager.relativeCatalogs()
No longer static; use get/set methods.
|
| java.rmi.server.RemoteCall.releaseInputStream()
no replacement
|
| java.rmi.server.RemoteCall.releaseOutputStream()
no replacement
|
com.sun.xml.internal.ws.api.message.HeaderList.remove(int)
HeaderList is monotonic and you can't remove anything.
|
| sun.security.tools.TaggedList.remove(int) |
com.sun.xml.internal.ws.api.message.HeaderList.remove(Object)
HeaderList is monotonic and you can't remove anything.
|
com.sun.xml.internal.ws.api.message.HeaderList.removeAll(Collection>)
HeaderList is monotonic and you can't remove anything.
|
| com.sun.org.apache.xerces.internal.util.EncodingMap.removeIANA2JavaMapping(String)
Use of this method is not recommended. Its
effect is JVM wide and may cause unforeseen behaviour
for other applications running in the system.
|
| com.sun.org.apache.xerces.internal.util.EncodingMap.removeJava2IANAMapping(String)
Use of this method is not recommended. Its
effect is JVM wide and may cause unforeseen behaviour
for other applications running in the system.
|
| javax.swing.plaf.metal.MetalComboBoxUI.removeListeners()
As of Java 2 platform v1.4.
|
| sun.security.tools.TaggedList.replaceItem(String, int) |
| java.awt.TextArea.replaceText(String, int, int)
As of JDK version 1.1,
replaced by replaceRange(String, int, int).
|
| javax.swing.JComponent.requestDefaultFocus()
As of 1.4, replaced by
FocusTraversalPolicy.getDefaultComponent(Container).requestFocus()
|
| com.sun.org.apache.xalan.internal.xsltc.dom.KeyIndex.reset() |
| sun.net.www.http.HttpClient.resetProperties()
-- system properties are no longer cached.
|
javax.swing.JComponent.reshape(int, int, int, int)
As of JDK 5,
replaced by Component.setBounds(int, int, int, int).
Moves and resizes this component.
|
| java.awt.Window.reshape(int, int, int, int)
As of JDK version 1.1,
replaced by setBounds(int, int, int, int).
|
| java.awt.Rectangle.reshape(int, int, int, int)
As of JDK version 1.1,
replaced by setBounds(int, int, int, int).
|
| java.awt.Component.reshape(int, int, int, int)
As of JDK version 1.1,
replaced by setBounds(int, int, int, int).
|
| java.awt.Component.resize(Dimension)
As of JDK version 1.1,
replaced by setSize(Dimension).
|
| java.awt.Rectangle.resize(int, int)
As of JDK version 1.1,
replaced by setSize(int, int).
|
| java.awt.Component.resize(int, int)
As of JDK version 1.1,
replaced by setSize(int, int).
|
java.lang.ThreadGroup.resume()
This method is used solely in conjunction with
Thread.suspend and ThreadGroup.suspend,
both of which have been deprecated, as they are inherently
deadlock-prone. See Thread.suspend() for details.
|
| java.lang.Thread.resume()
|
com.sun.xml.internal.ws.api.message.HeaderList.retainAll(Collection>)
HeaderList is monotonic and you can't remove anything.
|
| com.sun.xml.internal.ws.api.pipe.Fiber.run() |
| java.lang.System.runFinalizersOnExit(boolean)
This method is inherently unsafe. It may result in
finalizers being called on live objects while other threads are
concurrently manipulating those objects, resulting in erratic
behavior or deadlock.
|
| java.lang.Runtime.runFinalizersOnExit(boolean)
This method is inherently unsafe. It may result in
finalizers being called on live objects while other threads are
concurrently manipulating those objects, resulting in erratic
behavior or deadlock.
|
| java.util.Properties.save(OutputStream, String)
This method does not throw an IOException if an I/O error
occurs while saving the property list. The preferred way to save a
properties list is via the store(OutputStream out,
String comments) method or the
storeToXML(OutputStream os, String comment) method.
|
| com.sun.org.apache.xml.internal.security.utils.CachedXPathFuncHereAPI.selectNodeIterator(Node, Node, Node) |
| com.sun.org.apache.xml.internal.security.utils.CachedXPathFuncHereAPI.selectNodeList(Node, Node) |
| 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);
......
|
| javax.swing.JViewport.setBackingStoreEnabled(boolean)
As of Java 2 platform v1.3, replaced by
setScrollMode().
|
| com.sun.xml.internal.stream.buffer.AbstractProcessor.setBuffer(XMLStreamBuffer)
|
| sun.security.pkcs11.Secmod.Module.setConfiguration(String) |
| com.sun.jndi.toolkit.ctx.Continuation.setContinue(Object, Object) |
| java.awt.CheckboxGroup.setCurrent(Checkbox)
As of JDK version 1.1,
replaced by setSelectedCheckbox(Checkbox).
|
| java.awt.Frame.setCursor(int)
As of JDK version 1.1,
replaced by Component.setCursor(Cursor).
|
| java.sql.Time.setDate(int) |
| java.util.Date.setDate(int)
As of JDK version 1.1,
replaced by Calendar.set(Calendar.DAY_OF_MONTH, int date).
|
| java.net.URLConnection.setDefaultRequestProperty(String, String)
The instance specific setRequestProperty method
should be used after an appropriate instance of URLConnection
is obtained. Invoking this method will have no effect.
|
| java.rmi.server.LogStream.setDefaultStream(PrintStream)
no replacement
|
| java.awt.TextField.setEchoCharacter(char)
As of JDK version 1.1,
replaced by setEchoChar(char).
|
| com.sun.org.apache.xerces.internal.dom.CoreDocumentImpl.setEncoding(String)
This method is internal and only exists for
compatibility with older applications. New applications
should never call this method.
|
| javax.xml.bind.Validator.setEventHandler(ValidationEventHandler)
since JAXB2.0
|
| java.sql.Date.setHours(int) |
| java.util.Date.setHours(int)
As of JDK version 1.1,
replaced by Calendar.set(Calendar.HOUR_OF_DAY, int hours).
|
| com.sun.xml.internal.bind.marshaller.DataWriter.setIndentStep(int)
Should use the version that takes string.
|
| com.sun.xml.internal.txw2.output.IndentingXMLStreamWriter.setIndentStep(int)
Should use the version that takes string.
|
| com.sun.xml.internal.txw2.output.IndentingXMLFilter.setIndentStep(int)
Should use the version that takes string.
|
| com.sun.xml.internal.txw2.output.DataWriter.setIndentStep(int)
Should use the version that takes string.
|
| sun.text.normalizer.NormalizerBase.setIndex(int)
ICU 3.2
|
| javax.swing.AbstractButton.setLabel(String)
- Replaced by setText(text)
|
| java.awt.Scrollbar.setLineIncrement(int)
As of JDK version 1.1,
replaced by setUnitIncrement(int).
|
| java.sql.DriverManager.setLogStream(PrintStream) |
| com.sun.org.apache.xalan.internal.xsltc.dom.KeyIndex.setMark() |
javax.management.ValueExp.setMBeanServer(MBeanServer)
This method is not needed because a
ValueExp can access the MBean server in which it
is being evaluated by using QueryEval.getMBeanServer().
|
| javax.swing.JRootPane.setMenuBar(JMenuBar)
As of Swing version 1.0.3
replaced by setJMenuBar(JMenuBar menu).
|
| javax.swing.JInternalFrame.setMenuBar(JMenuBar)
As of Swing version 1.0.3
replaced by setJMenuBar(JMenuBar m).
|
| java.sql.Date.setMinutes(int) |
| java.util.Date.setMinutes(int)
As of JDK version 1.1,
replaced by Calendar.set(Calendar.MINUTE, int minutes).
|
| java.awt.event.KeyEvent.setModifiers(int)
as of JDK1.1.4
|
| java.sql.Time.setMonth(int) |
| java.util.Date.setMonth(int)
As of JDK version 1.1,
replaced by Calendar.set(Calendar.MONTH, int month).
|
| java.awt.List.setMultipleSelections(boolean)
As of JDK version 1.1,
replaced by setMultipleMode(boolean).
|
| javax.swing.JComponent.setNextFocusableComponent(Component)
As of 1.4, replaced by FocusTraversalPolicy
|
| javax.management.monitor.MonitorMBean.setObservedObject(ObjectName)
|
| javax.management.monitor.Monitor.setObservedObject(ObjectName)
|
| java.rmi.server.LogStream.setOutputStream(OutputStream)
no replacement
|
| java.awt.Scrollbar.setPageIncrement(int)
As of JDK version 1.1,
replaced by setBlockIncrement().
|
| java.security.Signature.setParameter(String, Object)
|
| javax.xml.bind.Validator.setProperty(String, Object)
since JAXB2.0
|
| java.rmi.server.RemoteStub.setRef(RemoteStub, RemoteRef)
no replacement. The setRef method
is not needed since RemoteStubs can be created with
the RemoteStub(RemoteRef) constructor.
|
| java.sql.Date.setSeconds(int) |
| java.util.Date.setSeconds(int)
As of JDK version 1.1,
replaced by Calendar.set(Calendar.SECOND, int seconds).
|
| com.sun.org.apache.xerces.internal.dom.CoreDocumentImpl.setStandalone(boolean)
This method is internal and only exists for
compatibility with older applications. New applications
should never call this method.
|
| com.sun.org.apache.xalan.internal.xsltc.dom.KeyIndex.setStartNode(int) |
| javax.management.monitor.CounterMonitorMBean.setThreshold(Number)
|
| javax.management.monitor.CounterMonitor.setThreshold(Number)
|
| java.net.MulticastSocket.setTTL(byte)
use the setTimeToLive method instead, which uses
int instead of byte as the type for ttl.
|
| java.net.DatagramSocketImpl.setTTL(byte)
use setTimeToLive instead.
|
| javax.sql.rowset.BaseRowSet.setUnicodeStream(int, InputStream, int)
getCharacterStream should be used in its place
|
| java.sql.PreparedStatement.setUnicodeStream(int, InputStream, int) |
| java.net.URLStreamHandler.setURL(URL, String, String, int, String, String)
Use setURL(URL, String, String, int, String, String, String,
String);
|
| javax.xml.bind.Unmarshaller.setValidating(boolean)
|
| com.sun.xml.internal.bind.v2.runtime.unmarshaller.UnmarshallerImpl.setValidating(boolean)
since 2.0
|
| sun.security.validator.Validator.setValidationDate(Date) |
| com.sun.org.apache.xerces.internal.dom.CoreDocumentImpl.setVersion(String)
This method is internal and only exists for
compatibility with older applications. New applications
should never call this method.
|
| com.sun.xml.internal.stream.buffer.sax.SAXBufferProcessor.setXMLStreamBuffer(XMLStreamBuffer)
|
| com.sun.xml.internal.stream.buffer.stax.StreamWriterBufferProcessor.setXMLStreamBuffer(XMLStreamBuffer)
|
| java.sql.Time.setYear(int) |
| java.util.Date.setYear(int)
As of JDK version 1.1,
replaced by Calendar.set(Calendar.YEAR, year + 1900).
|
| java.awt.Window.show()
|
| java.awt.Dialog.show()
|
| java.awt.Component.show()
As of JDK version 1.1,
replaced by setVisible(boolean).
|
| java.awt.Component.show(boolean)
As of JDK version 1.1,
replaced by setVisible(boolean).
|
| java.awt.Component.size()
As of JDK version 1.1,
replaced by getSize().
|
| javax.swing.JTable.sizeColumnsToFit(boolean)
As of Swing version 1.0.3,
replaced by doLayout().
|
| com.sun.xml.internal.ws.api.wsdl.writer.WSDLGeneratorExtension.start(TypedXmlWriter, SEIModel, WSBinding, Container) |
| com.sun.xml.internal.ws.api.server.Invoker.start(WebServiceContext)
|
| com.sun.xml.internal.ws.api.server.InstanceResolver.start(WebServiceContext)
|
| com.sun.org.apache.xml.internal.resolver.CatalogManager.staticCatalog()
No longer static; use get/set methods.
|
sun.misc.Unsafe.staticFieldBase(Class)
As of 1.4.1, use Unsafe.staticFieldBase(Field)
to obtain the base pertaining to a specific Field.
This method works only for JVMs which store all statics
for a given class in one place.
|
| java.lang.ThreadGroup.stop()
|
java.lang.Thread.stop()
This method is inherently unsafe. Stopping a thread with
Thread.stop causes it to unlock all of the monitors that it
has locked (as a natural consequence of the unchecked
ThreadDeath exception propagating up the stack). If
any of the objects previously protected by these monitors were in
an inconsistent state, the damaged objects become visible to
other threads, potentially resulting in arbitrary behavior. Many
uses of stop should be replaced by code that simply
modifies some variable to indicate that the target thread should
stop running. The target thread should check this variable
regularly, and return from its run method in an orderly fashion
if the variable indicates that it is to stop running. If the
target thread waits for long periods (on a condition variable,
for example), the interrupt method should be used to
interrupt the wait.
For more information, see
Why
are Thread.stop, Thread.suspend and Thread.resume Deprecated?.
|
| java.lang.Thread.stop(Throwable)
|
| java.lang.ThreadGroup.suspend()
|
java.lang.Thread.suspend()
This method has been deprecated, as it is
inherently deadlock-prone. If the target thread holds a lock on the
monitor protecting a critical system resource when it is suspended, no
thread can access this resource until the target thread is resumed. If
the thread that would resume the target thread attempts to lock this
monitor prior to calling resume, deadlock results. Such
deadlocks typically manifest themselves as "frozen" processes.
For more information, see
Why
are Thread.stop, Thread.suspend and Thread.resume Deprecated?.
|
| sun.misc.VM.suspendThreads() |
| com.sun.management.jmx.Introspector.testCompliance(Class)
This class is internal and should not be used.
|
| sun.misc.VM.threadsSuspended() |
| com.sun.xml.internal.messaging.saaj.util.ByteOutputStream.toByteArray()
because this is evil!
|
| com.sun.xml.internal.ws.util.ByteArrayBuffer.toByteArray()
this method causes a buffer reallocation. Use it only when
you have to.
|
| java.util.Date.toGMTString()
As of JDK version 1.1,
replaced by DateFormat.format(Date date), using a
GMT TimeZone.
|
| java.util.Date.toLocaleString()
As of JDK version 1.1,
replaced by DateFormat.format(Date date).
|
| java.rmi.server.Operation.toString()
no replacement
|
| java.rmi.server.LogStream.toString()
no replacement
|
| java.io.ByteArrayOutputStream.toString(int)
This method does not properly convert bytes into characters.
As of JDK 1.1, the preferred way to do this is via the
toString(String enc) method, which takes an encoding-name
argument, or the toString() method, which uses the
platform's default character encoding.
|
java.io.File.toURL()
This method does not automatically escape characters that
are illegal in URLs. It is recommended that new code convert an
abstract pathname into a URL by first converting it into a URI, via the
toURI method, and then converting the URI into a URL
via the URI.toURL method.
|
com.sun.codemodel.internal.JPrimitiveType.unboxify()
calling this method from JPrimitiveType
would be meaningless, since it's always guaranteed to
return this.
|
com.sun.xml.internal.ws.api.message.HeaderList.understood(Header)
By the deifnition of ArrayList, this operation requires
O(n) search of the array, and thus inherently inefficient.
Because of this, if you are developing a Pipe for
a performance sensitive environment, do not use this method.
|
| com.sun.xml.internal.bind.v2.runtime.unmarshaller.UnmarshallerImpl.unmarshal(SAXSource) |
| sun.misc.VM.unsuspendSomeThreads() |
| sun.misc.VM.unsuspendThreads() |
| java.util.Date.UTC(int, int, int, int, int, int)
As of JDK version 1.1,
replaced by Calendar.set(year + 1900, month, date,
hrs, min, sec) or GregorianCalendar(year + 1900,
month, date, hrs, min, sec), using a UTC
TimeZone, followed by Calendar.getTime().getTime().
|
| javax.xml.bind.Validator.validate(Object)
since JAXB2.0
|
| javax.xml.bind.Validator.validateRoot(Object)
since JAXB2.0
|
| com.sun.org.apache.xml.internal.resolver.CatalogManager.verbosity()
No longer static; use get/set methods.
|
| javax.swing.text.View.viewToModel(float, float, Shape) |
| com.sun.corba.se.pept.protocol.MessageMediator.waitForResponse() |
| java.rmi.server.LogStream.write(byte[], int, int)
no replacement
|
| java.rmi.server.LogStream.write(int)
no replacement
|
java.io.ObjectOutputStream.PutField.write(ObjectOutput)
This method does not write the values contained by this
PutField object in a proper format, and may
result in corruption of the serialization stream. The
correct way to write PutField data is by
calling the ObjectOutputStream.writeFields()
method.
|
| sun.net.www.http.HttpClient.writeRequests(MessageHeader) |
| com.sun.xml.internal.stream.buffer.XMLStreamBuffer.writeTo(ContentHandler)
|
| com.sun.xml.internal.stream.buffer.XMLStreamBuffer.writeToXMLStreamWriter(XMLStreamWriter)
|