# HG changeset patch # User henryjen # Date 1401843057 25200 # Tue Jun 03 17:50:57 2014 -0700 # Node ID 2814e51f8da399cb7b8cfa14b377217282b54a85 # Parent b84aa47bbe0ea23d00c6e46437904774c4a69249 8044740: Convert all JDK versions used in @since tag to 1.n[.n] in jdk repo Reviewed-by: diff --git a/src/macosx/classes/sun/lwawt/macosx/LWCToolkit.java b/src/macosx/classes/sun/lwawt/macosx/LWCToolkit.java --- a/src/macosx/classes/sun/lwawt/macosx/LWCToolkit.java +++ b/src/macosx/classes/sun/lwawt/macosx/LWCToolkit.java @@ -523,7 +523,7 @@ * that is used for menu shortcuts on this toolkit. * @see java.awt.MenuBar * @see java.awt.MenuShortcut - * @since JDK1.1 + * @since 1.1 */ @Override public int getMenuShortcutKeyMask() { diff --git a/src/share/classes/com/sun/java/util/jar/pack/ConstantPool.java b/src/share/classes/com/sun/java/util/jar/pack/ConstantPool.java --- a/src/share/classes/com/sun/java/util/jar/pack/ConstantPool.java +++ b/src/share/classes/com/sun/java/util/jar/pack/ConstantPool.java @@ -839,7 +839,7 @@ return parts; } - /** @since JDK 7, JSR 292 */ + /** @since 1.7, JSR 292 */ public static class MethodHandleEntry extends Entry { final int refKind; @@ -889,7 +889,7 @@ } } - /** @since JDK 7, JSR 292 */ + /** @since 1.7, JSR 292 */ public static class MethodTypeEntry extends Entry { final SignatureEntry typeRef; @@ -924,7 +924,7 @@ } } - /** @since JDK 7, JSR 292 */ + /** @since 1.7, JSR 292 */ public static class InvokeDynamicEntry extends Entry { final BootstrapMethodEntry bssRef; @@ -977,7 +977,7 @@ } } - /** @since JDK 7, JSR 292 */ + /** @since 1.7, JSR 292 */ public static class BootstrapMethodEntry extends Entry { final MethodHandleEntry bsmRef; diff --git a/src/share/classes/com/sun/java/util/jar/pack/package.html b/src/share/classes/com/sun/java/util/jar/pack/package.html --- a/src/share/classes/com/sun/java/util/jar/pack/package.html +++ b/src/share/classes/com/sun/java/util/jar/pack/package.html @@ -2,7 +2,7 @@ diff --git a/src/share/classes/com/sun/management/DiagnosticCommandMBean.java b/src/share/classes/com/sun/management/DiagnosticCommandMBean.java --- a/src/share/classes/com/sun/management/DiagnosticCommandMBean.java +++ b/src/share/classes/com/sun/management/DiagnosticCommandMBean.java @@ -212,7 +212,7 @@ * {@linkplain javax.management.Notification#getUserData() userData} that * is the new {@code MBeanInfo}. * - * @since 8 + * @since 1.8 */ public interface DiagnosticCommandMBean extends DynamicMBean { diff --git a/src/share/classes/com/sun/rowset/CachedRowSetImpl.java b/src/share/classes/com/sun/rowset/CachedRowSetImpl.java --- a/src/share/classes/com/sun/rowset/CachedRowSetImpl.java +++ b/src/share/classes/com/sun/rowset/CachedRowSetImpl.java @@ -7697,7 +7697,7 @@ * @param columnIndex the first column is 1, the second is 2, ... * @return a SQLXML object that maps an SQL XML value * @throws SQLException if a database access error occurs - * @since 6.0 + * @since 1.6 */ public SQLXML getSQLXML(int columnIndex) throws SQLException { throw new SQLFeatureNotSupportedException(resBundle.handleGetObject("cachedrowsetimpl.opnotysupp").toString()); @@ -7723,7 +7723,7 @@ * @return the column value if the value is a SQL NULL the * value returned is null * @throws SQLException if a database access error occurs - * @since 6.0 + * @since 1.6 */ public RowId getRowId(int columnIndex) throws SQLException { throw new SQLFeatureNotSupportedException(resBundle.handleGetObject("cachedrowsetimpl.opnotysupp").toString()); @@ -7738,7 +7738,7 @@ * @return the column value if the value is a SQL NULL the * value returned is null * @throws SQLException if a database access error occurs - * @since 6.0 + * @since 1.6 */ public RowId getRowId(String columnName) throws SQLException { throw new SQLFeatureNotSupportedException(resBundle.handleGetObject("cachedrowsetimpl.opnotysupp").toString()); @@ -7754,7 +7754,7 @@ * @param columnIndex the first column is 1, the second 2, ... * @param x the column value * @throws SQLException if a database access occurs - * @since 6.0 + * @since 1.6 */ public void updateRowId(int columnIndex, RowId x) throws SQLException { throw new SQLFeatureNotSupportedException(resBundle.handleGetObject("cachedrowsetimpl.opnotysupp").toString()); @@ -7770,7 +7770,7 @@ * @param columnName the name of the column * @param x the column value * @throws SQLException if a database access occurs - * @since 6.0 + * @since 1.6 */ public void updateRowId(String columnName, RowId x) throws SQLException { throw new SQLFeatureNotSupportedException(resBundle.handleGetObject("cachedrowsetimpl.opnotysupp").toString()); @@ -7780,7 +7780,7 @@ * Retrieves the holdability of this ResultSet object * @return either ResultSet.HOLD_CURSORS_OVER_COMMIT or ResultSet.CLOSE_CURSORS_AT_COMMIT * @throws SQLException if a database error occurs - * @since 6.0 + * @since 1.6 */ public int getHoldability() throws SQLException { throw new SQLFeatureNotSupportedException(resBundle.handleGetObject("cachedrowsetimpl.opnotysupp").toString()); @@ -7791,7 +7791,7 @@ * method close has been called on it, or if it is automatically closed. * @return true if this ResultSet object is closed; false if it is still open * @throws SQLException if a database access error occurs - * @since 6.0 + * @since 1.6 */ public boolean isClosed() throws SQLException { throw new SQLFeatureNotSupportedException(resBundle.handleGetObject("cachedrowsetimpl.opnotysupp").toString()); @@ -7803,7 +7803,7 @@ * @param columnIndex the first column is 1, the second 2, ... * @param nString the value for the column to be updated * @throws SQLException if a database access error occurs - * @since 6.0 + * @since 1.6 */ public void updateNString(int columnIndex, String nString) throws SQLException { throw new SQLFeatureNotSupportedException(resBundle.handleGetObject("cachedrowsetimpl.opnotysupp").toString()); @@ -7815,7 +7815,7 @@ * @param columnName name of the Column * @param nString the value for the column to be updated * @throws SQLException if a database access error occurs - * @since 6.0 + * @since 1.6 */ public void updateNString(String columnName, String nString) throws SQLException { throw new SQLFeatureNotSupportedException(resBundle.handleGetObject("cachedrowsetimpl.opnotysupp").toString()); @@ -7828,7 +7828,7 @@ * @param columnIndex the first column is 1, the second 2, ... * @param nClob the value for the column to be updated * @throws SQLException if a database access error occurs - * @since 6.0 + * @since 1.6 */ public void updateNClob(int columnIndex, NClob nClob) throws SQLException { throw new SQLFeatureNotSupportedException(resBundle.handleGetObject("cachedrowsetimpl.opnotysupp").toString()); @@ -7840,7 +7840,7 @@ * @param columnName name of the column * @param nClob the value for the column to be updated * @throws SQLException if a database access error occurs - * @since 6.0 + * @since 1.6 */ public void updateNClob(String columnName, NClob nClob) throws SQLException { throw new SQLFeatureNotSupportedException(resBundle.handleGetObject("cachedrowsetimpl.opnotysupp").toString()); @@ -7855,7 +7855,7 @@ * @return a NClob object representing the SQL * NCLOB value in the specified column * @exception SQLException if a database access error occurs - * @since 6.0 + * @since 1.6 */ public NClob getNClob(int i) throws SQLException { throw new SQLFeatureNotSupportedException(resBundle.handleGetObject("cachedrowsetimpl.opnotysupp").toString()); @@ -7871,7 +7871,7 @@ * @return a NClob object representing the SQL NCLOB * value in the specified column * @exception SQLException if a database access error occurs - * @since 6.0 + * @since 1.6 */ public NClob getNClob(String colName) throws SQLException { throw new SQLFeatureNotSupportedException(resBundle.handleGetObject("cachedrowsetimpl.opnotysupp").toString()); diff --git a/src/share/classes/com/sun/rowset/JdbcRowSetImpl.java b/src/share/classes/com/sun/rowset/JdbcRowSetImpl.java --- a/src/share/classes/com/sun/rowset/JdbcRowSetImpl.java +++ b/src/share/classes/com/sun/rowset/JdbcRowSetImpl.java @@ -4505,7 +4505,7 @@ * @param columnIndex the first column is 1, the second is 2, ... * @return a SQLXML object that maps an SQL XML value * @throws SQLException if a database access error occurs - * @since 6.0 + * @since 1.6 */ public SQLXML getSQLXML(int columnIndex) throws SQLException { throw new SQLFeatureNotSupportedException(resBundle.handleGetObject("jdbcrowsetimpl.featnotsupp").toString()); @@ -4531,7 +4531,7 @@ * @return the column value if the value is a SQL NULL the * value returned is null * @throws SQLException if a database access error occurs - * @since 6.0 + * @since 1.6 */ public RowId getRowId(int columnIndex) throws SQLException { throw new SQLFeatureNotSupportedException(resBundle.handleGetObject("jdbcrowsetimpl.featnotsupp").toString()); @@ -4546,7 +4546,7 @@ * @return the column value if the value is a SQL NULL the * value returned is null * @throws SQLException if a database access error occurs - * @since 6.0 + * @since 1.6 */ public RowId getRowId(String columnName) throws SQLException { throw new SQLFeatureNotSupportedException(resBundle.handleGetObject("jdbcrowsetimpl.featnotsupp").toString()); @@ -4562,7 +4562,7 @@ * @param columnIndex the first column is 1, the second 2, ... * @param x the column value * @throws SQLException if a database access occurs - * @since 6.0 + * @since 1.6 */ public void updateRowId(int columnIndex, RowId x) throws SQLException { throw new SQLFeatureNotSupportedException(resBundle.handleGetObject("jdbcrowsetimpl.featnotsupp").toString()); @@ -4578,7 +4578,7 @@ * @param columnName the name of the column * @param x the column value * @throws SQLException if a database access occurs - * @since 6.0 + * @since 1.6 */ public void updateRowId(String columnName, RowId x) throws SQLException { throw new SQLFeatureNotSupportedException(resBundle.handleGetObject("jdbcrowsetimpl.featnotsupp").toString()); @@ -4588,7 +4588,7 @@ * Retrieves the holdability of this ResultSet object * @return either ResultSet.HOLD_CURSORS_OVER_COMMIT or ResultSet.CLOSE_CURSORS_AT_COMMIT * @throws SQLException if a database error occurs - * @since 6.0 + * @since 1.6 */ public int getHoldability() throws SQLException { throw new SQLFeatureNotSupportedException(resBundle.handleGetObject("jdbcrowsetimpl.featnotsupp").toString()); @@ -4599,7 +4599,7 @@ * method close has been called on it, or if it is automatically closed. * @return true if this ResultSet object is closed; false if it is still open * @throws SQLException if a database access error occurs - * @since 6.0 + * @since 1.6 */ public boolean isClosed() throws SQLException { throw new SQLFeatureNotSupportedException(resBundle.handleGetObject("jdbcrowsetimpl.featnotsupp").toString()); @@ -4611,7 +4611,7 @@ * @param columnIndex the first column is 1, the second 2, ... * @param nString the value for the column to be updated * @throws SQLException if a database access error occurs - * @since 6.0 + * @since 1.6 */ public void updateNString(int columnIndex, String nString) throws SQLException { throw new SQLFeatureNotSupportedException(resBundle.handleGetObject("jdbcrowsetimpl.featnotsupp").toString()); @@ -4623,7 +4623,7 @@ * @param columnName name of the Column * @param nString the value for the column to be updated * @throws SQLException if a database access error occurs - * @since 6.0 + * @since 1.6 */ public void updateNString(String columnName, String nString) throws SQLException { throw new SQLFeatureNotSupportedException(resBundle.handleGetObject("jdbcrowsetimpl.featnotsupp").toString()); @@ -4636,7 +4636,7 @@ * @param columnIndex the first column is 1, the second 2, ... * @param nClob the value for the column to be updated * @throws SQLException if a database access error occurs - * @since 6.0 + * @since 1.6 */ public void updateNClob(int columnIndex, NClob nClob) throws SQLException { throw new SQLFeatureNotSupportedException(resBundle.handleGetObject("jdbcrowsetimpl.featnotsupp").toString()); @@ -4648,7 +4648,7 @@ * @param columnName name of the column * @param nClob the value for the column to be updated * @throws SQLException if a database access error occurs - * @since 6.0 + * @since 1.6 */ public void updateNClob(String columnName, NClob nClob) throws SQLException { throw new SQLFeatureNotSupportedException(resBundle.handleGetObject("jdbcrowsetimpl.featnotsupp").toString()); @@ -4663,7 +4663,7 @@ * @return a NClob object representing the SQL * NCLOB value in the specified column * @exception SQLException if a database access error occurs - * @since 6.0 + * @since 1.6 */ public NClob getNClob(int i) throws SQLException { throw new SQLFeatureNotSupportedException(resBundle.handleGetObject("jdbcrowsetimpl.featnotsupp").toString()); @@ -4679,7 +4679,7 @@ * @return a NClob object representing the SQL NCLOB * value in the specified column * @exception SQLException if a database access error occurs - * @since 6.0 + * @since 1.6 */ public NClob getNClob(String colName) throws SQLException { throw new SQLFeatureNotSupportedException(resBundle.handleGetObject("jdbcrowsetimpl.featnotsupp").toString()); diff --git a/src/share/classes/java/applet/Applet.java b/src/share/classes/java/applet/Applet.java --- a/src/share/classes/java/applet/Applet.java +++ b/src/share/classes/java/applet/Applet.java @@ -45,7 +45,7 @@ * * @author Arthur van Hoff * @author Chris Warth - * @since JDK1.0 + * @since 1.0 */ public class Applet extends Panel { @@ -375,7 +375,7 @@ * * @return the locale of the applet; if no locale has * been set, the default locale is returned. - * @since JDK1.1 + * @since 1.1 */ public Locale getLocale() { Locale locale = super.getLocale(); diff --git a/src/share/classes/java/applet/AppletContext.java b/src/share/classes/java/applet/AppletContext.java --- a/src/share/classes/java/applet/AppletContext.java +++ b/src/share/classes/java/applet/AppletContext.java @@ -43,7 +43,7 @@ * information about its environment. * * @author Arthur van Hoff - * @since JDK1.0 + * @since 1.0 */ public interface AppletContext { /** diff --git a/src/share/classes/java/applet/AppletStub.java b/src/share/classes/java/applet/AppletStub.java --- a/src/share/classes/java/applet/AppletStub.java +++ b/src/share/classes/java/applet/AppletStub.java @@ -35,7 +35,7 @@ * * @author Arthur van Hoff * @see java.applet.Applet#setStub(java.applet.AppletStub) - * @since JDK1.0 + * @since 1.0 */ public interface AppletStub { /** diff --git a/src/share/classes/java/applet/AudioClip.java b/src/share/classes/java/applet/AudioClip.java --- a/src/share/classes/java/applet/AudioClip.java +++ b/src/share/classes/java/applet/AudioClip.java @@ -32,7 +32,7 @@ * together to produce a composite. * * @author Arthur van Hoff - * @since JDK1.0 + * @since 1.0 */ public interface AudioClip { /** diff --git a/src/share/classes/java/applet/package.html b/src/share/classes/java/applet/package.html --- a/src/share/classes/java/applet/package.html +++ b/src/share/classes/java/applet/package.html @@ -31,8 +31,8 @@ uses to communicate with its applet context.

The applet framework involves two -entities: the applet and the applet context. An applet is an -embeddable window (see the Panel class) with a few extra methods that the applet +entities: the applet and the applet context. An applet is an +embeddable window (see the Panel class) with a few extra methods that the applet context can use to initialize, start, and stop the applet.

The applet context is an application that is responsible for loading and running @@ -55,6 +55,6 @@ --> -@since JDK1.0 +@since 1.0 diff --git a/src/share/classes/java/awt/AWTError.java b/src/share/classes/java/awt/AWTError.java --- a/src/share/classes/java/awt/AWTError.java +++ b/src/share/classes/java/awt/AWTError.java @@ -41,7 +41,7 @@ * Constructs an instance of AWTError with the specified * detail message. * @param msg the detail message. - * @since JDK1.0 + * @since 1.0 */ public AWTError(String msg) { super(msg); diff --git a/src/share/classes/java/awt/AWTException.java b/src/share/classes/java/awt/AWTException.java --- a/src/share/classes/java/awt/AWTException.java +++ b/src/share/classes/java/awt/AWTException.java @@ -43,7 +43,7 @@ * instance of String that describes this particular * exception. * @param msg the detail message - * @since JDK1.0 + * @since 1.0 */ public AWTException(String msg) { super(msg); diff --git a/src/share/classes/java/awt/BorderLayout.java b/src/share/classes/java/awt/BorderLayout.java --- a/src/share/classes/java/awt/BorderLayout.java +++ b/src/share/classes/java/awt/BorderLayout.java @@ -119,7 +119,7 @@ * @author Arthur van Hoff * @see java.awt.Container#add(String, Component) * @see java.awt.ComponentOrientation - * @since JDK1.0 + * @since 1.0 */ public class BorderLayout implements LayoutManager2, java.io.Serializable { @@ -367,7 +367,7 @@ /** * Returns the horizontal gap between components. - * @since JDK1.1 + * @since 1.1 */ public int getHgap() { return hgap; @@ -376,7 +376,7 @@ /** * Sets the horizontal gap between components. * @param hgap the horizontal gap between components - * @since JDK1.1 + * @since 1.1 */ public void setHgap(int hgap) { this.hgap = hgap; @@ -384,7 +384,7 @@ /** * Returns the vertical gap between components. - * @since JDK1.1 + * @since 1.1 */ public int getVgap() { return vgap; @@ -393,7 +393,7 @@ /** * Sets the vertical gap between components. * @param vgap the vertical gap between components - * @since JDK1.1 + * @since 1.1 */ public void setVgap(int vgap) { this.vgap = vgap; @@ -415,7 +415,7 @@ * @see java.awt.Container#add(java.awt.Component, java.lang.Object) * @exception IllegalArgumentException if the constraint object is not * a string, or if it not one of the five specified constants. - * @since JDK1.1 + * @since 1.1 */ public void addLayoutComponent(Component comp, Object constraints) { synchronized (comp.getTreeLock()) { diff --git a/src/share/classes/java/awt/Button.java b/src/share/classes/java/awt/Button.java --- a/src/share/classes/java/awt/Button.java +++ b/src/share/classes/java/awt/Button.java @@ -82,7 +82,7 @@ * @see java.awt.event.ActionListener * @see java.awt.Component#processMouseEvent * @see java.awt.Component#addMouseListener - * @since JDK1.0 + * @since 1.0 */ public class Button extends Component implements Accessible { @@ -228,7 +228,7 @@ * If the string is null then the action command * is set to match the label of the button. * @see java.awt.event.ActionEvent - * @since JDK1.1 + * @since 1.1 */ public void setActionCommand(String command) { actionCommand = command; @@ -255,7 +255,7 @@ * @see #removeActionListener * @see #getActionListeners * @see java.awt.event.ActionListener - * @since JDK1.1 + * @since 1.1 */ public synchronized void addActionListener(ActionListener l) { if (l == null) { @@ -277,7 +277,7 @@ * @see #addActionListener * @see #getActionListeners * @see java.awt.event.ActionListener - * @since JDK1.1 + * @since 1.1 */ public synchronized void removeActionListener(ActionListener l) { if (l == null) { @@ -370,7 +370,7 @@ * @param e the event * @see java.awt.event.ActionEvent * @see java.awt.Button#processActionEvent - * @since JDK1.1 + * @since 1.1 */ protected void processEvent(AWTEvent e) { if (e instanceof ActionEvent) { @@ -401,7 +401,7 @@ * @see java.awt.event.ActionListener * @see java.awt.Button#addActionListener * @see java.awt.Component#enableEvents - * @since JDK1.1 + * @since 1.1 */ protected void processActionEvent(ActionEvent e) { ActionListener listener = actionListener; diff --git a/src/share/classes/java/awt/Canvas.java b/src/share/classes/java/awt/Canvas.java --- a/src/share/classes/java/awt/Canvas.java +++ b/src/share/classes/java/awt/Canvas.java @@ -39,7 +39,7 @@ * in order to perform custom graphics on the canvas. * * @author Sami Shaio - * @since JDK1.0 + * @since 1.0 */ public class Canvas extends Component implements Accessible { diff --git a/src/share/classes/java/awt/CardLayout.java b/src/share/classes/java/awt/CardLayout.java --- a/src/share/classes/java/awt/CardLayout.java +++ b/src/share/classes/java/awt/CardLayout.java @@ -53,7 +53,7 @@ * * @author Arthur van Hoff * @see java.awt.Container - * @since JDK1.0 + * @since 1.0 */ public class CardLayout implements LayoutManager2, @@ -148,7 +148,7 @@ * @return the horizontal gap between components. * @see java.awt.CardLayout#setHgap(int) * @see java.awt.CardLayout#getVgap() - * @since JDK1.1 + * @since 1.1 */ public int getHgap() { return hgap; @@ -159,7 +159,7 @@ * @param hgap the horizontal gap between components. * @see java.awt.CardLayout#getHgap() * @see java.awt.CardLayout#setVgap(int) - * @since JDK1.1 + * @since 1.1 */ public void setHgap(int hgap) { this.hgap = hgap; @@ -180,7 +180,7 @@ * @param vgap the vertical gap between components. * @see java.awt.CardLayout#getVgap() * @see java.awt.CardLayout#setHgap(int) - * @since JDK1.1 + * @since 1.1 */ public void setVgap(int vgap) { this.vgap = vgap; diff --git a/src/share/classes/java/awt/Checkbox.java b/src/share/classes/java/awt/Checkbox.java --- a/src/share/classes/java/awt/Checkbox.java +++ b/src/share/classes/java/awt/Checkbox.java @@ -71,7 +71,7 @@ * @author Sami Shaio * @see java.awt.GridLayout * @see java.awt.CheckboxGroup - * @since JDK1.0 + * @since 1.0 */ public class Checkbox extends Component implements ItemSelectable, Accessible { @@ -190,7 +190,7 @@ * GraphicsEnvironment.isHeadless * returns true * @see java.awt.GraphicsEnvironment#isHeadless - * @since JDK1.1 + * @since 1.1 */ public Checkbox(String label, boolean state, CheckboxGroup group) throws HeadlessException { @@ -216,7 +216,7 @@ * GraphicsEnvironment.isHeadless * returns true * @see java.awt.GraphicsEnvironment#isHeadless - * @since JDK1.1 + * @since 1.1 */ public Checkbox(String label, CheckboxGroup group, boolean state) throws HeadlessException { @@ -424,7 +424,7 @@ * @see #setState * @see java.awt.event.ItemEvent * @see java.awt.event.ItemListener - * @since JDK1.1 + * @since 1.1 */ public synchronized void addItemListener(ItemListener l) { if (l == null) { @@ -446,7 +446,7 @@ * @see #getItemListeners * @see java.awt.event.ItemEvent * @see java.awt.event.ItemListener - * @since JDK1.1 + * @since 1.1 */ public synchronized void removeItemListener(ItemListener l) { if (l == null) { @@ -540,7 +540,7 @@ * @param e the event * @see java.awt.event.ItemEvent * @see #processItemEvent - * @since JDK1.1 + * @since 1.1 */ protected void processEvent(AWTEvent e) { if (e instanceof ItemEvent) { @@ -572,7 +572,7 @@ * @see java.awt.event.ItemListener * @see #addItemListener * @see java.awt.Component#enableEvents - * @since JDK1.1 + * @since 1.1 */ protected void processItemEvent(ItemEvent e) { ItemListener listener = itemListener; diff --git a/src/share/classes/java/awt/CheckboxGroup.java b/src/share/classes/java/awt/CheckboxGroup.java --- a/src/share/classes/java/awt/CheckboxGroup.java +++ b/src/share/classes/java/awt/CheckboxGroup.java @@ -52,7 +52,7 @@ * * @author Sami Shaio * @see java.awt.Checkbox - * @since JDK1.0 + * @since 1.0 */ public class CheckboxGroup implements java.io.Serializable { /** @@ -84,7 +84,7 @@ * "on" state, or null. * @see java.awt.Checkbox * @see java.awt.CheckboxGroup#setSelectedCheckbox - * @since JDK1.1 + * @since 1.1 */ public Checkbox getSelectedCheckbox() { return getCurrent(); @@ -113,7 +113,7 @@ * current selection. * @see java.awt.Checkbox * @see java.awt.CheckboxGroup#getSelectedCheckbox - * @since JDK1.1 + * @since 1.1 */ public void setSelectedCheckbox(Checkbox box) { setCurrent(box); diff --git a/src/share/classes/java/awt/CheckboxMenuItem.java b/src/share/classes/java/awt/CheckboxMenuItem.java --- a/src/share/classes/java/awt/CheckboxMenuItem.java +++ b/src/share/classes/java/awt/CheckboxMenuItem.java @@ -59,7 +59,7 @@ * @author Sami Shaio * @see java.awt.event.ItemEvent * @see java.awt.event.ItemListener - * @since JDK1.0 + * @since 1.0 */ public class CheckboxMenuItem extends MenuItem implements ItemSelectable, Accessible { @@ -102,7 +102,7 @@ * @exception HeadlessException if GraphicsEnvironment.isHeadless() * returns true * @see java.awt.GraphicsEnvironment#isHeadless - * @since JDK1.1 + * @since 1.1 */ public CheckboxMenuItem() throws HeadlessException { this("", false); @@ -132,7 +132,7 @@ * @exception HeadlessException if GraphicsEnvironment.isHeadless() * returns true * @see java.awt.GraphicsEnvironment#isHeadless - * @since JDK1.1 + * @since 1.1 */ public CheckboxMenuItem(String label, boolean state) throws HeadlessException { @@ -231,7 +231,7 @@ * @see #setState * @see java.awt.event.ItemEvent * @see java.awt.event.ItemListener - * @since JDK1.1 + * @since 1.1 */ public synchronized void addItemListener(ItemListener l) { if (l == null) { @@ -253,7 +253,7 @@ * @see #getItemListeners * @see java.awt.event.ItemEvent * @see java.awt.event.ItemListener - * @since JDK1.1 + * @since 1.1 */ public synchronized void removeItemListener(ItemListener l) { if (l == null) { @@ -350,7 +350,7 @@ * @param e the event * @see java.awt.event.ItemEvent * @see #processItemEvent - * @since JDK1.1 + * @since 1.1 */ protected void processEvent(AWTEvent e) { if (e instanceof ItemEvent) { @@ -381,7 +381,7 @@ * @see java.awt.event.ItemListener * @see #addItemListener * @see java.awt.MenuItem#enableEvents - * @since JDK1.1 + * @since 1.1 */ protected void processItemEvent(ItemEvent e) { ItemListener listener = itemListener; diff --git a/src/share/classes/java/awt/Choice.java b/src/share/classes/java/awt/Choice.java --- a/src/share/classes/java/awt/Choice.java +++ b/src/share/classes/java/awt/Choice.java @@ -68,7 +68,7 @@ * * @author Sami Shaio * @author Arthur van Hoff - * @since JDK1.0 + * @since 1.0 */ public class Choice extends Component implements ItemSelectable, Accessible { /** @@ -158,7 +158,7 @@ * Returns the number of items in this Choice menu. * @return the number of items in this Choice menu * @see #getItem - * @since JDK1.1 + * @since 1.1 */ public int getItemCount() { return countItems(); @@ -196,7 +196,7 @@ * @param item the item to be added * @exception NullPointerException if the item's value is * null - * @since JDK1.1 + * @since 1.1 */ public void add(String item) { addItem(item); @@ -291,7 +291,7 @@ * @param item the item to remove from this Choice menu * @exception IllegalArgumentException if the item doesn't * exist in the choice menu - * @since JDK1.1 + * @since 1.1 */ public void remove(String item) { synchronized (this) { @@ -319,7 +319,7 @@ * @param position the position of the item * @throws IndexOutOfBoundsException if the specified * position is out of bounds - * @since JDK1.1 + * @since 1.1 */ public void remove(int position) { synchronized (this) { @@ -357,7 +357,7 @@ /** * Removes all items from the choice menu. * @see #remove - * @since JDK1.1 + * @since 1.1 */ public void removeAll() { synchronized (this) { @@ -475,7 +475,7 @@ * @see #select * @see java.awt.event.ItemEvent * @see java.awt.event.ItemListener - * @since JDK1.1 + * @since 1.1 */ public synchronized void addItemListener(ItemListener l) { if (l == null) { @@ -497,7 +497,7 @@ * @see #getItemListeners * @see java.awt.event.ItemEvent * @see java.awt.event.ItemListener - * @since JDK1.1 + * @since 1.1 */ public synchronized void removeItemListener(ItemListener l) { if (l == null) { @@ -591,7 +591,7 @@ * @param e the event * @see java.awt.event.ItemEvent * @see #processItemEvent - * @since JDK1.1 + * @since 1.1 */ protected void processEvent(AWTEvent e) { if (e instanceof ItemEvent) { @@ -623,7 +623,7 @@ * @see java.awt.event.ItemListener * @see #addItemListener(ItemListener) * @see java.awt.Component#enableEvents - * @since JDK1.1 + * @since 1.1 */ protected void processItemEvent(ItemEvent e) { ItemListener listener = itemListener; diff --git a/src/share/classes/java/awt/Color.java b/src/share/classes/java/awt/Color.java --- a/src/share/classes/java/awt/Color.java +++ b/src/share/classes/java/awt/Color.java @@ -597,7 +597,7 @@ * @see #getRed * @see #getGreen * @see #getBlue - * @since JDK1.0 + * @since 1.0 */ public int getRGB() { return value; @@ -621,7 +621,7 @@ * a brighter version of this Color * with the same {@code alpha} value. * @see java.awt.Color#darker - * @since JDK1.0 + * @since 1.0 */ public Color brighter() { int r = getRed(); @@ -664,7 +664,7 @@ * a darker version of this Color * with the same {@code alpha} value. * @see java.awt.Color#brighter - * @since JDK1.0 + * @since 1.0 */ public Color darker() { return new Color(Math.max((int)(getRed() *FACTOR), 0), @@ -676,7 +676,7 @@ /** * Computes the hash code for this Color. * @return a hash code value for this object. - * @since JDK1.0 + * @since 1.0 */ public int hashCode() { return value; @@ -693,7 +693,7 @@ * Color * @return true if the objects are the same; * false otherwise. - * @since JDK1.0 + * @since 1.0 */ public boolean equals(Object obj) { return obj instanceof Color && ((Color)obj).getRGB() == this.getRGB(); @@ -723,7 +723,7 @@ * @exception NumberFormatException if the specified string cannot * be interpreted as a decimal, * octal, or hexadecimal integer. - * @since JDK1.1 + * @since 1.1 */ public static Color decode(String nm) throws NumberFormatException { Integer intval = Integer.decode(nm); @@ -747,7 +747,7 @@ * @see java.lang.System#getProperty(java.lang.String) * @see java.lang.Integer#getInteger(java.lang.String) * @see java.awt.Color#Color(int) - * @since JDK1.0 + * @since 1.0 */ public static Color getColor(String nm) { return getColor(nm, null); @@ -771,7 +771,7 @@ * @see java.lang.System#getProperty(java.lang.String) * @see java.lang.Integer#getInteger(java.lang.String) * @see java.awt.Color#Color(int) - * @since JDK1.0 + * @since 1.0 */ public static Color getColor(String nm, Color v) { Integer intval = Integer.getInteger(nm); @@ -801,7 +801,7 @@ * @see java.lang.System#getProperty(java.lang.String) * @see java.lang.Integer#getInteger(java.lang.String) * @see java.awt.Color#Color(int) - * @since JDK1.0 + * @since 1.0 */ public static Color getColor(String nm, int v) { Integer intval = Integer.getInteger(nm); @@ -834,7 +834,7 @@ * @see java.awt.Color#getRGB() * @see java.awt.Color#Color(int) * @see java.awt.image.ColorModel#getRGBdefault() - * @since JDK1.0 + * @since 1.0 */ public static int HSBtoRGB(float hue, float saturation, float brightness) { int r = 0, g = 0, b = 0; @@ -902,7 +902,7 @@ * @see java.awt.Color#getRGB() * @see java.awt.Color#Color(int) * @see java.awt.image.ColorModel#getRGBdefault() - * @since JDK1.0 + * @since 1.0 */ public static float[] RGBtoHSB(int r, int g, int b, float[] hsbvals) { float hue, saturation, brightness; @@ -957,7 +957,7 @@ * @param b the brightness of the color * @return a Color object with the specified hue, * saturation, and brightness. - * @since JDK1.0 + * @since 1.0 */ public static Color getHSBColor(float h, float s, float b) { return new Color(HSBtoRGB(h, s, b)); diff --git a/src/share/classes/java/awt/Component.java b/src/share/classes/java/awt/Component.java --- a/src/share/classes/java/awt/Component.java +++ b/src/share/classes/java/awt/Component.java @@ -1018,7 +1018,7 @@ * Gets the name of the component. * @return this component's name * @see #setName - * @since JDK1.1 + * @since 1.1 */ public String getName() { if (name == null && !nameExplicitlySet) { @@ -1035,7 +1035,7 @@ * @param name the string that is to be this * component's name * @see #getName - * @since JDK1.1 + * @since 1.1 */ public void setName(String name) { String oldName; @@ -1050,7 +1050,7 @@ /** * Gets the parent of this component. * @return the parent container of this component - * @since JDK1.0 + * @since 1.0 */ public Container getParent() { return getParent_NoClientCode(); @@ -1221,7 +1221,7 @@ * toolkit is used by that component. Therefore if the component * is moved from one frame to another, the toolkit it uses may change. * @return the toolkit of this component - * @since JDK1.0 + * @since 1.0 */ public Toolkit getToolkit() { return getToolkitImpl(); @@ -1250,7 +1250,7 @@ * otherwise * @see #validate * @see #invalidate - * @since JDK1.0 + * @since 1.0 */ public boolean isValid() { return (peer != null) && valid; @@ -1292,7 +1292,7 @@ * @return true if the component is visible, * false otherwise * @see #setVisible - * @since JDK1.0 + * @since 1.0 */ @Transient public boolean isVisible() { @@ -1419,7 +1419,7 @@ * @return true if the component is showing, * false otherwise * @see #setVisible - * @since JDK1.0 + * @since 1.0 */ public boolean isShowing() { if (visible && (peer != null)) { @@ -1437,7 +1437,7 @@ * @return true if the component is enabled, * false otherwise * @see #setEnabled - * @since JDK1.0 + * @since 1.0 */ public boolean isEnabled() { return isEnabledImpl(); @@ -1466,7 +1466,7 @@ * enabled; otherwise this component is disabled * @see #isEnabled * @see #isLightweight - * @since JDK1.1 + * @since 1.1 */ public void setEnabled(boolean b) { enable(b); @@ -1611,7 +1611,7 @@ * otherwise, hides this component * @see #isVisible * @see #invalidate - * @since JDK1.1 + * @since 1.1 */ public void setVisible(boolean b) { show(b); @@ -1739,7 +1739,7 @@ * not have a foreground color, the foreground color of its parent * is returned * @see #setForeground - * @since JDK1.0 + * @since 1.0 * @beaninfo * bound: true */ @@ -1760,7 +1760,7 @@ * then this component will inherit * the foreground color of its parent * @see #getForeground - * @since JDK1.0 + * @since 1.0 */ public void setForeground(Color c) { Color oldColor = foreground; @@ -1796,7 +1796,7 @@ * not have a background color, * the background color of its parent is returned * @see #setBackground - * @since JDK1.0 + * @since 1.0 */ @Transient public Color getBackground() { @@ -1819,7 +1819,7 @@ * if this parameter is null, then this * component will inherit the background color of its parent * @see #getBackground - * @since JDK1.0 + * @since 1.0 * @beaninfo * bound: true */ @@ -1856,7 +1856,7 @@ * @return this component's font; if a font has not been set * for this component, the font of its parent is returned * @see #setFont - * @since JDK1.0 + * @since 1.0 */ @Transient public Font getFont() { @@ -1887,7 +1887,7 @@ * component will inherit the font of its parent * @see #getFont * @see #invalidate - * @since JDK1.0 + * @since 1.0 * @beaninfo * bound: true */ @@ -1940,7 +1940,7 @@ * does not have its own locale and has not yet been added to * a containment hierarchy such that the locale can be determined * from the containing parent - * @since JDK1.1 + * @since 1.1 */ public Locale getLocale() { Locale locale = this.locale; @@ -1965,7 +1965,7 @@ * @param l the locale to become this component's locale * @see #getLocale * @see #invalidate - * @since JDK1.1 + * @since 1.1 */ public void setLocale(Locale l) { Locale oldValue = locale; @@ -1986,7 +1986,7 @@ * @see java.awt.image.ColorModel * @see java.awt.peer.ComponentPeer#getColorModel() * @see Toolkit#getColorModel() - * @since JDK1.0 + * @since 1.0 */ public ColorModel getColorModel() { ComponentPeer peer = this.peer; @@ -2016,7 +2016,7 @@ * the coordinate space of the component's parent * @see #setLocation * @see #getLocationOnScreen - * @since JDK1.1 + * @since 1.1 */ public Point getLocation() { return location(); @@ -2095,7 +2095,7 @@ * @see #getLocation * @see #setBounds * @see #invalidate - * @since JDK1.1 + * @since 1.1 */ public void setLocation(int x, int y) { move(x, y); @@ -2127,7 +2127,7 @@ * @see #getLocation * @see #setBounds * @see #invalidate - * @since JDK1.1 + * @since 1.1 */ public void setLocation(Point p) { setLocation(p.x, p.y); @@ -2143,7 +2143,7 @@ * @return a Dimension object that indicates the * size of this component * @see #setSize - * @since JDK1.1 + * @since 1.1 */ public Dimension getSize() { return size(); @@ -2170,7 +2170,7 @@ * @see #getSize * @see #setBounds * @see #invalidate - * @since JDK1.1 + * @since 1.1 */ public void setSize(int width, int height) { resize(width, height); @@ -2201,7 +2201,7 @@ * @see #setSize * @see #setBounds * @see #invalidate - * @since JDK1.1 + * @since 1.1 */ public void setSize(Dimension d) { resize(d); @@ -2258,7 +2258,7 @@ * @see #setSize(int, int) * @see #setSize(Dimension) * @see #invalidate - * @since JDK1.1 + * @since 1.1 */ public void setBounds(int x, int y, int width, int height) { reshape(x, y, width, height); @@ -2402,7 +2402,7 @@ * @see #setSize(int, int) * @see #setSize(Dimension) * @see #invalidate - * @since JDK1.1 + * @since 1.1 */ public void setBounds(Rectangle r) { setBounds(r.x, r.y, r.width, r.height); @@ -2883,7 +2883,7 @@ * @see #doLayout() * @see LayoutManager * @see Container#validate - * @since JDK1.0 + * @since 1.0 */ public void validate() { synchronized (getTreeLock()) { @@ -2926,7 +2926,7 @@ * @see #doLayout * @see LayoutManager * @see java.awt.Container#isValidateRoot - * @since JDK1.0 + * @since 1.0 */ public void invalidate() { synchronized (getTreeLock()) { @@ -3021,7 +3021,7 @@ * @return a graphics context for this component, or null * if it has none * @see #paint - * @since JDK1.0 + * @since 1.0 */ public Graphics getGraphics() { if (peer instanceof LightweightPeer) { @@ -3085,7 +3085,7 @@ * @see #getPeer * @see java.awt.peer.ComponentPeer#getFontMetrics(Font) * @see Toolkit#getFontMetrics(Font) - * @since JDK1.0 + * @since 1.0 */ public FontMetrics getFontMetrics(Font font) { // This is an unsupported hack, but left in for a customer. @@ -3125,7 +3125,7 @@ * @see #contains * @see Toolkit#createCustomCursor * @see Cursor - * @since JDK1.1 + * @since 1.1 */ public void setCursor(Cursor cursor) { this.cursor = cursor; @@ -3158,7 +3158,7 @@ * If no cursor is set in the entire hierarchy, * Cursor.DEFAULT_CURSOR is returned. * @see #setCursor - * @since JDK1.1 + * @since 1.1 */ public Cursor getCursor() { return getCursor_NoClientCode(); @@ -3212,7 +3212,7 @@ * * @param g the graphics context to use for painting * @see #update - * @since JDK1.0 + * @since 1.0 */ public void paint(Graphics g) { } @@ -3248,7 +3248,7 @@ * @param g the specified context to use for updating * @see #paint * @see #repaint() - * @since JDK1.0 + * @since 1.0 */ public void update(Graphics g) { paint(g); @@ -3264,7 +3264,7 @@ * * @param g the graphics context to use for painting * @see #paint - * @since JDK1.0 + * @since 1.0 */ public void paintAll(Graphics g) { if (isShowing()) { @@ -3308,7 +3308,7 @@ * * @see #update(Graphics) - * @since JDK1.0 + * @since 1.0 */ public void repaint() { repaint(0, 0, 0, width, height); @@ -3327,7 +3327,7 @@ * @param tm maximum time in milliseconds before update * @see #paint * @see #update(Graphics) - * @since JDK1.0 + * @since 1.0 */ public void repaint(long tm) { repaint(tm, 0, 0, width, height); @@ -3351,7 +3351,7 @@ * @param width the width * @param height the height * @see #update(Graphics) - * @since JDK1.0 + * @since 1.0 */ public void repaint(int x, int y, int width, int height) { repaint(0, x, y, width, height); @@ -3377,7 +3377,7 @@ * @param width the width * @param height the height * @see #update(Graphics) - * @since JDK1.0 + * @since 1.0 */ public void repaint(long tm, int x, int y, int width, int height) { if (this.peer instanceof LightweightPeer) { @@ -3430,7 +3430,7 @@ * graphics context is the bounding rectangle of this component. * @param g the graphics context to use for printing * @see #paint(Graphics) - * @since JDK1.0 + * @since 1.0 */ public void print(Graphics g) { paint(g); @@ -3445,7 +3445,7 @@ * graphics context is the bounding rectangle of this component. * @param g the graphics context to use for printing * @see #print(Graphics) - * @since JDK1.0 + * @since 1.0 */ public void printAll(Graphics g) { if (isShowing()) { @@ -3525,7 +3525,7 @@ * @see Graphics#drawImage(Image, int, int, int, int, Color, java.awt.image.ImageObserver) * @see Graphics#drawImage(Image, int, int, int, int, java.awt.image.ImageObserver) * @see java.awt.image.ImageObserver#imageUpdate(java.awt.Image, int, int, int, int, int) - * @since JDK1.0 + * @since 1.0 */ public boolean imageUpdate(Image img, int infoflags, int x, int y, int w, int h) { @@ -3550,7 +3550,7 @@ * Creates an image from the specified image producer. * @param producer the image producer * @return the image produced - * @since JDK1.0 + * @since 1.0 */ public Image createImage(ImageProducer producer) { ComponentPeer peer = this.peer; @@ -3572,7 +3572,7 @@ * true. * @see #isDisplayable * @see GraphicsEnvironment#isHeadless - * @since JDK1.0 + * @since 1.0 */ public Image createImage(int width, int height) { ComponentPeer peer = this.peer; @@ -3643,7 +3643,7 @@ * to be notified as the image is being prepared * @return true if the image has already been fully * prepared; false otherwise - * @since JDK1.0 + * @since 1.0 */ public boolean prepareImage(Image image, ImageObserver observer) { return prepareImage(image, -1, -1, observer); @@ -3665,7 +3665,7 @@ * @return true if the image has already been fully * prepared; false otherwise * @see java.awt.image.ImageObserver - * @since JDK1.0 + * @since 1.0 */ public boolean prepareImage(Image image, int width, int height, ImageObserver observer) { @@ -3701,7 +3701,7 @@ * @see #prepareImage(Image, int, int, java.awt.image.ImageObserver) * @see Toolkit#checkImage(Image, int, int, java.awt.image.ImageObserver) * @see java.awt.image.ImageObserver - * @since JDK1.0 + * @since 1.0 */ public int checkImage(Image image, ImageObserver observer) { return checkImage(image, -1, -1, observer); @@ -3737,7 +3737,7 @@ * @see #prepareImage(Image, int, int, java.awt.image.ImageObserver) * @see Toolkit#checkImage(Image, int, int, java.awt.image.ImageObserver) * @see java.awt.image.ImageObserver - * @since JDK1.0 + * @since 1.0 */ public int checkImage(Image image, int width, int height, ImageObserver observer) { @@ -4622,7 +4622,7 @@ * @param x the x coordinate of the point * @param y the y coordinate of the point * @see #getComponentAt(int, int) - * @since JDK1.1 + * @since 1.1 */ public boolean contains(int x, int y) { return inside(x, y); @@ -4644,7 +4644,7 @@ * @param p the point * @throws NullPointerException if {@code p} is {@code null} * @see #getComponentAt(Point) - * @since JDK1.1 + * @since 1.1 */ public boolean contains(Point p) { return contains(p.x, p.y); @@ -4669,7 +4669,7 @@ * null if the location * is outside this component * @see #contains(int, int) - * @since JDK1.0 + * @since 1.0 */ public Component getComponentAt(int x, int y) { return locate(x, y); @@ -4689,7 +4689,7 @@ * specified point. * @param p the point * @see java.awt.Component#contains - * @since JDK1.1 + * @since 1.1 */ public Component getComponentAt(Point p) { return getComponentAt(p.x, p.y); @@ -5224,7 +5224,7 @@ * @see java.awt.event.ComponentListener * @see #removeComponentListener * @see #getComponentListeners - * @since JDK1.1 + * @since 1.1 */ public synchronized void addComponentListener(ComponentListener l) { if (l == null) { @@ -5248,7 +5248,7 @@ * @see java.awt.event.ComponentListener * @see #addComponentListener * @see #getComponentListeners - * @since JDK1.1 + * @since 1.1 */ public synchronized void removeComponentListener(ComponentListener l) { if (l == null) { @@ -5286,7 +5286,7 @@ * @see java.awt.event.FocusListener * @see #removeFocusListener * @see #getFocusListeners - * @since JDK1.1 + * @since 1.1 */ public synchronized void addFocusListener(FocusListener l) { if (l == null) { @@ -5317,7 +5317,7 @@ * @see java.awt.event.FocusListener * @see #addFocusListener * @see #getFocusListeners - * @since JDK1.1 + * @since 1.1 */ public synchronized void removeFocusListener(FocusListener l) { if (l == null) { @@ -5618,7 +5618,7 @@ * @see java.awt.event.KeyListener * @see #removeKeyListener * @see #getKeyListeners - * @since JDK1.1 + * @since 1.1 */ public synchronized void addKeyListener(KeyListener l) { if (l == null) { @@ -5649,7 +5649,7 @@ * @see java.awt.event.KeyListener * @see #addKeyListener * @see #getKeyListeners - * @since JDK1.1 + * @since 1.1 */ public synchronized void removeKeyListener(KeyListener l) { if (l == null) { @@ -5687,7 +5687,7 @@ * @see java.awt.event.MouseListener * @see #removeMouseListener * @see #getMouseListeners - * @since JDK1.1 + * @since 1.1 */ public synchronized void addMouseListener(MouseListener l) { if (l == null) { @@ -5718,7 +5718,7 @@ * @see java.awt.event.MouseListener * @see #addMouseListener * @see #getMouseListeners - * @since JDK1.1 + * @since 1.1 */ public synchronized void removeMouseListener(MouseListener l) { if (l == null) { @@ -5756,7 +5756,7 @@ * @see java.awt.event.MouseMotionListener * @see #removeMouseMotionListener * @see #getMouseMotionListeners - * @since JDK1.1 + * @since 1.1 */ public synchronized void addMouseMotionListener(MouseMotionListener l) { if (l == null) { @@ -5787,7 +5787,7 @@ * @see java.awt.event.MouseMotionListener * @see #addMouseMotionListener * @see #getMouseMotionListeners - * @since JDK1.1 + * @since 1.1 */ public synchronized void removeMouseMotionListener(MouseMotionListener l) { if (l == null) { @@ -6072,7 +6072,7 @@ * @see #processEvent * @see #disableEvents * @see AWTEvent - * @since JDK1.1 + * @since 1.1 */ protected final void enableEvents(long eventsToEnable) { long notifyAncestors = 0; @@ -6108,7 +6108,7 @@ * from being delivered to this component. * @param eventsToDisable the event mask defining the event types * @see #enableEvents - * @since JDK1.1 + * @since 1.1 */ protected final void disableEvents(long eventsToDisable) { long notifyAncestors = 0; @@ -6285,7 +6285,7 @@ * @see #processInputMethodEvent * @see #processHierarchyEvent * @see #processMouseWheelEvent - * @since JDK1.1 + * @since 1.1 */ protected void processEvent(AWTEvent e) { if (e instanceof FocusEvent) { @@ -6351,7 +6351,7 @@ * @see java.awt.event.ComponentListener * @see #addComponentListener * @see #enableEvents - * @since JDK1.1 + * @since 1.1 */ protected void processComponentEvent(ComponentEvent e) { ComponentListener listener = componentListener; @@ -6414,7 +6414,7 @@ * @see #addFocusListener * @see #enableEvents * @see #dispatchEvent - * @since JDK1.1 + * @since 1.1 */ protected void processFocusEvent(FocusEvent e) { FocusListener listener = focusListener; @@ -6480,7 +6480,7 @@ * @see #addKeyListener * @see #enableEvents * @see #isShowing - * @since JDK1.1 + * @since 1.1 */ protected void processKeyEvent(KeyEvent e) { KeyListener listener = keyListener; @@ -6522,7 +6522,7 @@ * @see java.awt.event.MouseListener * @see #addMouseListener * @see #enableEvents - * @since JDK1.1 + * @since 1.1 */ protected void processMouseEvent(MouseEvent e) { MouseListener listener = mouseListener; @@ -6570,7 +6570,7 @@ * @see java.awt.event.MouseMotionListener * @see #addMouseMotionListener * @see #enableEvents - * @since JDK1.1 + * @since 1.1 */ protected void processMouseMotionEvent(MouseEvent e) { MouseMotionListener listener = mouseMotionListener; @@ -6882,7 +6882,7 @@ * @see #isDisplayable * @see #removeNotify * @see #invalidate - * @since JDK1.0 + * @since 1.0 */ public void addNotify() { synchronized (getTreeLock()) { @@ -6985,7 +6985,7 @@ * * @see #isDisplayable * @see #addNotify - * @since JDK1.0 + * @since 1.0 */ public void removeNotify() { KeyboardFocusManager.clearMostRecentFocusOwner(this); @@ -7094,7 +7094,7 @@ * @return true if this Component is * focusable; false otherwise * @see #setFocusable - * @since JDK1.1 + * @since 1.1 * @deprecated As of 1.4, replaced by isFocusable(). */ @Deprecated @@ -7433,7 +7433,7 @@ * @see #isFocusable * @see #isDisplayable * @see KeyboardFocusManager#clearGlobalFocusOwner - * @since JDK1.0 + * @since 1.0 */ public void requestFocus() { requestFocusHelper(false, true); @@ -7862,7 +7862,7 @@ * Transfers the focus to the next component, as though this Component were * the focus owner. * @see #requestFocus() - * @since JDK1.1 + * @since 1.1 */ public void transferFocus() { nextFocus(); @@ -8070,7 +8070,7 @@ * @param popup the popup menu to be added to the component. * @see #remove(MenuComponent) * @exception NullPointerException if {@code popup} is {@code null} - * @since JDK1.1 + * @since 1.1 */ public void add(PopupMenu popup) { synchronized (getTreeLock()) { @@ -8095,7 +8095,7 @@ * Removes the specified popup menu from the component. * @param popup the popup menu to be removed * @see #add(PopupMenu) - * @since JDK1.1 + * @since 1.1 */ @SuppressWarnings("unchecked") public void remove(MenuComponent popup) { @@ -8126,7 +8126,7 @@ * null. * * @return a string representation of this component's state - * @since JDK1.0 + * @since 1.0 */ protected String paramString() { final String thisName = Objects.toString(getName(), ""); @@ -8140,7 +8140,7 @@ /** * Returns a string representation of this component and its values. * @return a string representation of this component - * @since JDK1.0 + * @since 1.0 */ public String toString() { return getClass().getName() + '[' + paramString() + ']'; @@ -8150,7 +8150,7 @@ * Prints a listing of this component to the standard system output * stream System.out. * @see java.lang.System#out - * @since JDK1.0 + * @since 1.0 */ public void list() { list(System.out, 0); @@ -8161,7 +8161,7 @@ * stream. * @param out a print stream * @throws NullPointerException if {@code out} is {@code null} - * @since JDK1.0 + * @since 1.0 */ public void list(PrintStream out) { list(out, 0); @@ -8174,7 +8174,7 @@ * @param indent number of spaces to indent * @see java.io.PrintStream#println(java.lang.Object) * @throws NullPointerException if {@code out} is {@code null} - * @since JDK1.0 + * @since 1.0 */ public void list(PrintStream out, int indent) { for (int i = 0 ; i < indent ; i++) { @@ -8187,7 +8187,7 @@ * Prints a listing to the specified print writer. * @param out the print writer to print to * @throws NullPointerException if {@code out} is {@code null} - * @since JDK1.1 + * @since 1.1 */ public void list(PrintWriter out) { list(out, 0); @@ -8200,7 +8200,7 @@ * @param indent the number of spaces to indent * @throws NullPointerException if {@code out} is {@code null} * @see java.io.PrintStream#println(java.lang.Object) - * @since JDK1.1 + * @since 1.1 */ public void list(PrintWriter out, int indent) { for (int i = 0 ; i < indent ; i++) { diff --git a/src/share/classes/java/awt/Container.java b/src/share/classes/java/awt/Container.java --- a/src/share/classes/java/awt/Container.java +++ b/src/share/classes/java/awt/Container.java @@ -85,7 +85,7 @@ * @see #add(java.awt.Component, int) * @see #getComponent(int) * @see LayoutManager - * @since JDK1.0 + * @since 1.0 */ public class Container extends Component { @@ -302,7 +302,7 @@ * * @return the number of components in this panel. * @see #getComponent - * @since JDK1.1 + * @since 1.1 * @see Component#getTreeLock() */ public int getComponentCount() { @@ -384,7 +384,7 @@ * @return the insets of this container. * @see Insets * @see LayoutManager - * @since JDK1.1 + * @since 1.1 */ public Insets getInsets() { return insets(); @@ -975,7 +975,7 @@ * @see #validate * @see javax.swing.JComponent#revalidate() * @see LayoutManager - * @since JDK1.1 + * @since 1.1 */ public void add(Component comp, Object constraints) { addImpl(comp, constraints, -1); @@ -1078,7 +1078,7 @@ * @see #invalidate * @see LayoutManager * @see LayoutManager2 - * @since JDK1.1 + * @since 1.1 */ protected void addImpl(Component comp, Object constraints, int index) { synchronized (getTreeLock()) { @@ -1202,7 +1202,7 @@ * @see #invalidate * @see #validate * @see #getComponentCount - * @since JDK1.1 + * @since 1.1 */ public void remove(int index) { synchronized (getTreeLock()) { @@ -1501,7 +1501,7 @@ * @see LayoutManager#layoutContainer * @see #setLayout * @see #validate - * @since JDK1.1 + * @since 1.1 */ public void doLayout() { layout(); @@ -1749,7 +1749,7 @@ * @param f The font to become this container's font. * @see Component#getFont * @see #invalidate - * @since JDK1.0 + * @since 1.0 */ public void setFont(Font f) { boolean shouldinvalidate = false; @@ -1834,7 +1834,7 @@ * @see #getLayout * @see LayoutManager#minimumLayoutSize(Container) * @see Component#getMinimumSize - * @since JDK1.1 + * @since 1.1 */ public Dimension getMinimumSize() { return minimumSize(); @@ -2539,7 +2539,7 @@ * point is within the bounds of the container the container itself * is returned; otherwise the top-most child is returned. * @see Component#contains - * @since JDK1.1 + * @since 1.1 */ public Component getComponentAt(int x, int y) { return locate(x, y); @@ -2585,7 +2585,7 @@ * or null if the component does * not contain the point. * @see Component#contains - * @since JDK1.1 + * @since 1.1 */ public Component getComponentAt(Point p) { return getComponentAt(p.x, p.y); @@ -2837,7 +2837,7 @@ * @param c the component * @return true if it is an ancestor; * false otherwise. - * @since JDK1.1 + * @since 1.1 */ public boolean isAncestorOf(Component c) { Container p; @@ -3012,7 +3012,7 @@ * @param indent the number of spaces to indent * @throws NullPointerException if {@code out} is {@code null} * @see Component#list(java.io.PrintStream, int) - * @since JDK1.0 + * @since 1.0 */ public void list(PrintStream out, int indent) { super.list(out, indent); @@ -3039,7 +3039,7 @@ * @param indent the number of spaces to indent * @throws NullPointerException if {@code out} is {@code null} * @see Component#list(java.io.PrintWriter, int) - * @since JDK1.1 + * @since 1.1 */ public void list(PrintWriter out, int indent) { super.list(out, indent); diff --git a/src/share/classes/java/awt/Dialog.java b/src/share/classes/java/awt/Dialog.java --- a/src/share/classes/java/awt/Dialog.java +++ b/src/share/classes/java/awt/Dialog.java @@ -92,7 +92,7 @@ * * @author Sami Shaio * @author Arthur van Hoff - * @since JDK1.0 + * @since 1.0 */ public class Dialog extends Window { diff --git a/src/share/classes/java/awt/Event.java b/src/share/classes/java/awt/Event.java --- a/src/share/classes/java/awt/Event.java +++ b/src/share/classes/java/awt/Event.java @@ -57,7 +57,7 @@ * PGDN, F1, F2, etc). * * @author Sami Shaio - * @since JDK1.0 + * @since 1.0 */ public class Event implements java.io.Serializable { private transient long data; @@ -871,7 +871,7 @@ * @return a string that represents the event and the values * of its member fields. * @see java.awt.Event#paramString - * @since JDK1.1 + * @since 1.1 */ public String toString() { return getClass().getName() + "[" + paramString() + "]"; diff --git a/src/share/classes/java/awt/FileDialog.java b/src/share/classes/java/awt/FileDialog.java --- a/src/share/classes/java/awt/FileDialog.java +++ b/src/share/classes/java/awt/FileDialog.java @@ -44,7 +44,7 @@ * * @author Sami Shaio * @author Arthur van Hoff - * @since JDK1.0 + * @since 1.0 */ public class FileDialog extends Dialog { @@ -176,7 +176,7 @@ * FileDialog(parent, "", LOAD). * * @param parent the owner of the dialog - * @since JDK1.1 + * @since 1.1 */ public FileDialog(Frame parent) { this(parent, "", LOAD); @@ -353,7 +353,7 @@ * @see java.awt.FileDialog#getMode * @exception IllegalArgumentException if an illegal file * dialog mode is supplied - * @since JDK1.1 + * @since 1.1 */ public void setMode(int mode) { switch (mode) { diff --git a/src/share/classes/java/awt/FlowLayout.java b/src/share/classes/java/awt/FlowLayout.java --- a/src/share/classes/java/awt/FlowLayout.java +++ b/src/share/classes/java/awt/FlowLayout.java @@ -79,7 +79,7 @@ * * @author Arthur van Hoff * @author Sami Shaio - * @since JDK1.0 + * @since 1.0 * @see ComponentOrientation */ public class FlowLayout implements LayoutManager, java.io.Serializable { @@ -246,7 +246,7 @@ * or FlowLayout.TRAILING. * @return the alignment value for this layout * @see java.awt.FlowLayout#setAlignment - * @since JDK1.1 + * @since 1.1 */ public int getAlignment() { return newAlign; @@ -264,7 +264,7 @@ * * @param align one of the alignment values shown above * @see #getAlignment() - * @since JDK1.1 + * @since 1.1 */ public void setAlignment(int align) { this.newAlign = align; @@ -295,7 +295,7 @@ * and between the components and the borders * of the Container * @see java.awt.FlowLayout#setHgap - * @since JDK1.1 + * @since 1.1 */ public int getHgap() { return hgap; @@ -310,7 +310,7 @@ * and between the components and the borders * of the Container * @see java.awt.FlowLayout#getHgap - * @since JDK1.1 + * @since 1.1 */ public void setHgap(int hgap) { this.hgap = hgap; @@ -325,7 +325,7 @@ * and between the components and the borders * of the Container * @see java.awt.FlowLayout#setVgap - * @since JDK1.1 + * @since 1.1 */ public int getVgap() { return vgap; @@ -339,7 +339,7 @@ * and between the components and the borders * of the Container * @see java.awt.FlowLayout#getVgap - * @since JDK1.1 + * @since 1.1 */ public void setVgap(int vgap) { this.vgap = vgap; diff --git a/src/share/classes/java/awt/Font.java b/src/share/classes/java/awt/Font.java --- a/src/share/classes/java/awt/Font.java +++ b/src/share/classes/java/awt/Font.java @@ -364,7 +364,7 @@ /** * The logical name of this Font, as passed to the * constructor. - * @since JDK1.0 + * @since 1.0 * * @serial * @see #getName @@ -374,7 +374,7 @@ /** * The style of this Font, as passed to the constructor. * This style can be PLAIN, BOLD, ITALIC, or BOLD+ITALIC. - * @since JDK1.0 + * @since 1.0 * * @serial * @see #getStyle() @@ -383,7 +383,7 @@ /** * The point size of this Font, rounded to integer. - * @since JDK1.0 + * @since 1.0 * * @serial * @see #getSize() @@ -436,7 +436,7 @@ /** * Gets the peer of this Font. * @return the peer of the Font. - * @since JDK1.1 + * @since 1.1 * @deprecated Font rendering is now platform independent. */ @Deprecated @@ -562,7 +562,7 @@ * @param size the point size of the {@code Font} * @see GraphicsEnvironment#getAllFonts * @see GraphicsEnvironment#getAvailableFontFamilyNames - * @since JDK1.0 + * @since 1.0 */ public Font(String name, int style, int size) { this.name = (name != null) ? name : "Default"; @@ -1180,7 +1180,7 @@ * * @see #getName * @see #getFontName - * @since JDK1.1 + * @since 1.1 */ public String getFamily() { return getFamily_NoClientCode(); @@ -1240,7 +1240,7 @@ * this Font. * @see #getFamily * @see #getFontName - * @since JDK1.0 + * @since 1.0 */ public String getName() { return name; @@ -1286,7 +1286,7 @@ * @see #isPlain * @see #isBold * @see #isItalic - * @since JDK1.0 + * @since 1.0 */ public int getStyle() { return style; @@ -1312,7 +1312,7 @@ * @see #getSize2D * @see GraphicsConfiguration#getDefaultTransform * @see GraphicsConfiguration#getNormalizingTransform - * @since JDK1.0 + * @since 1.0 */ public int getSize() { return size; @@ -1337,7 +1337,7 @@ * PLAIN style; * false otherwise. * @see java.awt.Font#getStyle - * @since JDK1.0 + * @since 1.0 */ public boolean isPlain() { return style == 0; @@ -1350,7 +1350,7 @@ * style is BOLD; * false otherwise. * @see java.awt.Font#getStyle - * @since JDK1.0 + * @since 1.0 */ public boolean isBold() { return (style & BOLD) != 0; @@ -1363,7 +1363,7 @@ * style is ITALIC; * false otherwise. * @see java.awt.Font#getStyle - * @since JDK1.0 + * @since 1.0 */ public boolean isItalic() { return (style & ITALIC) != 0; @@ -1484,7 +1484,7 @@ * describes, or a new default Font if * str is null. * @see #getFamily - * @since JDK1.1 + * @since 1.1 */ public static Font decode(String str) { String fontName = str; @@ -1595,7 +1595,7 @@ /** * Returns a hashcode for this Font. * @return a hashcode value for this Font. - * @since JDK1.0 + * @since 1.0 */ public int hashCode() { if (hash == 0) { @@ -1622,7 +1622,7 @@ * or if the argument is a Font object * describing the same font as this object; * false otherwise. - * @since JDK1.0 + * @since 1.0 */ public boolean equals(Object obj) { if (obj == this) { @@ -1667,7 +1667,7 @@ * representation. * @return a String representation of this * Font object. - * @since JDK1.0 + * @since 1.0 */ // NOTE: This method may be called by privileged threads. // DO NOT INVOKE CLIENT CODE ON THIS THREAD! diff --git a/src/share/classes/java/awt/FontMetrics.java b/src/share/classes/java/awt/FontMetrics.java --- a/src/share/classes/java/awt/FontMetrics.java +++ b/src/share/classes/java/awt/FontMetrics.java @@ -94,7 +94,7 @@ * * @author Jim Graham * @see java.awt.Font - * @since JDK1.0 + * @since 1.0 */ public abstract class FontMetrics implements java.io.Serializable { @@ -625,7 +625,6 @@ * object's values as a String. * @return a String representation of this * FontMetrics object. - * @since JDK1.0. */ public String toString() { return getClass().getName() + diff --git a/src/share/classes/java/awt/Frame.java b/src/share/classes/java/awt/Frame.java --- a/src/share/classes/java/awt/Frame.java +++ b/src/share/classes/java/awt/Frame.java @@ -130,7 +130,7 @@ * @author Sami Shaio * @see WindowEvent * @see Window#addWindowListener - * @since JDK1.0 + * @since 1.0 */ public class Frame extends Window implements MenuContainer { diff --git a/src/share/classes/java/awt/Graphics.java b/src/share/classes/java/awt/Graphics.java --- a/src/share/classes/java/awt/Graphics.java +++ b/src/share/classes/java/awt/Graphics.java @@ -99,7 +99,7 @@ * @see java.awt.Graphics#setPaintMode() * @see java.awt.Graphics#setXORMode(java.awt.Color) * @see java.awt.Graphics#setFont(java.awt.Font) - * @since JDK1.0 + * @since 1.0 */ public abstract class Graphics { @@ -283,7 +283,7 @@ * @see java.awt.Graphics#clipRect * @see java.awt.Graphics#setClip(int, int, int, int) * @see java.awt.Graphics#setClip(Shape) - * @since JDK1.1 + * @since 1.1 */ public abstract Rectangle getClipBounds(); @@ -321,7 +321,7 @@ * @see java.awt.Graphics#clipRect * @see java.awt.Graphics#setClip(Shape) * @see java.awt.Graphics#getClip - * @since JDK1.1 + * @since 1.1 */ public abstract void setClip(int x, int y, int width, int height); @@ -339,7 +339,7 @@ * @see java.awt.Graphics#clipRect * @see java.awt.Graphics#setClip(int, int, int, int) * @see java.awt.Graphics#setClip(Shape) - * @since JDK1.1 + * @since 1.1 */ public abstract Shape getClip(); @@ -357,7 +357,7 @@ * @see java.awt.Graphics#getClip() * @see java.awt.Graphics#clipRect * @see java.awt.Graphics#setClip(int, int, int, int) - * @since JDK1.1 + * @since 1.1 */ public abstract void setClip(Shape clip); @@ -694,7 +694,7 @@ * @param yPoints an array of y points * @param nPoints the total number of points * @see java.awt.Graphics#drawPolygon(int[], int[], int) - * @since JDK1.1 + * @since 1.1 */ public abstract void drawPolyline(int xPoints[], int yPoints[], int nPoints); @@ -1058,7 +1058,7 @@ * @see java.awt.Image * @see java.awt.image.ImageObserver * @see java.awt.image.ImageObserver#imageUpdate(java.awt.Image, int, int, int, int, int) - * @since JDK1.1 + * @since 1.1 */ public abstract boolean drawImage(Image img, int dx1, int dy1, int dx2, int dy2, @@ -1119,7 +1119,7 @@ * @see java.awt.Image * @see java.awt.image.ImageObserver * @see java.awt.image.ImageObserver#imageUpdate(java.awt.Image, int, int, int, int, int) - * @since JDK1.1 + * @since 1.1 */ public abstract boolean drawImage(Image img, int dx1, int dy1, int dx2, int dy2, diff --git a/src/share/classes/java/awt/Graphics2D.java b/src/share/classes/java/awt/Graphics2D.java --- a/src/share/classes/java/awt/Graphics2D.java +++ b/src/share/classes/java/awt/Graphics2D.java @@ -662,7 +662,7 @@ * null * @see java.awt.Graphics#drawBytes * @see java.awt.Graphics#drawChars - * @since JDK1.0 + * @since 1.0 */ public abstract void drawString(String str, int x, int y); @@ -968,7 +968,7 @@ * context are relative to this new origin. * @param x the specified x coordinate * @param y the specified y coordinate - * @since JDK1.0 + * @since 1.0 */ public abstract void translate(int x, int y); diff --git a/src/share/classes/java/awt/GridBagConstraints.java b/src/share/classes/java/awt/GridBagConstraints.java --- a/src/share/classes/java/awt/GridBagConstraints.java +++ b/src/share/classes/java/awt/GridBagConstraints.java @@ -32,7 +32,7 @@ * @author Doug Stein * @author Bill Spitzak (orignial NeWS & OLIT implementation) * @see java.awt.GridBagLayout - * @since JDK1.0 + * @since 1.0 */ public class GridBagConstraints implements Cloneable, java.io.Serializable { diff --git a/src/share/classes/java/awt/GridBagLayout.java b/src/share/classes/java/awt/GridBagLayout.java --- a/src/share/classes/java/awt/GridBagLayout.java +++ b/src/share/classes/java/awt/GridBagLayout.java @@ -359,7 +359,7 @@ * @see java.awt.GridBagConstraints * @see java.awt.GridBagLayoutInfo * @see java.awt.ComponentOrientation - * @since JDK1.0 + * @since 1.0 */ public class GridBagLayout implements LayoutManager2, java.io.Serializable { @@ -562,7 +562,7 @@ * @return the graphics origin of the cell in the top-left * corner of the layout grid * @see java.awt.ComponentOrientation - * @since JDK1.1 + * @since 1.1 */ public Point getLayoutOrigin () { Point origin = new Point(0,0); @@ -580,7 +580,7 @@ * @return an array of two arrays, containing the widths * of the layout columns and * the heights of the layout rows - * @since JDK1.1 + * @since 1.1 */ public int [][] getLayoutDimensions () { if (layoutInfo == null) @@ -606,7 +606,7 @@ * @return an array of two arrays, representing the * horizontal weights of the layout columns * and the vertical weights of the layout rows - * @since JDK1.1 + * @since 1.1 */ public double [][] getLayoutWeights () { if (layoutInfo == null) @@ -647,7 +647,7 @@ * in the layout grid contains the point * (xy). * @see java.awt.ComponentOrientation - * @since JDK1.1 + * @since 1.1 */ public Point location(int x, int y) { Point loc = new Point(0,0); diff --git a/src/share/classes/java/awt/GridBagLayoutInfo.java b/src/share/classes/java/awt/GridBagLayoutInfo.java --- a/src/share/classes/java/awt/GridBagLayoutInfo.java +++ b/src/share/classes/java/awt/GridBagLayoutInfo.java @@ -62,7 +62,7 @@ * grid cells with it's own parameters. * @param width the columns * @param height the rows - * @since 6.0 + * @since 1.6 */ GridBagLayoutInfo(int width, int height) { this.width = width; diff --git a/src/share/classes/java/awt/GridLayout.java b/src/share/classes/java/awt/GridLayout.java --- a/src/share/classes/java/awt/GridLayout.java +++ b/src/share/classes/java/awt/GridLayout.java @@ -88,7 +88,7 @@ * number of rows is set to zero. * * @author Arthur van Hoff - * @since JDK1.0 + * @since 1.0 */ public class GridLayout implements LayoutManager, java.io.Serializable { /* @@ -144,7 +144,7 @@ /** * Creates a grid layout with a default of one column per component, * in a single row. - * @since JDK1.1 + * @since 1.1 */ public GridLayout() { this(1, 0, 0, 0); @@ -203,7 +203,7 @@ /** * Gets the number of rows in this layout. * @return the number of rows in this layout - * @since JDK1.1 + * @since 1.1 */ public int getRows() { return rows; @@ -214,7 +214,7 @@ * @param rows the number of rows in this layout * @exception IllegalArgumentException if the value of both * rows and cols is set to zero - * @since JDK1.1 + * @since 1.1 */ public void setRows(int rows) { if ((rows == 0) && (this.cols == 0)) { @@ -226,7 +226,7 @@ /** * Gets the number of columns in this layout. * @return the number of columns in this layout - * @since JDK1.1 + * @since 1.1 */ public int getColumns() { return cols; @@ -242,7 +242,7 @@ * @param cols the number of columns in this layout * @exception IllegalArgumentException if the value of both * rows and cols is set to zero - * @since JDK1.1 + * @since 1.1 */ public void setColumns(int cols) { if ((cols == 0) && (this.rows == 0)) { @@ -254,7 +254,7 @@ /** * Gets the horizontal gap between components. * @return the horizontal gap between components - * @since JDK1.1 + * @since 1.1 */ public int getHgap() { return hgap; @@ -263,7 +263,7 @@ /** * Sets the horizontal gap between components to the specified value. * @param hgap the horizontal gap between components - * @since JDK1.1 + * @since 1.1 */ public void setHgap(int hgap) { this.hgap = hgap; @@ -272,7 +272,7 @@ /** * Gets the vertical gap between components. * @return the vertical gap between components - * @since JDK1.1 + * @since 1.1 */ public int getVgap() { return vgap; @@ -281,7 +281,7 @@ /** * Sets the vertical gap between components to the specified value. * @param vgap the vertical gap between components - * @since JDK1.1 + * @since 1.1 */ public void setVgap(int vgap) { this.vgap = vgap; diff --git a/src/share/classes/java/awt/Image.java b/src/share/classes/java/awt/Image.java --- a/src/share/classes/java/awt/Image.java +++ b/src/share/classes/java/awt/Image.java @@ -41,7 +41,7 @@ * * @author Sami Shaio * @author Arthur van Hoff - * @since JDK1.0 + * @since 1.0 */ public abstract class Image { @@ -164,7 +164,7 @@ * @see java.awt.Image#SCALE_SMOOTH * @see java.awt.Image#SCALE_REPLICATE * @see java.awt.Image#SCALE_AREA_AVERAGING - * @since JDK1.1 + * @since 1.1 */ public Image getScaledInstance(int width, int height, int hints) { ImageFilter filter; @@ -180,21 +180,21 @@ /** * Use the default image-scaling algorithm. - * @since JDK1.1 + * @since 1.1 */ public static final int SCALE_DEFAULT = 1; /** * Choose an image-scaling algorithm that gives higher priority * to scaling speed than smoothness of the scaled image. - * @since JDK1.1 + * @since 1.1 */ public static final int SCALE_FAST = 2; /** * Choose an image-scaling algorithm that gives higher priority * to image smoothness than scaling speed. - * @since JDK1.1 + * @since 1.1 */ public static final int SCALE_SMOOTH = 4; @@ -205,7 +205,7 @@ * that performs the same algorithm yet integrates more efficiently * into the imaging infrastructure supplied by the toolkit. * @see java.awt.image.ReplicateScaleFilter - * @since JDK1.1 + * @since 1.1 */ public static final int SCALE_REPLICATE = 8; @@ -215,7 +215,7 @@ * performs the same algorithm yet integrates more efficiently * into the image infrastructure supplied by the toolkit. * @see java.awt.image.AreaAveragingScaleFilter - * @since JDK1.1 + * @since 1.1 */ public static final int SCALE_AREA_AVERAGING = 16; diff --git a/src/share/classes/java/awt/Insets.java b/src/share/classes/java/awt/Insets.java --- a/src/share/classes/java/awt/Insets.java +++ b/src/share/classes/java/awt/Insets.java @@ -35,7 +35,7 @@ * @author Sami Shaio * @see java.awt.LayoutManager * @see java.awt.Container - * @since JDK1.0 + * @since 1.0 */ public class Insets implements Cloneable, java.io.Serializable { @@ -130,7 +130,7 @@ * bottom, and right are all equal. * @return true if the two insets are equal; * otherwise false. - * @since JDK1.1 + * @since 1.1 */ public boolean equals(Object obj) { if (obj instanceof Insets) { diff --git a/src/share/classes/java/awt/Label.java b/src/share/classes/java/awt/Label.java --- a/src/share/classes/java/awt/Label.java +++ b/src/share/classes/java/awt/Label.java @@ -49,7 +49,7 @@ * style="float:center; margin: 7px 10px;"> * * @author Sami Shaio - * @since JDK1.0 + * @since 1.0 */ public class Label extends Component implements Accessible { @@ -73,7 +73,6 @@ /** * Indicates that the label should be right justified. - * @since JDK1.0t. */ public static final int RIGHT = 2; diff --git a/src/share/classes/java/awt/List.java b/src/share/classes/java/awt/List.java --- a/src/share/classes/java/awt/List.java +++ b/src/share/classes/java/awt/List.java @@ -104,7 +104,7 @@ * @see java.awt.event.ItemListener * @see java.awt.event.ActionEvent * @see java.awt.event.ActionListener - * @since JDK1.0 + * @since 1.0 */ public class List extends Component implements ItemSelectable, Accessible { /** @@ -199,7 +199,7 @@ * @exception HeadlessException if GraphicsEnvironment.isHeadless() * returns true. * @see java.awt.GraphicsEnvironment#isHeadless - * @since JDK1.1 + * @since 1.1 */ public List(int rows) throws HeadlessException { this(rows, false); @@ -275,7 +275,7 @@ * Gets the number of items in the list. * @return the number of items in the list * @see #getItem - * @since JDK1.1 + * @since 1.1 */ public int getItemCount() { return countItems(); @@ -315,7 +315,7 @@ * @see #select * @see #deselect * @see #isIndexSelected - * @since JDK1.1 + * @since 1.1 */ public synchronized String[] getItems() { String itemCopies[] = new String[items.size()]; @@ -326,7 +326,7 @@ /** * Adds the specified item to the end of scrolling list. * @param item the item to be added - * @since JDK1.1 + * @since 1.1 */ public void add(String item) { addItem(item); @@ -351,7 +351,7 @@ * if this parameter is null then the item is * treated as an empty string, "" * @param index the position at which to add the item - * @since JDK1.1 + * @since 1.1 */ public void add(String item, int index) { addItem(item, index); @@ -399,7 +399,7 @@ * Removes all items from this list. * @see #remove * @see #delItems - * @since JDK1.1 + * @since 1.1 */ public void removeAll() { clear(); @@ -426,7 +426,7 @@ * @param item the item to remove from the list * @exception IllegalArgumentException * if the item doesn't exist in the list - * @since JDK1.1 + * @since 1.1 */ public synchronized void remove(String item) { int index = items.indexOf(item); @@ -445,7 +445,7 @@ * only selected item in the list, the list is set to have no selection. * @param position the index of the item to delete * @see #add(String, int) - * @since JDK1.1 + * @since 1.1 * @exception ArrayIndexOutOfBoundsException * if the position is less than 0 or * greater than getItemCount()-1 @@ -639,7 +639,7 @@ * selected; false otherwise * @see #select * @see #deselect - * @since JDK1.1 + * @since 1.1 */ public boolean isIndexSelected(int index) { return isSelected(index); @@ -675,7 +675,7 @@ * @return true if this list allows multiple * selections; otherwise, false * @see #setMultipleMode - * @since JDK1.1 + * @since 1.1 */ public boolean isMultipleMode() { return allowsMultipleSelections(); @@ -702,7 +702,7 @@ * are allowed; otherwise, only one item from * the list can be selected at once * @see #isMultipleMode - * @since JDK1.1 + * @since 1.1 */ public void setMultipleMode(boolean b) { setMultipleSelections(b); @@ -753,7 +753,7 @@ * @return the preferred dimensions for displaying this scrolling list * given that the specified number of rows must be visible * @see java.awt.Component#getPreferredSize - * @since JDK1.1 + * @since 1.1 */ public Dimension getPreferredSize(int rows) { return preferredSize(rows); @@ -777,7 +777,7 @@ * Gets the preferred size of this scrolling list. * @return the preferred dimensions for displaying this scrolling list * @see java.awt.Component#getPreferredSize - * @since JDK1.1 + * @since 1.1 */ public Dimension getPreferredSize() { return preferredSize(); @@ -803,7 +803,7 @@ * @return the minimum dimensions for displaying this scrolling list * given that the specified number of rows must be visible * @see java.awt.Component#getMinimumSize - * @since JDK1.1 + * @since 1.1 */ public Dimension getMinimumSize(int rows) { return minimumSize(rows); @@ -828,7 +828,7 @@ * @return the minimum dimensions needed * to display this scrolling list * @see java.awt.Component#getMinimumSize() - * @since JDK1.1 + * @since 1.1 */ public Dimension getMinimumSize() { return minimumSize(); @@ -861,7 +861,7 @@ * @see #deselect * @see java.awt.event.ItemEvent * @see java.awt.event.ItemListener - * @since JDK1.1 + * @since 1.1 */ public synchronized void addItemListener(ItemListener l) { if (l == null) { @@ -884,7 +884,7 @@ * @see #getItemListeners * @see java.awt.event.ItemEvent * @see java.awt.event.ItemListener - * @since JDK1.1 + * @since 1.1 */ public synchronized void removeItemListener(ItemListener l) { if (l == null) { @@ -927,7 +927,7 @@ * @see #getActionListeners * @see java.awt.event.ActionEvent * @see java.awt.event.ActionListener - * @since JDK1.1 + * @since 1.1 */ public synchronized void addActionListener(ActionListener l) { if (l == null) { @@ -951,7 +951,7 @@ * @see #getActionListeners * @see java.awt.event.ActionEvent * @see java.awt.event.ActionListener - * @since JDK1.1 + * @since 1.1 */ public synchronized void removeActionListener(ActionListener l) { if (l == null) { @@ -1061,7 +1061,7 @@ * @see java.awt.event.ItemEvent * @see #processActionEvent * @see #processItemEvent - * @since JDK1.1 + * @since 1.1 */ protected void processEvent(AWTEvent e) { if (e instanceof ItemEvent) { @@ -1096,7 +1096,7 @@ * @see java.awt.event.ItemListener * @see #addItemListener * @see java.awt.Component#enableEvents - * @since JDK1.1 + * @since 1.1 */ protected void processItemEvent(ItemEvent e) { ItemListener listener = itemListener; @@ -1127,7 +1127,7 @@ * @see java.awt.event.ActionListener * @see #addActionListener * @see java.awt.Component#enableEvents - * @since JDK1.1 + * @since 1.1 */ protected void processActionEvent(ActionEvent e) { ActionListener listener = actionListener; diff --git a/src/share/classes/java/awt/MediaTracker.java b/src/share/classes/java/awt/MediaTracker.java --- a/src/share/classes/java/awt/MediaTracker.java +++ b/src/share/classes/java/awt/MediaTracker.java @@ -164,7 +164,7 @@ * }


* * @author Jim Graham - * @since JDK1.0 + * @since 1.0 */ public class MediaTracker implements java.io.Serializable { @@ -724,7 +724,7 @@ * @param image the image to be removed * @see java.awt.MediaTracker#removeImage(java.awt.Image, int) * @see java.awt.MediaTracker#removeImage(java.awt.Image, int, int, int) - * @since JDK1.1 + * @since 1.1 */ public synchronized void removeImage(Image image) { removeImageImpl(image); @@ -763,7 +763,7 @@ * @param id the tracking ID from which to remove the image * @see java.awt.MediaTracker#removeImage(java.awt.Image) * @see java.awt.MediaTracker#removeImage(java.awt.Image, int, int, int) - * @since JDK1.1 + * @since 1.1 */ public synchronized void removeImage(Image image, int id) { removeImageImpl(image, id); @@ -803,7 +803,7 @@ * @param height the height to remove (-1 for unscaled) * @see java.awt.MediaTracker#removeImage(java.awt.Image) * @see java.awt.MediaTracker#removeImage(java.awt.Image, int) - * @since JDK1.1 + * @since 1.1 */ public synchronized void removeImage(Image image, int id, int width, int height) { diff --git a/src/share/classes/java/awt/Menu.java b/src/share/classes/java/awt/Menu.java --- a/src/share/classes/java/awt/Menu.java +++ b/src/share/classes/java/awt/Menu.java @@ -53,7 +53,7 @@ * @author Sami Shaio * @see java.awt.MenuItem * @see java.awt.CheckboxMenuItem - * @since JDK1.0 + * @since 1.0 */ public class Menu extends MenuItem implements MenuContainer, Accessible { @@ -118,7 +118,7 @@ * @exception HeadlessException if GraphicsEnvironment.isHeadless() * returns true. * @see java.awt.GraphicsEnvironment#isHeadless - * @since JDK1.1 + * @since 1.1 */ public Menu() throws HeadlessException { this("", false); @@ -151,7 +151,6 @@ * @exception HeadlessException if GraphicsEnvironment.isHeadless() * returns true. * @see java.awt.GraphicsEnvironment#isHeadless - * @since JDK1.0. */ public Menu(String label, boolean tearOff) throws HeadlessException { super(label); @@ -215,7 +214,7 @@ /** * Get the number of items in this menu. * @return the number of items in this menu. - * @since JDK1.1 + * @since 1.1 */ public int getItemCount() { return countItems(); @@ -303,7 +302,7 @@ * @see java.awt.Menu#add(java.awt.MenuItem) * @exception IllegalArgumentException if the value of * index is less than zero - * @since JDK1.1 + * @since 1.1 */ public void insert(MenuItem menuitem, int index) { @@ -347,7 +346,7 @@ * @see java.awt.Menu#add(java.awt.MenuItem) * @exception IllegalArgumentException if the value of * index is less than zero - * @since JDK1.1 + * @since 1.1 */ public void insert(String label, int index) { @@ -369,7 +368,7 @@ * @exception IllegalArgumentException if the value of * index is less than 0. * @see java.awt.Menu#addSeparator - * @since JDK1.1 + * @since 1.1 */ public void insertSeparator(int index) { @@ -436,7 +435,7 @@ /** * Removes all items from this menu. - * @since JDK1.0. + * @since 1.1 */ public void removeAll() { synchronized (getTreeLock()) { diff --git a/src/share/classes/java/awt/MenuBar.java b/src/share/classes/java/awt/MenuBar.java --- a/src/share/classes/java/awt/MenuBar.java +++ b/src/share/classes/java/awt/MenuBar.java @@ -65,7 +65,7 @@ * @see java.awt.Menu * @see java.awt.MenuItem * @see java.awt.MenuShortcut - * @since JDK1.0 + * @since 1.0 */ public class MenuBar extends MenuComponent implements MenuContainer, Accessible { @@ -272,7 +272,7 @@ /** * Gets the number of menus on the menu bar. * @return the number of menus on the menu bar. - * @since JDK1.1 + * @since 1.1 */ public int getMenuCount() { return countMenus(); @@ -318,7 +318,7 @@ * @return an enumeration of menu shortcuts that this * menu bar is managing. * @see java.awt.MenuShortcut - * @since JDK1.1 + * @since 1.1 */ public synchronized Enumeration shortcuts() { Vector shortcuts = new Vector<>(); @@ -341,7 +341,7 @@ * @param s the specified menu shortcut. * @see java.awt.MenuItem * @see java.awt.MenuShortcut - * @since JDK1.1 + * @since 1.1 */ public MenuItem getShortcutMenuItem(MenuShortcut s) { int nmenus = getMenuCount(); @@ -387,7 +387,7 @@ /** * Deletes the specified menu shortcut. * @param s the menu shortcut to delete. - * @since JDK1.1 + * @since 1.1 */ public void deleteShortcut(MenuShortcut s) { int nmenus = getMenuCount(); diff --git a/src/share/classes/java/awt/MenuComponent.java b/src/share/classes/java/awt/MenuComponent.java --- a/src/share/classes/java/awt/MenuComponent.java +++ b/src/share/classes/java/awt/MenuComponent.java @@ -45,7 +45,7 @@ * through the method processEvent. * * @author Arthur van Hoff - * @since JDK1.0 + * @since 1.0 */ public abstract class MenuComponent implements java.io.Serializable { @@ -175,7 +175,7 @@ * Gets the name of the menu component. * @return the name of the menu component * @see java.awt.MenuComponent#setName(java.lang.String) - * @since JDK1.1 + * @since 1.1 */ public String getName() { if (name == null && !nameExplicitlySet) { @@ -191,7 +191,7 @@ * Sets the name of the component to the specified string. * @param name the name of the menu component * @see java.awt.MenuComponent#getName - * @since JDK1.1 + * @since 1.1 */ public void setName(String name) { synchronized(this) { @@ -373,7 +373,7 @@ * exception. * * @param e the event - * @since JDK1.1 + * @since 1.1 */ protected void processEvent(AWTEvent e) { } diff --git a/src/share/classes/java/awt/MenuItem.java b/src/share/classes/java/awt/MenuItem.java --- a/src/share/classes/java/awt/MenuItem.java +++ b/src/share/classes/java/awt/MenuItem.java @@ -176,7 +176,7 @@ * @exception HeadlessException if GraphicsEnvironment.isHeadless() * returns true. * @see java.awt.GraphicsEnvironment#isHeadless - * @since JDK1.1 + * @since 1.1 */ public MenuItem() throws HeadlessException { this("", null); @@ -192,7 +192,7 @@ * @exception HeadlessException if GraphicsEnvironment.isHeadless() * returns true. * @see java.awt.GraphicsEnvironment#isHeadless - * @since JDK1.0 + * @since 1.0 */ public MenuItem(String label) throws HeadlessException { this(label, null); @@ -209,7 +209,7 @@ * @exception HeadlessException if GraphicsEnvironment.isHeadless() * returns true. * @see java.awt.GraphicsEnvironment#isHeadless - * @since JDK1.1 + * @since 1.1 */ public MenuItem(String label, MenuShortcut s) throws HeadlessException { this.label = label; @@ -242,7 +242,7 @@ * @return the label of this menu item, or null if this menu item has no label. * @see java.awt.MenuItem#setLabel - * @since JDK1.0 + * @since 1.0 */ public String getLabel() { return label; @@ -252,7 +252,7 @@ * Sets the label for this menu item to the specified label. * @param label the new label, or null for no label. * @see java.awt.MenuItem#getLabel - * @since JDK1.0 + * @since 1.0 */ public synchronized void setLabel(String label) { this.label = label; @@ -265,7 +265,7 @@ /** * Checks whether this menu item is enabled. * @see java.awt.MenuItem#setEnabled - * @since JDK1.0 + * @since 1.0 */ public boolean isEnabled() { return enabled; @@ -276,7 +276,7 @@ * @param b if true, enables this menu item; * if false, disables it. * @see java.awt.MenuItem#isEnabled - * @since JDK1.1 + * @since 1.1 */ public synchronized void setEnabled(boolean b) { enable(b); @@ -327,7 +327,7 @@ * @return the menu shortcut associated with this menu item, * or null if none has been specified. * @see java.awt.MenuItem#setShortcut - * @since JDK1.1 + * @since 1.1 */ public MenuShortcut getShortcut() { return shortcut; @@ -340,7 +340,7 @@ * @param s the menu shortcut to associate * with this menu item. * @see java.awt.MenuItem#getShortcut - * @since JDK1.1 + * @since 1.1 */ public void setShortcut(MenuShortcut s) { shortcut = s; @@ -353,7 +353,7 @@ /** * Delete any MenuShortcut object associated * with this menu item. - * @since JDK1.1 + * @since 1.1 */ public void deleteShortcut() { shortcut = null; @@ -455,7 +455,7 @@ * @see java.awt.MenuItem#processEvent * @see java.awt.MenuItem#disableEvents * @see java.awt.Component#enableEvents - * @since JDK1.1 + * @since 1.1 */ protected final void enableEvents(long eventsToEnable) { eventMask |= eventsToEnable; @@ -470,7 +470,7 @@ * @see java.awt.MenuItem#processEvent * @see java.awt.MenuItem#enableEvents * @see java.awt.Component#disableEvents - * @since JDK1.1 + * @since 1.1 */ protected final void disableEvents(long eventsToDisable) { eventMask &= ~eventsToDisable; @@ -485,7 +485,7 @@ * @param command the action command to be set * for this menu item. * @see java.awt.MenuItem#getActionCommand - * @since JDK1.1 + * @since 1.1 */ public void setActionCommand(String command) { actionCommand = command; @@ -495,7 +495,7 @@ * Gets the command name of the action event that is fired * by this menu item. * @see java.awt.MenuItem#setActionCommand - * @since JDK1.1 + * @since 1.1 */ public String getActionCommand() { return getActionCommandImpl(); @@ -518,7 +518,7 @@ * @see #getActionListeners * @see java.awt.event.ActionEvent * @see java.awt.event.ActionListener - * @since JDK1.1 + * @since 1.1 */ public synchronized void addActionListener(ActionListener l) { if (l == null) { @@ -540,7 +540,7 @@ * @see #getActionListeners * @see java.awt.event.ActionEvent * @see java.awt.event.ActionListener - * @since JDK1.1 + * @since 1.1 */ public synchronized void removeActionListener(ActionListener l) { if (l == null) { @@ -621,7 +621,7 @@ * * @param e the event * @see java.awt.MenuItem#processActionEvent - * @since JDK1.1 + * @since 1.1 */ protected void processEvent(AWTEvent e) { if (e instanceof ActionEvent) { @@ -661,7 +661,7 @@ * @see java.awt.event.ActionEvent * @see java.awt.event.ActionListener * @see java.awt.MenuItem#enableEvents - * @since JDK1.1 + * @since 1.1 */ protected void processActionEvent(ActionEvent e) { ActionListener listener = actionListener; diff --git a/src/share/classes/java/awt/MenuShortcut.java b/src/share/classes/java/awt/MenuShortcut.java --- a/src/share/classes/java/awt/MenuShortcut.java +++ b/src/share/classes/java/awt/MenuShortcut.java @@ -54,7 +54,7 @@ * via {@link Toolkit#getMenuShortcutKeyMask}. * * @author Thomas Ball - * @since JDK1.1 + * @since 1.1 */ public class MenuShortcut implements java.io.Serializable { @@ -71,7 +71,7 @@ * @see #getKey() * @see #usesShiftModifier() * @see java.awt.event.KeyEvent - * @since JDK1.1 + * @since 1.1 */ int key; @@ -82,7 +82,7 @@ * * @serial * @see #usesShiftModifier() - * @since JDK1.1 + * @since 1.1 */ boolean usesShift; @@ -120,7 +120,7 @@ * Returns the raw keycode of this MenuShortcut. * @return the raw keycode of this MenuShortcut. * @see java.awt.event.KeyEvent - * @since JDK1.1 + * @since 1.1 */ public int getKey() { return key; @@ -130,7 +130,7 @@ * Returns whether this MenuShortcut must be invoked using the SHIFT key. * @return true if this MenuShortcut must be invoked using the * SHIFT key, false otherwise. - * @since JDK1.1 + * @since 1.1 */ public boolean usesShiftModifier() { return usesShift; @@ -143,7 +143,7 @@ * @param s the MenuShortcut to compare with this. * @return true if this MenuShortcut is the same as another, * false otherwise. - * @since JDK1.1 + * @since 1.1 */ public boolean equals(MenuShortcut s) { return (s != null && (s.getKey() == key) && @@ -178,7 +178,7 @@ /** * Returns an internationalized description of the MenuShortcut. * @return a string representation of this MenuShortcut. - * @since JDK1.1 + * @since 1.1 */ public String toString() { int modifiers = 0; @@ -196,7 +196,7 @@ * Returns the parameter string representing the state of this * MenuShortcut. This string is useful for debugging. * @return the parameter string of this MenuShortcut. - * @since JDK1.1 + * @since 1.1 */ protected String paramString() { String str = "key=" + key; diff --git a/src/share/classes/java/awt/Panel.java b/src/share/classes/java/awt/Panel.java --- a/src/share/classes/java/awt/Panel.java +++ b/src/share/classes/java/awt/Panel.java @@ -36,7 +36,7 @@ * * @author Sami Shaio * @see java.awt.FlowLayout - * @since JDK1.0 + * @since 1.0 */ public class Panel extends Container implements Accessible { private static final String base = "panel"; @@ -59,7 +59,7 @@ /** * Creates a new panel with the specified layout manager. * @param layout the layout manager for this panel. - * @since JDK1.1 + * @since 1.1 */ public Panel(LayoutManager layout) { setLayout(layout); diff --git a/src/share/classes/java/awt/ScrollPaneAdjustable.java b/src/share/classes/java/awt/ScrollPaneAdjustable.java --- a/src/share/classes/java/awt/ScrollPaneAdjustable.java +++ b/src/share/classes/java/awt/ScrollPaneAdjustable.java @@ -393,7 +393,7 @@ * @see #getAdjustmentListeners * @see java.awt.event.AdjustmentListener * @see java.awt.event.AdjustmentEvent - * @since JDK1.1 + * @since 1.1 */ public synchronized void removeAdjustmentListener(AdjustmentListener l){ if (l == null) { diff --git a/src/share/classes/java/awt/Scrollbar.java b/src/share/classes/java/awt/Scrollbar.java --- a/src/share/classes/java/awt/Scrollbar.java +++ b/src/share/classes/java/awt/Scrollbar.java @@ -161,7 +161,7 @@ * @author Sami Shaio * @see java.awt.event.AdjustmentEvent * @see java.awt.event.AdjustmentListener - * @since JDK1.0 + * @since 1.0 */ public class Scrollbar extends Component implements Adjustable, Accessible { @@ -460,7 +460,7 @@ * @exception IllegalArgumentException if the value supplied * for orientation is not a * legal value - * @since JDK1.1 + * @since 1.1 */ public void setOrientation(int orientation) { synchronized (getTreeLock()) { @@ -566,7 +566,7 @@ * @param newMinimum the new minimum value for this scroll bar * @see java.awt.Scrollbar#setValues * @see java.awt.Scrollbar#setMaximum - * @since JDK1.1 + * @since 1.1 */ public void setMinimum(int newMinimum) { // No checks are necessary in this method since minimum is @@ -611,7 +611,7 @@ * for this scroll bar * @see java.awt.Scrollbar#setValues * @see java.awt.Scrollbar#setMinimum - * @since JDK1.1 + * @since 1.1 */ public void setMaximum(int newMaximum) { // minimum is checked first in setValues, so we need to @@ -649,7 +649,7 @@ * * @return the visible amount of this scroll bar * @see java.awt.Scrollbar#setVisibleAmount - * @since JDK1.1 + * @since 1.1 */ public int getVisibleAmount() { return getVisible(); @@ -697,7 +697,7 @@ * @param newAmount the new visible amount * @see java.awt.Scrollbar#getVisibleAmount * @see java.awt.Scrollbar#setValues - * @since JDK1.1 + * @since 1.1 */ public void setVisibleAmount(int newAmount) { // Use setValues so that a consistent policy relating @@ -722,7 +722,7 @@ * @param v the amount by which to increment or decrement * the scroll bar's value * @see java.awt.Scrollbar#getUnitIncrement - * @since JDK1.1 + * @since 1.1 */ public void setUnitIncrement(int v) { setLineIncrement(v); @@ -761,7 +761,7 @@ * * @return the unit increment of this scroll bar * @see java.awt.Scrollbar#setUnitIncrement - * @since JDK1.1 + * @since 1.1 */ public int getUnitIncrement() { return getLineIncrement(); @@ -790,7 +790,7 @@ * @param v the amount by which to increment or decrement * the scroll bar's value * @see java.awt.Scrollbar#getBlockIncrement - * @since JDK1.1 + * @since 1.1 */ public void setBlockIncrement(int v) { setPageIncrement(v); @@ -826,7 +826,7 @@ * * @return the block increment of this scroll bar * @see java.awt.Scrollbar#setBlockIncrement - * @since JDK1.1 + * @since 1.1 */ public int getBlockIncrement() { return getPageIncrement(); @@ -972,7 +972,7 @@ * @see #getAdjustmentListeners * @see java.awt.event.AdjustmentEvent * @see java.awt.event.AdjustmentListener - * @since JDK1.1 + * @since 1.1 */ public synchronized void addAdjustmentListener(AdjustmentListener l) { if (l == null) { @@ -995,7 +995,7 @@ * @see #getAdjustmentListeners * @see java.awt.event.AdjustmentEvent * @see java.awt.event.AdjustmentListener - * @since JDK1.1 + * @since 1.1 */ public synchronized void removeAdjustmentListener(AdjustmentListener l) { if (l == null) { @@ -1086,7 +1086,7 @@ * @param e the event * @see java.awt.event.AdjustmentEvent * @see java.awt.Scrollbar#processAdjustmentEvent - * @since JDK1.1 + * @since 1.1 */ protected void processEvent(AWTEvent e) { if (e instanceof AdjustmentEvent) { @@ -1118,7 +1118,7 @@ * @see java.awt.event.AdjustmentListener * @see java.awt.Scrollbar#addAdjustmentListener * @see java.awt.Component#enableEvents - * @since JDK1.1 + * @since 1.1 */ protected void processAdjustmentEvent(AdjustmentEvent e) { AdjustmentListener listener = adjustmentListener; diff --git a/src/share/classes/java/awt/TextArea.java b/src/share/classes/java/awt/TextArea.java --- a/src/share/classes/java/awt/TextArea.java +++ b/src/share/classes/java/awt/TextArea.java @@ -51,7 +51,7 @@ *
* * @author Sami Shaio - * @since JDK1.0 + * @since 1.0 */ public class TextArea extends TextComponent { @@ -84,25 +84,25 @@ /** * Create and display both vertical and horizontal scrollbars. - * @since JDK1.1 + * @since 1.1 */ public static final int SCROLLBARS_BOTH = 0; /** * Create and display vertical scrollbar only. - * @since JDK1.1 + * @since 1.1 */ public static final int SCROLLBARS_VERTICAL_ONLY = 1; /** * Create and display horizontal scrollbar only. - * @since JDK1.1 + * @since 1.1 */ public static final int SCROLLBARS_HORIZONTAL_ONLY = 2; /** * Do not create or display any scrollbars for the text area. - * @since JDK1.1 + * @since 1.1 */ public static final int SCROLLBARS_NONE = 3; @@ -248,7 +248,7 @@ * columns is set to 0 * @param scrollbars a constant that determines what * scrollbars are created to view the text area - * @since JDK1.1 + * @since 1.1 * @exception HeadlessException if * GraphicsEnvironment.isHeadless returns true * @see java.awt.GraphicsEnvironment#isHeadless() @@ -307,7 +307,7 @@ * @see java.awt.TextComponent#setText * @see java.awt.TextArea#replaceRange * @see java.awt.TextArea#append - * @since JDK1.1 + * @since 1.1 */ public void insert(String str, int pos) { insertText(str, pos); @@ -335,7 +335,7 @@ * * @param str the non-null text to append * @see java.awt.TextArea#insert - * @since JDK1.1 + * @since 1.1 */ public void append(String str) { appendText(str); @@ -371,7 +371,7 @@ * @param start the start position * @param end the end position * @see java.awt.TextArea#insert - * @since JDK1.1 + * @since 1.1 */ public void replaceRange(String str, int start, int end) { replaceText(str, start, end); @@ -396,7 +396,7 @@ * @return the number of rows in the text area * @see #setRows(int) * @see #getColumns() - * @since JDK1 + * @since 1.0 */ public int getRows() { return rows; @@ -410,7 +410,7 @@ * @exception IllegalArgumentException if the value * supplied for rows * is less than 0 - * @since JDK1.1 + * @since 1.1 */ public void setRows(int rows) { int oldVal = this.rows; @@ -441,7 +441,7 @@ * @exception IllegalArgumentException if the value * supplied for columns * is less than 0 - * @since JDK1.1 + * @since 1.1 */ public void setColumns(int columns) { int oldVal = this.columns; @@ -469,7 +469,7 @@ * @see java.awt.TextArea#SCROLLBARS_HORIZONTAL_ONLY * @see java.awt.TextArea#SCROLLBARS_NONE * @see java.awt.TextArea#TextArea(java.lang.String, int, int, int) - * @since JDK1.1 + * @since 1.1 */ public int getScrollbarVisibility() { return scrollbarVisibility; @@ -485,7 +485,7 @@ * the text area with the specified * number of rows and columns * @see java.awt.Component#getPreferredSize - * @since JDK1.1 + * @since 1.1 */ public Dimension getPreferredSize(int rows, int columns) { return preferredSize(rows, columns); @@ -509,7 +509,7 @@ * Determines the preferred size of this text area. * @return the preferred dimensions needed for this text area * @see java.awt.Component#getPreferredSize - * @since JDK1.1 + * @since 1.1 */ public Dimension getPreferredSize() { return preferredSize(); @@ -537,7 +537,7 @@ * the text area with the specified * number of rows and columns * @see java.awt.Component#getMinimumSize - * @since JDK1.1 + * @since 1.1 */ public Dimension getMinimumSize(int rows, int columns) { return minimumSize(rows, columns); @@ -561,7 +561,7 @@ * Determines the minimum size of this text area. * @return the preferred dimensions needed for this text area * @see java.awt.Component#getPreferredSize - * @since JDK1.1 + * @since 1.1 */ public Dimension getMinimumSize() { return minimumSize(); diff --git a/src/share/classes/java/awt/TextComponent.java b/src/share/classes/java/awt/TextComponent.java --- a/src/share/classes/java/awt/TextComponent.java +++ b/src/share/classes/java/awt/TextComponent.java @@ -55,7 +55,7 @@ * * @author Sami Shaio * @author Arthur van Hoff - * @since JDK1.0 + * @since 1.0 */ public class TextComponent extends Component implements Accessible { @@ -268,7 +268,7 @@ * @return true if this text component is * editable; false otherwise. * @see java.awt.TextComponent#setEditable - * @since JDK1.0 + * @since 1.0 */ public boolean isEditable() { return editable; @@ -288,7 +288,7 @@ * @param b a flag indicating whether this text component * is user editable. * @see java.awt.TextComponent#isEditable - * @since JDK1.0 + * @since 1.0 */ public synchronized void setEditable(boolean b) { if (editable == b) { @@ -313,7 +313,7 @@ * If this text component does not have a background color, * the background color of its parent is returned. * @see #setBackground(Color) - * @since JDK1.0 + * @since 1.0 */ public Color getBackground() { if (!editable && !backgroundSetByClientCode) { @@ -330,7 +330,7 @@ * If this parameter is null then this text component * will inherit the background color of its parent. * @see #getBackground() - * @since JDK1.0 + * @since 1.0 */ public void setBackground(Color c) { backgroundSetByClientCode = true; @@ -365,7 +365,7 @@ * selected text * @see java.awt.TextComponent#getSelectionStart * @see java.awt.TextComponent#setSelectionEnd - * @since JDK1.1 + * @since 1.1 */ public synchronized void setSelectionStart(int selectionStart) { /* Route through select method to enforce consistent policy @@ -401,7 +401,7 @@ * selected text * @see java.awt.TextComponent#getSelectionEnd * @see java.awt.TextComponent#setSelectionStart - * @since JDK1.1 + * @since 1.1 */ public synchronized void setSelectionEnd(int selectionEnd) { /* Route through select method to enforce consistent policy @@ -494,7 +494,7 @@ * @param position the position of the text insertion caret * @exception IllegalArgumentException if position * is less than zero - * @since JDK1.1 + * @since 1.1 */ public synchronized void setCaretPosition(int position) { if (position < 0) { @@ -523,7 +523,7 @@ * * @return the position of the text insertion caret * @see #setCaretPosition(int) - * @since JDK1.1 + * @since 1.1 */ public synchronized int getCaretPosition() { TextComponentPeer peer = (TextComponentPeer)this.peer; @@ -574,7 +574,7 @@ * @see #addTextListener * @see #getTextListeners * @see java.awt.event.TextListener - * @since JDK1.1 + * @since 1.1 */ public synchronized void removeTextListener(TextListener l) { if (l == null) { diff --git a/src/share/classes/java/awt/TextField.java b/src/share/classes/java/awt/TextField.java --- a/src/share/classes/java/awt/TextField.java +++ b/src/share/classes/java/awt/TextField.java @@ -92,7 +92,7 @@ * @see java.awt.TextField#processEvent * @see java.awt.TextField#processActionEvent * @see java.awt.TextField#addActionListener - * @since JDK1.0 + * @since 1.0 */ public class TextField extends TextComponent { @@ -265,7 +265,7 @@ * @param c the echo character for this text field. * @see java.awt.TextField#echoCharIsSet * @see java.awt.TextField#getEchoChar - * @since JDK1.1 + * @since 1.1 */ public void setEchoChar(char c) { setEchoCharacter(c); @@ -321,7 +321,7 @@ * approximate average character width that is platform-dependent. * @return the number of columns. * @see java.awt.TextField#setColumns - * @since JDK1.1 + * @since 1.1 */ public int getColumns() { return columns; @@ -335,7 +335,7 @@ * @exception IllegalArgumentException if the value * supplied for columns * is less than 0. - * @since JDK1.1 + * @since 1.1 */ public void setColumns(int columns) { int oldVal; @@ -361,7 +361,7 @@ * in this text field. * @return the preferred dimensions for * displaying this text field. - * @since JDK1.1 + * @since 1.1 */ public Dimension getPreferredSize(int columns) { return preferredSize(columns); @@ -385,7 +385,7 @@ * Gets the preferred size of this text field. * @return the preferred dimensions for * displaying this text field. - * @since JDK1.1 + * @since 1.1 */ public Dimension getPreferredSize() { return preferredSize(); @@ -409,7 +409,7 @@ * the specified number of columns. * @param columns the number of columns in * this text field. - * @since JDK1.1 + * @since 1.1 */ public Dimension getMinimumSize(int columns) { return minimumSize(columns); @@ -433,7 +433,7 @@ * Gets the minimum dimensions for this text field. * @return the minimum dimensions for * displaying this text field. - * @since JDK1.1 + * @since 1.1 */ public Dimension getMinimumSize() { return minimumSize(); @@ -463,7 +463,7 @@ * @see #removeActionListener * @see #getActionListeners * @see java.awt.event.ActionListener - * @since JDK1.1 + * @since 1.1 */ public synchronized void addActionListener(ActionListener l) { if (l == null) { @@ -484,7 +484,7 @@ * @see #addActionListener * @see #getActionListeners * @see java.awt.event.ActionListener - * @since JDK1.1 + * @since 1.1 */ public synchronized void removeActionListener(ActionListener l) { if (l == null) { @@ -578,7 +578,7 @@ * @param e the event * @see java.awt.event.ActionEvent * @see java.awt.TextField#processActionEvent - * @since JDK1.1 + * @since 1.1 */ protected void processEvent(AWTEvent e) { if (e instanceof ActionEvent) { @@ -609,7 +609,7 @@ * @see java.awt.event.ActionListener * @see java.awt.TextField#addActionListener * @see java.awt.Component#enableEvents - * @since JDK1.1 + * @since 1.1 */ protected void processActionEvent(ActionEvent e) { ActionListener listener = actionListener; diff --git a/src/share/classes/java/awt/Toolkit.java b/src/share/classes/java/awt/Toolkit.java --- a/src/share/classes/java/awt/Toolkit.java +++ b/src/share/classes/java/awt/Toolkit.java @@ -108,7 +108,7 @@ * @author Sami Shaio * @author Arthur van Hoff * @author Fred Ecks - * @since JDK1.0 + * @since 1.0 */ public abstract class Toolkit { @@ -222,7 +222,7 @@ * @see java.awt.GraphicsEnvironment#isHeadless * @see java.awt.ScrollPane * @see java.awt.peer.ScrollPanePeer - * @since JDK1.1 + * @since 1.1 */ protected abstract ScrollPanePeer createScrollPane(ScrollPane target) throws HeadlessException; @@ -355,7 +355,7 @@ * @see java.awt.GraphicsEnvironment#isHeadless * @see java.awt.PopupMenu * @see java.awt.peer.PopupMenuPeer - * @since JDK1.1 + * @since 1.1 */ protected abstract PopupMenuPeer createPopupMenu(PopupMenu target) throws HeadlessException; @@ -457,7 +457,7 @@ * @exception HeadlessException if GraphicsEnvironment.isHeadless() * returns true * @see java.awt.GraphicsEnvironment#isHeadless - * @since JDK1.1 + * @since 1.1 */ protected void loadSystemColors(int[] systemColors) throws HeadlessException { @@ -1105,7 +1105,7 @@ * @param imagedata an array of bytes, representing * image data in a supported image format. * @return an image. - * @since JDK1.1 + * @since 1.1 */ public Image createImage(byte[] imagedata) { return createImage(imagedata, 0, imagedata.length); @@ -1122,7 +1122,7 @@ * of the data in the array. * @param imagelength the length of the data in the array. * @return an image. - * @since JDK1.1 + * @since 1.1 */ public abstract Image createImage(byte[] imagedata, int imageoffset, @@ -1159,7 +1159,7 @@ * @see java.awt.GraphicsEnvironment#isHeadless * @see java.awt.PrintJob * @see java.lang.RuntimePermission - * @since JDK1.1 + * @since 1.1 */ public abstract PrintJob getPrintJob(Frame frame, String jobtitle, Properties props); @@ -1230,7 +1230,7 @@ /** * Emits an audio beep depending on native system settings and hardware * capabilities. - * @since JDK1.1 + * @since 1.1 */ public abstract void beep(); @@ -1273,7 +1273,7 @@ * @see java.awt.datatransfer.DataFlavor#plainTextFlavor * @see java.io.Reader * @see java.awt.AWTPermission - * @since JDK1.1 + * @since 1.1 */ public abstract Clipboard getSystemClipboard() throws HeadlessException; @@ -1353,7 +1353,7 @@ * @see java.awt.GraphicsEnvironment#isHeadless * @see java.awt.MenuBar * @see java.awt.MenuShortcut - * @since JDK1.1 + * @since 1.1 */ public int getMenuShortcutKeyMask() throws HeadlessException { GraphicsEnvironment.checkHeadless(); diff --git a/src/share/classes/java/awt/Window.java b/src/share/classes/java/awt/Window.java --- a/src/share/classes/java/awt/Window.java +++ b/src/share/classes/java/awt/Window.java @@ -143,7 +143,7 @@ * @see WindowEvent * @see #addWindowListener * @see java.awt.BorderLayout - * @since JDK1.0 + * @since 1.0 */ public class Window extends Container implements Accessible { @@ -753,7 +753,7 @@ * not be called directly by programs. * @see Component#isDisplayable * @see Container#removeNotify - * @since JDK1.0 + * @since 1.0 */ public void addNotify() { synchronized (getTreeLock()) { @@ -1405,7 +1405,7 @@ * is returned. * @return the locale that is set for this window. * @see java.util.Locale - * @since JDK1.1 + * @since 1.1 */ public Locale getLocale() { if (this.locale == null) { @@ -1441,7 +1441,7 @@ * Cursor.DEFAULT_CURSOR. * @see Component#getCursor * @see Cursor - * @since JDK1.1 + * @since 1.1 */ public void setCursor(Cursor cursor) { if (cursor == null) { diff --git a/src/share/classes/java/awt/datatransfer/package.html b/src/share/classes/java/awt/datatransfer/package.html --- a/src/share/classes/java/awt/datatransfer/package.html +++ b/src/share/classes/java/awt/datatransfer/package.html @@ -59,6 +59,6 @@ --> -@since JDK1.1 +@since 1.1 diff --git a/src/share/classes/java/awt/event/InputEvent.java b/src/share/classes/java/awt/event/InputEvent.java --- a/src/share/classes/java/awt/event/InputEvent.java +++ b/src/share/classes/java/awt/event/InputEvent.java @@ -162,7 +162,7 @@ * @see getButtonDownMasks * There are twenty buttons fit into 4byte space. * one more bit is reserved for FIRST_HIGH_BIT. - * @since 7.0 + * @since 1.7 */ private static final int [] BUTTON_DOWN_MASK = new int [] { BUTTON1_DOWN_MASK, BUTTON2_DOWN_MASK, @@ -187,7 +187,7 @@ /** * A method to access an array of extended modifiers for additional buttons. - * @since 7.0 + * @since 1.7 */ private static int [] getButtonDownMasks(){ return Arrays.copyOf(BUTTON_DOWN_MASK, BUTTON_DOWN_MASK.length); @@ -237,7 +237,7 @@ * @return a mask for an existing mouse button. * @throws IllegalArgumentException if {@code button} is less than zero or greater than the number * of button masks reserved for buttons - * @since 7.0 + * @since 1.7 * @see java.awt.MouseInfo#getNumberOfButtons() * @see Toolkit#areExtraMouseButtonsEnabled() * @see MouseEvent#getModifiers() diff --git a/src/share/classes/java/awt/event/WindowEvent.java b/src/share/classes/java/awt/event/WindowEvent.java --- a/src/share/classes/java/awt/event/WindowEvent.java +++ b/src/share/classes/java/awt/event/WindowEvent.java @@ -54,7 +54,7 @@ * @see WindowListener * @see Tutorial: Writing a Window Listener * - * @since JDK1.1 + * @since 1.1 */ public class WindowEvent extends ComponentEvent { diff --git a/src/share/classes/java/awt/event/package.html b/src/share/classes/java/awt/event/package.html --- a/src/share/classes/java/awt/event/package.html +++ b/src/share/classes/java/awt/event/package.html @@ -53,6 +53,6 @@ --> -@since JDK1.1 +@since 1.1 diff --git a/src/share/classes/java/awt/im/spi/package.html b/src/share/classes/java/awt/im/spi/package.html --- a/src/share/classes/java/awt/im/spi/package.html +++ b/src/share/classes/java/awt/im/spi/package.html @@ -48,7 +48,7 @@ @@ -116,11 +116,11 @@ -@since JDK1.3 +@since 1.3 diff --git a/src/share/classes/java/awt/image/package.html b/src/share/classes/java/awt/image/package.html --- a/src/share/classes/java/awt/image/package.html +++ b/src/share/classes/java/awt/image/package.html @@ -53,6 +53,6 @@ --> -@since JDK1.0 +@since 1.0 diff --git a/src/share/classes/java/awt/package.html b/src/share/classes/java/awt/package.html --- a/src/share/classes/java/awt/package.html +++ b/src/share/classes/java/awt/package.html @@ -31,7 +31,7 @@ Contains all of the classes for creating user interfaces and for painting graphics and images. A user interface object such as a button or a scrollbar is called, in AWT terminology, a component. The Component class is the root of all -AWT components. See Component for a detailed description of properties that all AWT +AWT components. See Component for a detailed description of properties that all AWT components share.

Some components fire events when a user interacts with the components. The AWTEvent @@ -53,7 +53,7 @@ If the bounds of a Component object exceed a platform limit, there is no way to properly arrange them within a Container object. The object's bounds are defined by any object's coordinate -in combination with its size on a respective axis. +in combination with its size on a respective axis.

Additional Specification

@@ -78,6 +78,6 @@ --> -@since JDK1.0 +@since 1.0 diff --git a/src/share/classes/java/io/BufferedInputStream.java b/src/share/classes/java/io/BufferedInputStream.java --- a/src/share/classes/java/io/BufferedInputStream.java +++ b/src/share/classes/java/io/BufferedInputStream.java @@ -45,7 +45,7 @@ * the contained input stream. * * @author Arthur van Hoff - * @since JDK1.0 + * @since 1.0 */ public class BufferedInputStream extends FilterInputStream { diff --git a/src/share/classes/java/io/BufferedOutputStream.java b/src/share/classes/java/io/BufferedOutputStream.java --- a/src/share/classes/java/io/BufferedOutputStream.java +++ b/src/share/classes/java/io/BufferedOutputStream.java @@ -32,7 +32,7 @@ * system for each byte written. * * @author Arthur van Hoff - * @since JDK1.0 + * @since 1.0 */ public class BufferedOutputStream extends FilterOutputStream { diff --git a/src/share/classes/java/io/BufferedReader.java b/src/share/classes/java/io/BufferedReader.java --- a/src/share/classes/java/io/BufferedReader.java +++ b/src/share/classes/java/io/BufferedReader.java @@ -64,7 +64,7 @@ * @see java.nio.file.Files#newBufferedReader * * @author Mark Reinhold - * @since JDK1.1 + * @since 1.1 */ public class BufferedReader extends Reader { diff --git a/src/share/classes/java/io/BufferedWriter.java b/src/share/classes/java/io/BufferedWriter.java --- a/src/share/classes/java/io/BufferedWriter.java +++ b/src/share/classes/java/io/BufferedWriter.java @@ -60,7 +60,7 @@ * @see java.nio.file.Files#newBufferedWriter * * @author Mark Reinhold - * @since JDK1.1 + * @since 1.1 */ public class BufferedWriter extends Writer { diff --git a/src/share/classes/java/io/ByteArrayInputStream.java b/src/share/classes/java/io/ByteArrayInputStream.java --- a/src/share/classes/java/io/ByteArrayInputStream.java +++ b/src/share/classes/java/io/ByteArrayInputStream.java @@ -38,7 +38,7 @@ * * @author Arthur van Hoff * @see java.io.StringBufferInputStream - * @since JDK1.0 + * @since 1.0 */ public class ByteArrayInputStream extends InputStream { @@ -73,7 +73,7 @@ * If no mark has been set, then the value of mark is the offset * passed to the constructor (or 0 if the offset was not supplied). * - * @since JDK1.1 + * @since 1.1 */ protected int mark = 0; @@ -237,7 +237,7 @@ * markSupported method of ByteArrayInputStream * always returns true. * - * @since JDK1.1 + * @since 1.1 */ public boolean markSupported() { return true; @@ -256,7 +256,7 @@ *

Note: The readAheadLimit for this class * has no meaning. * - * @since JDK1.1 + * @since 1.1 */ public void mark(int readAheadLimit) { mark = pos; diff --git a/src/share/classes/java/io/ByteArrayOutputStream.java b/src/share/classes/java/io/ByteArrayOutputStream.java --- a/src/share/classes/java/io/ByteArrayOutputStream.java +++ b/src/share/classes/java/io/ByteArrayOutputStream.java @@ -39,7 +39,7 @@ * generating an IOException. * * @author Arthur van Hoff - * @since JDK1.0 + * @since 1.0 */ public class ByteArrayOutputStream extends OutputStream { @@ -202,7 +202,7 @@ * required. * * @return String decoded from the buffer's contents. - * @since JDK1.1 + * @since 1.1 */ public synchronized String toString() { return new String(buf, 0, count); @@ -224,7 +224,7 @@ * @return String decoded from the buffer's contents. * @exception UnsupportedEncodingException * If the named charset is not supported - * @since JDK1.1 + * @since 1.1 */ public synchronized String toString(String charsetName) throws UnsupportedEncodingException diff --git a/src/share/classes/java/io/CharArrayReader.java b/src/share/classes/java/io/CharArrayReader.java --- a/src/share/classes/java/io/CharArrayReader.java +++ b/src/share/classes/java/io/CharArrayReader.java @@ -30,7 +30,7 @@ * character-input stream. * * @author Herb Jellinek - * @since JDK1.1 + * @since 1.1 */ public class CharArrayReader extends Reader { /** The character buffer. */ diff --git a/src/share/classes/java/io/CharArrayWriter.java b/src/share/classes/java/io/CharArrayWriter.java --- a/src/share/classes/java/io/CharArrayWriter.java +++ b/src/share/classes/java/io/CharArrayWriter.java @@ -37,7 +37,7 @@ * without generating an IOException. * * @author Herb Jellinek - * @since JDK1.1 + * @since 1.1 */ public class CharArrayWriter extends Writer { diff --git a/src/share/classes/java/io/CharConversionException.java b/src/share/classes/java/io/CharConversionException.java --- a/src/share/classes/java/io/CharConversionException.java +++ b/src/share/classes/java/io/CharConversionException.java @@ -28,7 +28,7 @@ * Base class for character conversion exceptions. * * @author Asmus Freytag - * @since JDK1.1 + * @since 1.1 */ public class CharConversionException extends java.io.IOException diff --git a/src/share/classes/java/io/DataInput.java b/src/share/classes/java/io/DataInput.java --- a/src/share/classes/java/io/DataInput.java +++ b/src/share/classes/java/io/DataInput.java @@ -143,7 +143,7 @@ * @author Frank Yellin * @see java.io.DataInputStream * @see java.io.DataOutput - * @since JDK1.0 + * @since 1.0 */ public interface DataInput { diff --git a/src/share/classes/java/io/DataInputStream.java b/src/share/classes/java/io/DataInputStream.java --- a/src/share/classes/java/io/DataInputStream.java +++ b/src/share/classes/java/io/DataInputStream.java @@ -37,7 +37,7 @@ * * @author Arthur van Hoff * @see java.io.DataOutputStream - * @since JDK1.0 + * @since 1.0 */ public class DataInputStream extends FilterInputStream implements DataInput { diff --git a/src/share/classes/java/io/DataOutput.java b/src/share/classes/java/io/DataOutput.java --- a/src/share/classes/java/io/DataOutput.java +++ b/src/share/classes/java/io/DataOutput.java @@ -44,7 +44,7 @@ * @author Frank Yellin * @see java.io.DataInput * @see java.io.DataOutputStream - * @since JDK1.0 + * @since 1.0 */ public interface DataOutput { diff --git a/src/share/classes/java/io/DataOutputStream.java b/src/share/classes/java/io/DataOutputStream.java --- a/src/share/classes/java/io/DataOutputStream.java +++ b/src/share/classes/java/io/DataOutputStream.java @@ -32,7 +32,7 @@ * * @author unascribed * @see java.io.DataInputStream - * @since JDK1.0 + * @since 1.0 */ public class DataOutputStream extends FilterOutputStream implements DataOutput { diff --git a/src/share/classes/java/io/EOFException.java b/src/share/classes/java/io/EOFException.java --- a/src/share/classes/java/io/EOFException.java +++ b/src/share/classes/java/io/EOFException.java @@ -36,7 +36,7 @@ * @author Frank Yellin * @see java.io.DataInputStream * @see java.io.IOException - * @since JDK1.0 + * @since 1.0 */ public class EOFException extends IOException { diff --git a/src/share/classes/java/io/Externalizable.java b/src/share/classes/java/io/Externalizable.java --- a/src/share/classes/java/io/Externalizable.java +++ b/src/share/classes/java/io/Externalizable.java @@ -61,7 +61,7 @@ * @see java.io.ObjectOutput * @see java.io.ObjectInput * @see java.io.Serializable - * @since JDK1.1 + * @since 1.1 */ public interface Externalizable extends java.io.Serializable { /** diff --git a/src/share/classes/java/io/File.java b/src/share/classes/java/io/File.java --- a/src/share/classes/java/io/File.java +++ b/src/share/classes/java/io/File.java @@ -143,7 +143,7 @@ * diagnose errors when an operation on a file fails. * * @author unascribed - * @since JDK1.0 + * @since 1.0 */ public class File @@ -608,7 +608,7 @@ * java.lang.SecurityManager#checkRead} method denies * read access to the file * - * @since JDK1.1 + * @since 1.1 * @see Path#toRealPath */ public String getCanonicalPath() throws IOException { diff --git a/src/share/classes/java/io/FileInputStream.java b/src/share/classes/java/io/FileInputStream.java --- a/src/share/classes/java/io/FileInputStream.java +++ b/src/share/classes/java/io/FileInputStream.java @@ -43,7 +43,7 @@ * @see java.io.FileDescriptor * @see java.io.FileOutputStream * @see java.nio.file.Files#newInputStream - * @since JDK1.0 + * @since 1.0 */ public class FileInputStream extends InputStream diff --git a/src/share/classes/java/io/FileNotFoundException.java b/src/share/classes/java/io/FileNotFoundException.java --- a/src/share/classes/java/io/FileNotFoundException.java +++ b/src/share/classes/java/io/FileNotFoundException.java @@ -37,7 +37,7 @@ * example when an attempt is made to open a read-only file for writing. * * @author unascribed - * @since JDK1.0 + * @since 1.0 */ public class FileNotFoundException extends IOException { diff --git a/src/share/classes/java/io/FileOutputStream.java b/src/share/classes/java/io/FileOutputStream.java --- a/src/share/classes/java/io/FileOutputStream.java +++ b/src/share/classes/java/io/FileOutputStream.java @@ -47,7 +47,7 @@ * @see java.io.FileDescriptor * @see java.io.FileInputStream * @see java.nio.file.Files#newOutputStream - * @since JDK1.0 + * @since 1.0 */ public class FileOutputStream extends OutputStream @@ -125,7 +125,7 @@ * checkWrite method denies write access * to the file. * @see java.lang.SecurityManager#checkWrite(java.lang.String) - * @since JDK1.1 + * @since 1.1 */ public FileOutputStream(String name, boolean append) throws FileNotFoundException diff --git a/src/share/classes/java/io/FileReader.java b/src/share/classes/java/io/FileReader.java --- a/src/share/classes/java/io/FileReader.java +++ b/src/share/classes/java/io/FileReader.java @@ -40,7 +40,7 @@ * @see FileInputStream * * @author Mark Reinhold - * @since JDK1.1 + * @since 1.1 */ public class FileReader extends InputStreamReader { diff --git a/src/share/classes/java/io/FileWriter.java b/src/share/classes/java/io/FileWriter.java --- a/src/share/classes/java/io/FileWriter.java +++ b/src/share/classes/java/io/FileWriter.java @@ -46,7 +46,7 @@ * @see FileOutputStream * * @author Mark Reinhold - * @since JDK1.1 + * @since 1.1 */ public class FileWriter extends OutputStreamWriter { diff --git a/src/share/classes/java/io/FilenameFilter.java b/src/share/classes/java/io/FilenameFilter.java --- a/src/share/classes/java/io/FilenameFilter.java +++ b/src/share/classes/java/io/FilenameFilter.java @@ -37,7 +37,7 @@ * @see java.awt.FileDialog#setFilenameFilter(java.io.FilenameFilter) * @see java.io.File * @see java.io.File#list(java.io.FilenameFilter) - * @since JDK1.0 + * @since 1.0 */ @FunctionalInterface public interface FilenameFilter { diff --git a/src/share/classes/java/io/FilterInputStream.java b/src/share/classes/java/io/FilterInputStream.java --- a/src/share/classes/java/io/FilterInputStream.java +++ b/src/share/classes/java/io/FilterInputStream.java @@ -40,7 +40,7 @@ * and fields. * * @author Jonathan Payne - * @since JDK1.0 + * @since 1.0 */ public class FilterInputStream extends InputStream { diff --git a/src/share/classes/java/io/FilterOutputStream.java b/src/share/classes/java/io/FilterOutputStream.java --- a/src/share/classes/java/io/FilterOutputStream.java +++ b/src/share/classes/java/io/FilterOutputStream.java @@ -39,7 +39,7 @@ * methods as well as provide additional methods and fields. * * @author Jonathan Payne - * @since JDK1.0 + * @since 1.0 */ public class FilterOutputStream extends OutputStream { diff --git a/src/share/classes/java/io/FilterReader.java b/src/share/classes/java/io/FilterReader.java --- a/src/share/classes/java/io/FilterReader.java +++ b/src/share/classes/java/io/FilterReader.java @@ -35,7 +35,7 @@ * additional methods and fields. * * @author Mark Reinhold - * @since JDK1.1 + * @since 1.1 */ public abstract class FilterReader extends Reader { diff --git a/src/share/classes/java/io/FilterWriter.java b/src/share/classes/java/io/FilterWriter.java --- a/src/share/classes/java/io/FilterWriter.java +++ b/src/share/classes/java/io/FilterWriter.java @@ -35,7 +35,7 @@ * provide additional methods and fields. * * @author Mark Reinhold - * @since JDK1.1 + * @since 1.1 */ public abstract class FilterWriter extends Writer { diff --git a/src/share/classes/java/io/IOException.java b/src/share/classes/java/io/IOException.java --- a/src/share/classes/java/io/IOException.java +++ b/src/share/classes/java/io/IOException.java @@ -33,7 +33,7 @@ * @author unascribed * @see java.io.InputStream * @see java.io.OutputStream - * @since JDK1.0 + * @since 1.0 */ public class IOException extends Exception { diff --git a/src/share/classes/java/io/InputStream.java b/src/share/classes/java/io/InputStream.java --- a/src/share/classes/java/io/InputStream.java +++ b/src/share/classes/java/io/InputStream.java @@ -40,7 +40,7 @@ * @see java.io.InputStream#read() * @see java.io.OutputStream * @see java.io.PushbackInputStream - * @since JDK1.0 + * @since 1.0 */ public abstract class InputStream implements Closeable { diff --git a/src/share/classes/java/io/InputStreamReader.java b/src/share/classes/java/io/InputStreamReader.java --- a/src/share/classes/java/io/InputStreamReader.java +++ b/src/share/classes/java/io/InputStreamReader.java @@ -56,7 +56,7 @@ * @see java.nio.charset.Charset * * @author Mark Reinhold - * @since JDK1.1 + * @since 1.1 */ public class InputStreamReader extends Reader { diff --git a/src/share/classes/java/io/InterruptedIOException.java b/src/share/classes/java/io/InterruptedIOException.java --- a/src/share/classes/java/io/InterruptedIOException.java +++ b/src/share/classes/java/io/InterruptedIOException.java @@ -37,7 +37,7 @@ * @see java.io.InputStream * @see java.io.OutputStream * @see java.lang.Thread#interrupt() - * @since JDK1.0 + * @since 1.0 */ public class InterruptedIOException extends IOException { diff --git a/src/share/classes/java/io/InvalidClassException.java b/src/share/classes/java/io/InvalidClassException.java --- a/src/share/classes/java/io/InvalidClassException.java +++ b/src/share/classes/java/io/InvalidClassException.java @@ -36,7 +36,7 @@ * * * @author unascribed - * @since JDK1.1 + * @since 1.1 */ public class InvalidClassException extends ObjectStreamException { diff --git a/src/share/classes/java/io/InvalidObjectException.java b/src/share/classes/java/io/InvalidObjectException.java --- a/src/share/classes/java/io/InvalidObjectException.java +++ b/src/share/classes/java/io/InvalidObjectException.java @@ -30,10 +30,10 @@ * tests. The argument should provide the reason for the failure. * * @see ObjectInputValidation - * @since JDK1.1 + * @since 1.1 * * @author unascribed - * @since JDK1.1 + * @since 1.1 */ public class InvalidObjectException extends ObjectStreamException { diff --git a/src/share/classes/java/io/LineNumberInputStream.java b/src/share/classes/java/io/LineNumberInputStream.java --- a/src/share/classes/java/io/LineNumberInputStream.java +++ b/src/share/classes/java/io/LineNumberInputStream.java @@ -40,7 +40,7 @@ * * @author Arthur van Hoff * @see java.io.LineNumberReader - * @since JDK1.0 + * @since 1.0 * @deprecated This class incorrectly assumes that bytes adequately represent * characters. As of JDK 1.1, the preferred way to operate on * character streams is via the new character-stream classes, which diff --git a/src/share/classes/java/io/LineNumberReader.java b/src/share/classes/java/io/LineNumberReader.java --- a/src/share/classes/java/io/LineNumberReader.java +++ b/src/share/classes/java/io/LineNumberReader.java @@ -44,7 +44,7 @@ * immediately by a linefeed. * * @author Mark Reinhold - * @since JDK1.1 + * @since 1.1 */ public class LineNumberReader extends BufferedReader { diff --git a/src/share/classes/java/io/NotActiveException.java b/src/share/classes/java/io/NotActiveException.java --- a/src/share/classes/java/io/NotActiveException.java +++ b/src/share/classes/java/io/NotActiveException.java @@ -29,7 +29,7 @@ * Thrown when serialization or deserialization is not active. * * @author unascribed - * @since JDK1.1 + * @since 1.1 */ public class NotActiveException extends ObjectStreamException { diff --git a/src/share/classes/java/io/NotSerializableException.java b/src/share/classes/java/io/NotSerializableException.java --- a/src/share/classes/java/io/NotSerializableException.java +++ b/src/share/classes/java/io/NotSerializableException.java @@ -31,7 +31,7 @@ * this exception. The argument should be the name of the class. * * @author unascribed - * @since JDK1.1 + * @since 1.1 */ public class NotSerializableException extends ObjectStreamException { diff --git a/src/share/classes/java/io/ObjectInput.java b/src/share/classes/java/io/ObjectInput.java --- a/src/share/classes/java/io/ObjectInput.java +++ b/src/share/classes/java/io/ObjectInput.java @@ -34,7 +34,7 @@ * @see java.io.InputStream * @see java.io.ObjectOutputStream * @see java.io.ObjectInputStream - * @since JDK1.1 + * @since 1.1 */ public interface ObjectInput extends DataInput, AutoCloseable { /** diff --git a/src/share/classes/java/io/ObjectInputStream.java b/src/share/classes/java/io/ObjectInputStream.java --- a/src/share/classes/java/io/ObjectInputStream.java +++ b/src/share/classes/java/io/ObjectInputStream.java @@ -200,7 +200,7 @@ * @see java.io.ObjectOutputStream * @see java.io.Serializable * @see Object Serialization Specification, Section 3, Object Input Classes - * @since JDK1.1 + * @since 1.1 */ public class ObjectInputStream extends InputStream implements ObjectInput, ObjectStreamConstants diff --git a/src/share/classes/java/io/ObjectInputValidation.java b/src/share/classes/java/io/ObjectInputValidation.java --- a/src/share/classes/java/io/ObjectInputValidation.java +++ b/src/share/classes/java/io/ObjectInputValidation.java @@ -33,7 +33,7 @@ * @author unascribed * @see ObjectInputStream * @see ObjectInputStream#registerValidation(java.io.ObjectInputValidation, int) - * @since JDK1.1 + * @since 1.1 */ public interface ObjectInputValidation { /** diff --git a/src/share/classes/java/io/ObjectOutput.java b/src/share/classes/java/io/ObjectOutput.java --- a/src/share/classes/java/io/ObjectOutput.java +++ b/src/share/classes/java/io/ObjectOutput.java @@ -34,7 +34,7 @@ * @see java.io.InputStream * @see java.io.ObjectOutputStream * @see java.io.ObjectInputStream - * @since JDK1.1 + * @since 1.1 */ public interface ObjectOutput extends DataOutput, AutoCloseable { /** diff --git a/src/share/classes/java/io/ObjectOutputStream.java b/src/share/classes/java/io/ObjectOutputStream.java --- a/src/share/classes/java/io/ObjectOutputStream.java +++ b/src/share/classes/java/io/ObjectOutputStream.java @@ -156,7 +156,7 @@ * @see java.io.Serializable * @see java.io.Externalizable * @see Object Serialization Specification, Section 2, Object Output Classes - * @since JDK1.1 + * @since 1.1 */ public class ObjectOutputStream extends OutputStream implements ObjectOutput, ObjectStreamConstants diff --git a/src/share/classes/java/io/ObjectStreamClass.java b/src/share/classes/java/io/ObjectStreamClass.java --- a/src/share/classes/java/io/ObjectStreamClass.java +++ b/src/share/classes/java/io/ObjectStreamClass.java @@ -67,7 +67,7 @@ * @author Roger Riggs * @see ObjectStreamField * @see Object Serialization Specification, Section 4, Class Descriptors - * @since JDK1.1 + * @since 1.1 */ public class ObjectStreamClass implements Serializable { diff --git a/src/share/classes/java/io/ObjectStreamConstants.java b/src/share/classes/java/io/ObjectStreamConstants.java --- a/src/share/classes/java/io/ObjectStreamConstants.java +++ b/src/share/classes/java/io/ObjectStreamConstants.java @@ -29,7 +29,7 @@ * Constants written into the Object Serialization Stream. * * @author unascribed - * @since JDK 1.1 + * @since 1.1 */ public interface ObjectStreamConstants { diff --git a/src/share/classes/java/io/ObjectStreamException.java b/src/share/classes/java/io/ObjectStreamException.java --- a/src/share/classes/java/io/ObjectStreamException.java +++ b/src/share/classes/java/io/ObjectStreamException.java @@ -29,7 +29,7 @@ * Superclass of all exceptions specific to Object Stream classes. * * @author unascribed - * @since JDK1.1 + * @since 1.1 */ public abstract class ObjectStreamException extends IOException { diff --git a/src/share/classes/java/io/OptionalDataException.java b/src/share/classes/java/io/OptionalDataException.java --- a/src/share/classes/java/io/OptionalDataException.java +++ b/src/share/classes/java/io/OptionalDataException.java @@ -43,7 +43,7 @@ * * * @author unascribed - * @since JDK1.1 + * @since 1.1 */ public class OptionalDataException extends ObjectStreamException { diff --git a/src/share/classes/java/io/OutputStream.java b/src/share/classes/java/io/OutputStream.java --- a/src/share/classes/java/io/OutputStream.java +++ b/src/share/classes/java/io/OutputStream.java @@ -41,7 +41,7 @@ * @see java.io.FilterOutputStream * @see java.io.InputStream * @see java.io.OutputStream#write(int) - * @since JDK1.0 + * @since 1.0 */ public abstract class OutputStream implements Closeable, Flushable { /** diff --git a/src/share/classes/java/io/OutputStreamWriter.java b/src/share/classes/java/io/OutputStreamWriter.java --- a/src/share/classes/java/io/OutputStreamWriter.java +++ b/src/share/classes/java/io/OutputStreamWriter.java @@ -71,7 +71,7 @@ * @see java.nio.charset.Charset * * @author Mark Reinhold - * @since JDK1.1 + * @since 1.1 */ public class OutputStreamWriter extends Writer { diff --git a/src/share/classes/java/io/PipedInputStream.java b/src/share/classes/java/io/PipedInputStream.java --- a/src/share/classes/java/io/PipedInputStream.java +++ b/src/share/classes/java/io/PipedInputStream.java @@ -45,7 +45,7 @@ * * @author James Gosling * @see java.io.PipedOutputStream - * @since JDK1.0 + * @since 1.0 */ public class PipedInputStream extends InputStream { boolean closedByWriter = false; @@ -63,7 +63,7 @@ /** * The default size of the pipe's circular input buffer. - * @since JDK1.1 + * @since 1.1 */ // This used to be a constant before the pipe size was allowed // to change. This field will continue to be maintained @@ -72,7 +72,7 @@ /** * The circular buffer into which incoming data is placed. - * @since JDK1.1 + * @since 1.1 */ protected byte buffer[]; @@ -81,14 +81,14 @@ * next byte of data will be stored when received from the connected * piped output stream. in<0 implies the buffer is empty, * in==out implies the buffer is full - * @since JDK1.1 + * @since 1.1 */ protected int in = -1; /** * The index of the position in the circular buffer at which the next * byte of data will be read by this piped input stream. - * @since JDK1.1 + * @since 1.1 */ protected int out = 0; @@ -195,7 +195,7 @@ * @exception IOException If the pipe is broken, * {@link #connect(java.io.PipedOutputStream) unconnected}, * closed, or if an I/O error occurs. - * @since JDK1.1 + * @since 1.1 */ protected synchronized void receive(int b) throws IOException { checkStateForReceive(); @@ -421,7 +421,7 @@ * broken. * * @exception IOException if an I/O error occurs. - * @since JDK1.0.2 + * @since 1.0.2 */ public synchronized int available() throws IOException { if(in < 0) diff --git a/src/share/classes/java/io/PipedOutputStream.java b/src/share/classes/java/io/PipedOutputStream.java --- a/src/share/classes/java/io/PipedOutputStream.java +++ b/src/share/classes/java/io/PipedOutputStream.java @@ -41,7 +41,7 @@ * * @author James Gosling * @see java.io.PipedInputStream - * @since JDK1.0 + * @since 1.0 */ public class PipedOutputStream extends OutputStream { diff --git a/src/share/classes/java/io/PipedReader.java b/src/share/classes/java/io/PipedReader.java --- a/src/share/classes/java/io/PipedReader.java +++ b/src/share/classes/java/io/PipedReader.java @@ -30,7 +30,7 @@ * Piped character-input streams. * * @author Mark Reinhold - * @since JDK1.1 + * @since 1.1 */ public class PipedReader extends Reader { diff --git a/src/share/classes/java/io/PipedWriter.java b/src/share/classes/java/io/PipedWriter.java --- a/src/share/classes/java/io/PipedWriter.java +++ b/src/share/classes/java/io/PipedWriter.java @@ -30,7 +30,7 @@ * Piped character-output streams. * * @author Mark Reinhold - * @since JDK1.1 + * @since 1.1 */ public class PipedWriter extends Writer { diff --git a/src/share/classes/java/io/PrintStream.java b/src/share/classes/java/io/PrintStream.java --- a/src/share/classes/java/io/PrintStream.java +++ b/src/share/classes/java/io/PrintStream.java @@ -51,7 +51,7 @@ * * @author Frank Yellin * @author Mark Reinhold - * @since JDK1.0 + * @since 1.0 */ public class PrintStream extends FilterOutputStream @@ -404,7 +404,7 @@ * #checkError()} to return true until {@link * #clearError()} is invoked. * - * @since JDK1.1 + * @since 1.1 */ protected void setError() { trouble = true; diff --git a/src/share/classes/java/io/PrintWriter.java b/src/share/classes/java/io/PrintWriter.java --- a/src/share/classes/java/io/PrintWriter.java +++ b/src/share/classes/java/io/PrintWriter.java @@ -50,7 +50,7 @@ * * @author Frank Yellin * @author Mark Reinhold - * @since JDK1.1 + * @since 1.1 */ public class PrintWriter extends Writer { diff --git a/src/share/classes/java/io/PushbackInputStream.java b/src/share/classes/java/io/PushbackInputStream.java --- a/src/share/classes/java/io/PushbackInputStream.java +++ b/src/share/classes/java/io/PushbackInputStream.java @@ -46,13 +46,13 @@ * * @author David Connelly * @author Jonathan Payne - * @since JDK1.0 + * @since 1.0 */ public class PushbackInputStream extends FilterInputStream { /** * The pushback buffer. - * @since JDK1.1 + * @since 1.1 */ protected byte[] buf; @@ -62,7 +62,7 @@ * buf.length; when the buffer is full, pos is * equal to zero. * - * @since JDK1.1 + * @since 1.1 */ protected int pos; @@ -86,7 +86,7 @@ * @param in the input stream from which bytes will be read. * @param size the size of the pushback buffer. * @exception IllegalArgumentException if {@code size <= 0} - * @since JDK1.1 + * @since 1.1 */ public PushbackInputStream(InputStream in, int size) { super(in); @@ -224,7 +224,7 @@ * buffer for the specified number of bytes, * or this input stream has been closed by * invoking its {@link #close()} method. - * @since JDK1.1 + * @since 1.1 */ public void unread(byte[] b, int off, int len) throws IOException { ensureOpen(); @@ -246,7 +246,7 @@ * buffer for the specified number of bytes, * or this input stream has been closed by * invoking its {@link #close()} method. - * @since JDK1.1 + * @since 1.1 */ public void unread(byte[] b) throws IOException { unread(b, 0, b.length); diff --git a/src/share/classes/java/io/PushbackReader.java b/src/share/classes/java/io/PushbackReader.java --- a/src/share/classes/java/io/PushbackReader.java +++ b/src/share/classes/java/io/PushbackReader.java @@ -31,7 +31,7 @@ * stream. * * @author Mark Reinhold - * @since JDK1.1 + * @since 1.1 */ public class PushbackReader extends FilterReader { diff --git a/src/share/classes/java/io/RandomAccessFile.java b/src/share/classes/java/io/RandomAccessFile.java --- a/src/share/classes/java/io/RandomAccessFile.java +++ b/src/share/classes/java/io/RandomAccessFile.java @@ -53,7 +53,7 @@ * {@code IOException} may be thrown if the stream has been closed. * * @author unascribed - * @since JDK1.0 + * @since 1.0 */ public class RandomAccessFile implements DataOutput, DataInput, Closeable { diff --git a/src/share/classes/java/io/Reader.java b/src/share/classes/java/io/Reader.java --- a/src/share/classes/java/io/Reader.java +++ b/src/share/classes/java/io/Reader.java @@ -45,7 +45,7 @@ * @see Writer * * @author Mark Reinhold - * @since JDK1.1 + * @since 1.1 */ public abstract class Reader implements Readable, Closeable { diff --git a/src/share/classes/java/io/SequenceInputStream.java b/src/share/classes/java/io/SequenceInputStream.java --- a/src/share/classes/java/io/SequenceInputStream.java +++ b/src/share/classes/java/io/SequenceInputStream.java @@ -40,7 +40,7 @@ * on the last of the contained input streams. * * @author Author van Hoff - * @since JDK1.0 + * @since 1.0 */ public class SequenceInputStream extends InputStream { @@ -132,7 +132,7 @@ * has been closed by invoking its {@link #close()} method * @exception IOException if an I/O error occurs. * - * @since JDK1.1 + * @since 1.1 */ public int available() throws IOException { if (in == null) { diff --git a/src/share/classes/java/io/Serializable.java b/src/share/classes/java/io/Serializable.java --- a/src/share/classes/java/io/Serializable.java +++ b/src/share/classes/java/io/Serializable.java @@ -164,7 +164,7 @@ * @see java.io.ObjectOutput * @see java.io.ObjectInput * @see java.io.Externalizable - * @since JDK1.1 + * @since 1.1 */ public interface Serializable { } diff --git a/src/share/classes/java/io/StreamCorruptedException.java b/src/share/classes/java/io/StreamCorruptedException.java --- a/src/share/classes/java/io/StreamCorruptedException.java +++ b/src/share/classes/java/io/StreamCorruptedException.java @@ -30,7 +30,7 @@ * violates internal consistency checks. * * @author unascribed - * @since JDK1.1 + * @since 1.1 */ public class StreamCorruptedException extends ObjectStreamException { diff --git a/src/share/classes/java/io/StreamTokenizer.java b/src/share/classes/java/io/StreamTokenizer.java --- a/src/share/classes/java/io/StreamTokenizer.java +++ b/src/share/classes/java/io/StreamTokenizer.java @@ -59,7 +59,7 @@ * @author James Gosling * @see java.io.StreamTokenizer#nextToken() * @see java.io.StreamTokenizer#TT_EOF - * @since JDK1.0 + * @since 1.0 */ public class StreamTokenizer { @@ -240,7 +240,7 @@ * Create a tokenizer that parses the given character stream. * * @param r a Reader object providing the input stream. - * @since JDK1.1 + * @since 1.1 */ public StreamTokenizer(Reader r) { this(); diff --git a/src/share/classes/java/io/StringBufferInputStream.java b/src/share/classes/java/io/StringBufferInputStream.java --- a/src/share/classes/java/io/StringBufferInputStream.java +++ b/src/share/classes/java/io/StringBufferInputStream.java @@ -37,7 +37,7 @@ * @author Arthur van Hoff * @see java.io.ByteArrayInputStream * @see java.io.StringReader - * @since JDK1.0 + * @since 1.0 * @deprecated This class does not properly convert characters into bytes. As * of JDK 1.1, the preferred way to create a stream from a * string is via the StringReader class. diff --git a/src/share/classes/java/io/StringReader.java b/src/share/classes/java/io/StringReader.java --- a/src/share/classes/java/io/StringReader.java +++ b/src/share/classes/java/io/StringReader.java @@ -30,7 +30,7 @@ * A character stream whose source is a string. * * @author Mark Reinhold - * @since JDK1.1 + * @since 1.1 */ public class StringReader extends Reader { diff --git a/src/share/classes/java/io/StringWriter.java b/src/share/classes/java/io/StringWriter.java --- a/src/share/classes/java/io/StringWriter.java +++ b/src/share/classes/java/io/StringWriter.java @@ -35,7 +35,7 @@ * IOException. * * @author Mark Reinhold - * @since JDK1.1 + * @since 1.1 */ public class StringWriter extends Writer { diff --git a/src/share/classes/java/io/SyncFailedException.java b/src/share/classes/java/io/SyncFailedException.java --- a/src/share/classes/java/io/SyncFailedException.java +++ b/src/share/classes/java/io/SyncFailedException.java @@ -31,7 +31,7 @@ * @author Ken Arnold * @see java.io.FileDescriptor#sync * @see java.io.IOException - * @since JDK1.1 + * @since 1.1 */ public class SyncFailedException extends IOException { private static final long serialVersionUID = -2353342684412443330L; diff --git a/src/share/classes/java/io/UTFDataFormatException.java b/src/share/classes/java/io/UTFDataFormatException.java --- a/src/share/classes/java/io/UTFDataFormatException.java +++ b/src/share/classes/java/io/UTFDataFormatException.java @@ -40,7 +40,7 @@ * @see java.io.DataInput * @see java.io.DataInputStream#readUTF(java.io.DataInput) * @see java.io.IOException - * @since JDK1.0 + * @since 1.0 */ public class UTFDataFormatException extends IOException { diff --git a/src/share/classes/java/io/UnsupportedEncodingException.java b/src/share/classes/java/io/UnsupportedEncodingException.java --- a/src/share/classes/java/io/UnsupportedEncodingException.java +++ b/src/share/classes/java/io/UnsupportedEncodingException.java @@ -28,7 +28,7 @@ * The Character Encoding is not supported. * * @author Asmus Freytag - * @since JDK1.1 + * @since 1.1 */ public class UnsupportedEncodingException extends IOException diff --git a/src/share/classes/java/io/WriteAbortedException.java b/src/share/classes/java/io/WriteAbortedException.java --- a/src/share/classes/java/io/WriteAbortedException.java +++ b/src/share/classes/java/io/WriteAbortedException.java @@ -41,7 +41,7 @@ * method, as well as the aforementioned "legacy field." * * @author unascribed - * @since JDK1.1 + * @since 1.1 */ public class WriteAbortedException extends ObjectStreamException { private static final long serialVersionUID = -3326426625597282442L; diff --git a/src/share/classes/java/io/Writer.java b/src/share/classes/java/io/Writer.java --- a/src/share/classes/java/io/Writer.java +++ b/src/share/classes/java/io/Writer.java @@ -44,7 +44,7 @@ * @see Reader * * @author Mark Reinhold - * @since JDK1.1 + * @since 1.1 */ public abstract class Writer implements Appendable, Closeable, Flushable { diff --git a/src/share/classes/java/io/package.html b/src/share/classes/java/io/package.html --- a/src/share/classes/java/io/package.html +++ b/src/share/classes/java/io/package.html @@ -47,6 +47,6 @@

  • Serialization Enhancements -@since JDK1.0 +@since 1.0 diff --git a/src/share/classes/java/lang/AbstractMethodError.java b/src/share/classes/java/lang/AbstractMethodError.java --- a/src/share/classes/java/lang/AbstractMethodError.java +++ b/src/share/classes/java/lang/AbstractMethodError.java @@ -33,7 +33,7 @@ * compiled. * * @author unascribed - * @since JDK1.0 + * @since 1.0 */ public class AbstractMethodError extends IncompatibleClassChangeError { diff --git a/src/share/classes/java/lang/ArithmeticException.java b/src/share/classes/java/lang/ArithmeticException.java --- a/src/share/classes/java/lang/ArithmeticException.java +++ b/src/share/classes/java/lang/ArithmeticException.java @@ -36,7 +36,7 @@ * stack trace was not writable}. * * @author unascribed - * @since JDK1.0 + * @since 1.0 */ public class ArithmeticException extends RuntimeException { private static final long serialVersionUID = 2256477558314496007L; diff --git a/src/share/classes/java/lang/ArrayIndexOutOfBoundsException.java b/src/share/classes/java/lang/ArrayIndexOutOfBoundsException.java --- a/src/share/classes/java/lang/ArrayIndexOutOfBoundsException.java +++ b/src/share/classes/java/lang/ArrayIndexOutOfBoundsException.java @@ -31,7 +31,7 @@ * equal to the size of the array. * * @author unascribed - * @since JDK1.0 + * @since 1.0 */ public class ArrayIndexOutOfBoundsException extends IndexOutOfBoundsException { diff --git a/src/share/classes/java/lang/ArrayStoreException.java b/src/share/classes/java/lang/ArrayStoreException.java --- a/src/share/classes/java/lang/ArrayStoreException.java +++ b/src/share/classes/java/lang/ArrayStoreException.java @@ -35,7 +35,7 @@ * * * @author unascribed - * @since JDK1.0 + * @since 1.0 */ public class ArrayStoreException extends RuntimeException { diff --git a/src/share/classes/java/lang/Boolean.java b/src/share/classes/java/lang/Boolean.java --- a/src/share/classes/java/lang/Boolean.java +++ b/src/share/classes/java/lang/Boolean.java @@ -38,7 +38,7 @@ * {@code boolean}. * * @author Arthur van Hoff - * @since JDK1.0 + * @since 1.0 */ public final class Boolean implements java.io.Serializable, Comparable @@ -58,7 +58,7 @@ /** * The Class object representing the primitive type boolean. * - * @since JDK1.1 + * @since 1.1 */ @SuppressWarnings("unchecked") public static final Class TYPE = (Class) Class.getPrimitiveClass("boolean"); diff --git a/src/share/classes/java/lang/Byte.java b/src/share/classes/java/lang/Byte.java --- a/src/share/classes/java/lang/Byte.java +++ b/src/share/classes/java/lang/Byte.java @@ -39,7 +39,7 @@ * @author Nakul Saraiya * @author Joseph D. Darcy * @see java.lang.Number - * @since JDK1.1 + * @since 1.1 */ public final class Byte extends Number implements Comparable { diff --git a/src/share/classes/java/lang/Character.java b/src/share/classes/java/lang/Character.java --- a/src/share/classes/java/lang/Character.java +++ b/src/share/classes/java/lang/Character.java @@ -5875,7 +5875,7 @@ * @see Character#isLetter(char) * @see Character#isLetterOrDigit(char) * @see Character#isUnicodeIdentifierStart(char) - * @since 1.02 + * @since 1.0.2 * @deprecated Replaced by isJavaIdentifierStart(char). */ @Deprecated @@ -5911,7 +5911,7 @@ * @see Character#isLetterOrDigit(char) * @see Character#isUnicodeIdentifierPart(char) * @see Character#isIdentifierIgnorable(char) - * @since 1.02 + * @since 1.0.2 * @deprecated Replaced by isJavaIdentifierPart(char). */ @Deprecated diff --git a/src/share/classes/java/lang/Class.java b/src/share/classes/java/lang/Class.java --- a/src/share/classes/java/lang/Class.java +++ b/src/share/classes/java/lang/Class.java @@ -114,7 +114,7 @@ * * @author unascribed * @see java.lang.ClassLoader#defineClass(byte[], int, int) - * @since JDK1.0 + * @since 1.0 */ public final class Class implements java.io.Serializable, GenericDeclaration, @@ -469,7 +469,7 @@ * @param obj the object to check * @return true if {@code obj} is an instance of this class * - * @since JDK1.1 + * @since 1.1 */ public native boolean isInstance(Object obj); @@ -496,7 +496,7 @@ * type {@code cls} can be assigned to objects of this class * @exception NullPointerException if the specified Class parameter is * null. - * @since JDK1.1 + * @since 1.1 */ public native boolean isAssignableFrom(Class cls); @@ -516,7 +516,7 @@ * * @return {@code true} if this object represents an array class; * {@code false} otherwise. - * @since JDK1.1 + * @since 1.1 */ public native boolean isArray(); @@ -547,7 +547,7 @@ * @see java.lang.Float#TYPE * @see java.lang.Double#TYPE * @see java.lang.Void#TYPE - * @since JDK1.1 + * @since 1.1 */ public native boolean isPrimitive(); @@ -909,7 +909,7 @@ * @return the {@code Class} representing the component type of this * class if this class is an array * @see java.lang.reflect.Array - * @since JDK1.1 + * @since 1.1 */ public native Class getComponentType(); @@ -939,7 +939,7 @@ * * @return the {@code int} representing the modifiers for this class * @see java.lang.reflect.Modifier - * @since JDK1.1 + * @since 1.1 */ public native int getModifiers(); @@ -950,7 +950,7 @@ * @return the signers of this class, or null if there are no signers. In * particular, this method returns null if this object represents * a primitive type or void. - * @since JDK1.1 + * @since 1.1 */ public native Object[] getSigners(); @@ -1215,7 +1215,7 @@ * loader for the declaring class and invocation of {@link * SecurityManager#checkPackageAccess s.checkPackageAccess()} * denies access to the package of the declaring class - * @since JDK1.1 + * @since 1.1 */ @CallerSensitive public Class getDeclaringClass() throws SecurityException { @@ -1470,7 +1470,7 @@ * s.checkPackageAccess()} denies access to the package * of this class. * - * @since JDK1.1 + * @since 1.1 */ @CallerSensitive public Class[] getClasses() { @@ -1533,7 +1533,7 @@ * s.checkPackageAccess()} denies access to the package * of this class. * - * @since JDK1.1 + * @since 1.1 * @jls 8.2 Class Members * @jls 8.3 Field Declarations */ @@ -1593,7 +1593,7 @@ * * @jls 8.2 Class Members * @jls 8.4 Method Declarations - * @since JDK1.1 + * @since 1.1 */ @CallerSensitive public Method[] getMethods() throws SecurityException { @@ -1629,7 +1629,7 @@ * s.checkPackageAccess()} denies access to the package * of this class. * - * @since JDK1.1 + * @since 1.1 */ @CallerSensitive public Constructor[] getConstructors() throws SecurityException { @@ -1676,7 +1676,7 @@ * s.checkPackageAccess()} denies access to the package * of this class. * - * @since JDK1.1 + * @since 1.1 * @jls 8.2 Class Members * @jls 8.3 Field Declarations */ @@ -1761,7 +1761,7 @@ * * @jls 8.2 Class Members * @jls 8.4 Method Declarations - * @since JDK1.1 + * @since 1.1 */ @CallerSensitive public Method getMethod(String name, Class... parameterTypes) @@ -1802,7 +1802,7 @@ * s.checkPackageAccess()} denies access to the package * of this class. * - * @since JDK1.1 + * @since 1.1 */ @CallerSensitive public Constructor getConstructor(Class... parameterTypes) @@ -1845,7 +1845,7 @@ * * * - * @since JDK1.1 + * @since 1.1 */ @CallerSensitive public Class[] getDeclaredClasses() throws SecurityException { @@ -1892,7 +1892,7 @@ * * * - * @since JDK1.1 + * @since 1.1 * @jls 8.2 Class Members * @jls 8.3 Field Declarations */ @@ -1953,7 +1953,7 @@ * * @jls 8.2 Class Members * @jls 8.4 Method Declarations - * @since JDK1.1 + * @since 1.1 */ @CallerSensitive public Method[] getDeclaredMethods() throws SecurityException { @@ -1998,7 +1998,7 @@ * * * - * @since JDK1.1 + * @since 1.1 */ @CallerSensitive public Constructor[] getDeclaredConstructors() throws SecurityException { @@ -2043,7 +2043,7 @@ * * * - * @since JDK1.1 + * @since 1.1 * @jls 8.2 Class Members * @jls 8.3 Field Declarations */ @@ -2105,7 +2105,7 @@ * * @jls 8.2 Class Members * @jls 8.4 Method Declarations - * @since JDK1.1 + * @since 1.1 */ @CallerSensitive public Method getDeclaredMethod(String name, Class... parameterTypes) @@ -2155,7 +2155,7 @@ * * * - * @since JDK1.1 + * @since 1.1 */ @CallerSensitive public Constructor getDeclaredConstructor(Class... parameterTypes) @@ -2197,7 +2197,7 @@ * @return A {@link java.io.InputStream} object or {@code null} if * no resource with this name is found * @throws NullPointerException If {@code name} is {@code null} - * @since JDK1.1 + * @since 1.1 */ public InputStream getResourceAsStream(String name) { name = resolveName(name); @@ -2241,7 +2241,7 @@ * @param name name of the desired resource * @return A {@link java.net.URL} object or {@code null} if no * resource with this name is found - * @since JDK1.1 + * @since 1.1 */ public java.net.URL getResource(String name) { name = resolveName(name); diff --git a/src/share/classes/java/lang/ClassCastException.java b/src/share/classes/java/lang/ClassCastException.java --- a/src/share/classes/java/lang/ClassCastException.java +++ b/src/share/classes/java/lang/ClassCastException.java @@ -35,7 +35,7 @@ * * * @author unascribed - * @since JDK1.0 + * @since 1.0 */ public class ClassCastException extends RuntimeException { diff --git a/src/share/classes/java/lang/ClassCircularityError.java b/src/share/classes/java/lang/ClassCircularityError.java --- a/src/share/classes/java/lang/ClassCircularityError.java +++ b/src/share/classes/java/lang/ClassCircularityError.java @@ -30,7 +30,7 @@ * superclass hierarchy of a class being loaded. * * @author unascribed - * @since JDK1.0 + * @since 1.0 */ public class ClassCircularityError extends LinkageError { private static final long serialVersionUID = 1054362542914539689L; diff --git a/src/share/classes/java/lang/ClassFormatError.java b/src/share/classes/java/lang/ClassFormatError.java --- a/src/share/classes/java/lang/ClassFormatError.java +++ b/src/share/classes/java/lang/ClassFormatError.java @@ -31,7 +31,7 @@ * be interpreted as a class file. * * @author unascribed - * @since JDK1.0 + * @since 1.0 */ public class ClassFormatError extends LinkageError { diff --git a/src/share/classes/java/lang/ClassNotFoundException.java b/src/share/classes/java/lang/ClassNotFoundException.java --- a/src/share/classes/java/lang/ClassNotFoundException.java +++ b/src/share/classes/java/lang/ClassNotFoundException.java @@ -48,7 +48,7 @@ * @see java.lang.Class#forName(java.lang.String) * @see java.lang.ClassLoader#findSystemClass(java.lang.String) * @see java.lang.ClassLoader#loadClass(java.lang.String, boolean) - * @since JDK1.0 + * @since 1.0 */ public class ClassNotFoundException extends ReflectiveOperationException { /** diff --git a/src/share/classes/java/lang/CloneNotSupportedException.java b/src/share/classes/java/lang/CloneNotSupportedException.java --- a/src/share/classes/java/lang/CloneNotSupportedException.java +++ b/src/share/classes/java/lang/CloneNotSupportedException.java @@ -38,7 +38,7 @@ * @author unascribed * @see java.lang.Cloneable * @see java.lang.Object#clone() - * @since JDK1.0 + * @since 1.0 */ public diff --git a/src/share/classes/java/lang/Cloneable.java b/src/share/classes/java/lang/Cloneable.java --- a/src/share/classes/java/lang/Cloneable.java +++ b/src/share/classes/java/lang/Cloneable.java @@ -48,7 +48,7 @@ * @author unascribed * @see java.lang.CloneNotSupportedException * @see java.lang.Object#clone() - * @since JDK1.0 + * @since 1.0 */ public interface Cloneable { } diff --git a/src/share/classes/java/lang/Compiler.java b/src/share/classes/java/lang/Compiler.java --- a/src/share/classes/java/lang/Compiler.java +++ b/src/share/classes/java/lang/Compiler.java @@ -42,7 +42,7 @@ *

    If no compiler is available, these methods do nothing. * * @author Frank Yellin - * @since JDK1.0 + * @since 1.0 */ public final class Compiler { private Compiler() {} // don't make instances diff --git a/src/share/classes/java/lang/Double.java b/src/share/classes/java/lang/Double.java --- a/src/share/classes/java/lang/Double.java +++ b/src/share/classes/java/lang/Double.java @@ -43,7 +43,7 @@ * @author Lee Boynton * @author Arthur van Hoff * @author Joseph D. Darcy - * @since JDK1.0 + * @since 1.0 */ public final class Double extends Number implements Comparable { /** @@ -132,7 +132,7 @@ * The {@code Class} instance representing the primitive type * {@code double}. * - * @since JDK1.1 + * @since 1.1 */ @SuppressWarnings("unchecked") public static final Class TYPE = (Class) Class.getPrimitiveClass("double"); @@ -650,7 +650,7 @@ * @return the {@code double} value represented by this object * converted to type {@code byte} * @jls 5.1.3 Narrowing Primitive Conversions - * @since JDK1.1 + * @since 1.1 */ public byte byteValue() { return (byte)value; @@ -663,7 +663,7 @@ * @return the {@code double} value represented by this object * converted to type {@code short} * @jls 5.1.3 Narrowing Primitive Conversions - * @since JDK1.1 + * @since 1.1 */ public short shortValue() { return (short)value; @@ -700,7 +700,7 @@ * @return the {@code double} value represented by this object * converted to type {@code float} * @jls 5.1.3 Narrowing Primitive Conversions - * @since JDK1.0 + * @since 1.0 */ public float floatValue() { return (float)value; diff --git a/src/share/classes/java/lang/Error.java b/src/share/classes/java/lang/Error.java --- a/src/share/classes/java/lang/Error.java +++ b/src/share/classes/java/lang/Error.java @@ -44,7 +44,7 @@ * @author Frank Yellin * @see java.lang.ThreadDeath * @jls 11.2 Compile-Time Checking of Exceptions - * @since JDK1.0 + * @since 1.0 */ public class Error extends Throwable { static final long serialVersionUID = 4980196508277280342L; diff --git a/src/share/classes/java/lang/Exception.java b/src/share/classes/java/lang/Exception.java --- a/src/share/classes/java/lang/Exception.java +++ b/src/share/classes/java/lang/Exception.java @@ -40,7 +40,7 @@ * @author Frank Yellin * @see java.lang.Error * @jls 11.2 Compile-Time Checking of Exceptions - * @since JDK1.0 + * @since 1.0 */ public class Exception extends Throwable { static final long serialVersionUID = -3387516993124229948L; diff --git a/src/share/classes/java/lang/ExceptionInInitializerError.java b/src/share/classes/java/lang/ExceptionInInitializerError.java --- a/src/share/classes/java/lang/ExceptionInInitializerError.java +++ b/src/share/classes/java/lang/ExceptionInInitializerError.java @@ -39,7 +39,7 @@ * as the aforementioned "legacy method." * * @author Frank Yellin - * @since JDK1.1 + * @since 1.1 */ public class ExceptionInInitializerError extends LinkageError { /** diff --git a/src/share/classes/java/lang/Float.java b/src/share/classes/java/lang/Float.java --- a/src/share/classes/java/lang/Float.java +++ b/src/share/classes/java/lang/Float.java @@ -44,7 +44,7 @@ * @author Lee Boynton * @author Arthur van Hoff * @author Joseph D. Darcy - * @since JDK1.0 + * @since 1.0 */ public final class Float extends Number implements Comparable { /** @@ -131,7 +131,7 @@ * The {@code Class} instance representing the primitive type * {@code float}. * - * @since JDK1.1 + * @since 1.1 */ @SuppressWarnings("unchecked") public static final Class TYPE = (Class) Class.getPrimitiveClass("float"); @@ -587,7 +587,7 @@ * @return the {@code float} value represented by this object * converted to type {@code short} * @jls 5.1.3 Narrowing Primitive Conversions - * @since JDK1.1 + * @since 1.1 */ public short shortValue() { return (short)value; diff --git a/src/share/classes/java/lang/IllegalAccessError.java b/src/share/classes/java/lang/IllegalAccessError.java --- a/src/share/classes/java/lang/IllegalAccessError.java +++ b/src/share/classes/java/lang/IllegalAccessError.java @@ -34,7 +34,7 @@ * incompatibly changed. * * @author unascribed - * @since JDK1.0 + * @since 1.0 */ public class IllegalAccessError extends IncompatibleClassChangeError { private static final long serialVersionUID = -8988904074992417891L; diff --git a/src/share/classes/java/lang/IllegalAccessException.java b/src/share/classes/java/lang/IllegalAccessException.java --- a/src/share/classes/java/lang/IllegalAccessException.java +++ b/src/share/classes/java/lang/IllegalAccessException.java @@ -54,7 +54,7 @@ * @see java.lang.reflect.Field#getDouble(Object) * @see java.lang.reflect.Method#invoke(Object, Object[]) * @see java.lang.reflect.Constructor#newInstance(Object[]) - * @since JDK1.0 + * @since 1.0 */ public class IllegalAccessException extends ReflectiveOperationException { private static final long serialVersionUID = 6616958222490762034L; diff --git a/src/share/classes/java/lang/IllegalArgumentException.java b/src/share/classes/java/lang/IllegalArgumentException.java --- a/src/share/classes/java/lang/IllegalArgumentException.java +++ b/src/share/classes/java/lang/IllegalArgumentException.java @@ -30,7 +30,7 @@ * inappropriate argument. * * @author unascribed - * @since JDK1.0 + * @since 1.0 */ public class IllegalArgumentException extends RuntimeException { diff --git a/src/share/classes/java/lang/IllegalMonitorStateException.java b/src/share/classes/java/lang/IllegalMonitorStateException.java --- a/src/share/classes/java/lang/IllegalMonitorStateException.java +++ b/src/share/classes/java/lang/IllegalMonitorStateException.java @@ -36,7 +36,7 @@ * @see java.lang.Object#wait() * @see java.lang.Object#wait(long) * @see java.lang.Object#wait(long, int) - * @since JDK1.0 + * @since 1.0 */ public class IllegalMonitorStateException extends RuntimeException { diff --git a/src/share/classes/java/lang/IllegalStateException.java b/src/share/classes/java/lang/IllegalStateException.java --- a/src/share/classes/java/lang/IllegalStateException.java +++ b/src/share/classes/java/lang/IllegalStateException.java @@ -32,7 +32,7 @@ * operation. * * @author Jonni Kanerva - * @since JDK1.1 + * @since 1.1 */ public class IllegalStateException extends RuntimeException { diff --git a/src/share/classes/java/lang/IllegalThreadStateException.java b/src/share/classes/java/lang/IllegalThreadStateException.java --- a/src/share/classes/java/lang/IllegalThreadStateException.java +++ b/src/share/classes/java/lang/IllegalThreadStateException.java @@ -34,7 +34,7 @@ * @author unascribed * @see java.lang.Thread#resume() * @see java.lang.Thread#suspend() - * @since JDK1.0 + * @since 1.0 */ public class IllegalThreadStateException extends IllegalArgumentException { private static final long serialVersionUID = -7626246362397460174L; diff --git a/src/share/classes/java/lang/IncompatibleClassChangeError.java b/src/share/classes/java/lang/IncompatibleClassChangeError.java --- a/src/share/classes/java/lang/IncompatibleClassChangeError.java +++ b/src/share/classes/java/lang/IncompatibleClassChangeError.java @@ -31,7 +31,7 @@ * executing method depends, has since changed. * * @author unascribed - * @since JDK1.0 + * @since 1.0 */ public class IncompatibleClassChangeError extends LinkageError { diff --git a/src/share/classes/java/lang/IndexOutOfBoundsException.java b/src/share/classes/java/lang/IndexOutOfBoundsException.java --- a/src/share/classes/java/lang/IndexOutOfBoundsException.java +++ b/src/share/classes/java/lang/IndexOutOfBoundsException.java @@ -32,7 +32,7 @@ * Applications can subclass this class to indicate similar exceptions. * * @author Frank Yellin - * @since JDK1.0 + * @since 1.0 */ public class IndexOutOfBoundsException extends RuntimeException { diff --git a/src/share/classes/java/lang/InstantiationError.java b/src/share/classes/java/lang/InstantiationError.java --- a/src/share/classes/java/lang/InstantiationError.java +++ b/src/share/classes/java/lang/InstantiationError.java @@ -34,7 +34,7 @@ * incompatibly changed. * * @author unascribed - * @since JDK1.0 + * @since 1.0 */ diff --git a/src/share/classes/java/lang/InstantiationException.java b/src/share/classes/java/lang/InstantiationException.java --- a/src/share/classes/java/lang/InstantiationException.java +++ b/src/share/classes/java/lang/InstantiationException.java @@ -40,7 +40,7 @@ * * @author unascribed * @see java.lang.Class#newInstance() - * @since JDK1.0 + * @since 1.0 */ public class InstantiationException extends ReflectiveOperationException { diff --git a/src/share/classes/java/lang/Integer.java b/src/share/classes/java/lang/Integer.java --- a/src/share/classes/java/lang/Integer.java +++ b/src/share/classes/java/lang/Integer.java @@ -47,7 +47,7 @@ * @author Arthur van Hoff * @author Josh Bloch * @author Joseph D. Darcy - * @since JDK1.0 + * @since 1.0 */ public final class Integer extends Number implements Comparable { /** @@ -66,7 +66,7 @@ * The {@code Class} instance representing the primitive type * {@code int}. * - * @since JDK1.1 + * @since 1.1 */ @SuppressWarnings("unchecked") public static final Class TYPE = (Class) Class.getPrimitiveClass("int"); @@ -227,7 +227,7 @@ * represented by the argument in hexadecimal (base 16). * @see #parseUnsignedInt(String, int) * @see #toUnsignedString(int, int) - * @since JDK1.0.2 + * @since 1.0.2 */ public static String toHexString(int i) { return toUnsignedString0(i, 4); @@ -265,7 +265,7 @@ * represented by the argument in octal (base 8). * @see #parseUnsignedInt(String, int) * @see #toUnsignedString(int, int) - * @since JDK1.0.2 + * @since 1.0.2 */ public static String toOctalString(int i) { return toUnsignedString0(i, 3); @@ -297,7 +297,7 @@ * represented by the argument in binary (base 2). * @see #parseUnsignedInt(String, int) * @see #toUnsignedString(int, int) - * @since JDK1.0.2 + * @since 1.0.2 */ public static String toBinaryString(int i) { return toUnsignedString0(i, 1); diff --git a/src/share/classes/java/lang/InternalError.java b/src/share/classes/java/lang/InternalError.java --- a/src/share/classes/java/lang/InternalError.java +++ b/src/share/classes/java/lang/InternalError.java @@ -30,7 +30,7 @@ * the Java Virtual Machine. * * @author unascribed - * @since JDK1.0 + * @since 1.0 */ public class InternalError extends VirtualMachineError { private static final long serialVersionUID = -9062593416125562365L; diff --git a/src/share/classes/java/lang/InterruptedException.java b/src/share/classes/java/lang/InterruptedException.java --- a/src/share/classes/java/lang/InterruptedException.java +++ b/src/share/classes/java/lang/InterruptedException.java @@ -44,7 +44,7 @@ * @see java.lang.Thread#sleep(long) * @see java.lang.Thread#interrupt() * @see java.lang.Thread#interrupted() - * @since JDK1.0 + * @since 1.0 */ public class InterruptedException extends Exception { diff --git a/src/share/classes/java/lang/LinkageError.java b/src/share/classes/java/lang/LinkageError.java --- a/src/share/classes/java/lang/LinkageError.java +++ b/src/share/classes/java/lang/LinkageError.java @@ -32,7 +32,7 @@ * * * @author Frank Yellin - * @since JDK1.0 + * @since 1.0 */ public class LinkageError extends Error { diff --git a/src/share/classes/java/lang/Long.java b/src/share/classes/java/lang/Long.java --- a/src/share/classes/java/lang/Long.java +++ b/src/share/classes/java/lang/Long.java @@ -49,7 +49,7 @@ * @author Arthur van Hoff * @author Josh Bloch * @author Joseph D. Darcy - * @since JDK1.0 + * @since 1.0 */ public final class Long extends Number implements Comparable { /** @@ -68,7 +68,7 @@ * The {@code Class} instance representing the primitive type * {@code long}. * - * @since JDK1.1 + * @since 1.1 */ @SuppressWarnings("unchecked") public static final Class TYPE = (Class) Class.getPrimitiveClass("long"); @@ -266,7 +266,7 @@ * (base 16). * @see #parseUnsignedLong(String, int) * @see #toUnsignedString(long, int) - * @since JDK 1.0.2 + * @since 1.0.2 */ public static String toHexString(long i) { return toUnsignedString0(i, 4); @@ -305,7 +305,7 @@ * value represented by the argument in octal (base 8). * @see #parseUnsignedLong(String, int) * @see #toUnsignedString(long, int) - * @since JDK 1.0.2 + * @since 1.0.2 */ public static String toOctalString(long i) { return toUnsignedString0(i, 3); @@ -338,7 +338,7 @@ * value represented by the argument in binary (base 2). * @see #parseUnsignedLong(String, int) * @see #toUnsignedString(long, int) - * @since JDK 1.0.2 + * @since 1.0.2 */ public static String toBinaryString(long i) { return toUnsignedString0(i, 1); diff --git a/src/share/classes/java/lang/Math.java b/src/share/classes/java/lang/Math.java --- a/src/share/classes/java/lang/Math.java +++ b/src/share/classes/java/lang/Math.java @@ -99,7 +99,7 @@ * * @author unascribed * @author Joseph D. Darcy - * @since JDK1.0 + * @since 1.0 */ public final class Math { diff --git a/src/share/classes/java/lang/NegativeArraySizeException.java b/src/share/classes/java/lang/NegativeArraySizeException.java --- a/src/share/classes/java/lang/NegativeArraySizeException.java +++ b/src/share/classes/java/lang/NegativeArraySizeException.java @@ -29,7 +29,7 @@ * Thrown if an application tries to create an array with negative size. * * @author unascribed - * @since JDK1.0 + * @since 1.0 */ public class NegativeArraySizeException extends RuntimeException { diff --git a/src/share/classes/java/lang/NoClassDefFoundError.java b/src/share/classes/java/lang/NoClassDefFoundError.java --- a/src/share/classes/java/lang/NoClassDefFoundError.java +++ b/src/share/classes/java/lang/NoClassDefFoundError.java @@ -36,7 +36,7 @@ * found. * * @author unascribed - * @since JDK1.0 + * @since 1.0 */ public class NoClassDefFoundError extends LinkageError { diff --git a/src/share/classes/java/lang/NoSuchFieldError.java b/src/share/classes/java/lang/NoSuchFieldError.java --- a/src/share/classes/java/lang/NoSuchFieldError.java +++ b/src/share/classes/java/lang/NoSuchFieldError.java @@ -34,7 +34,7 @@ * incompatibly changed. * * @author unascribed - * @since JDK1.0 + * @since 1.0 */ public class NoSuchFieldError extends IncompatibleClassChangeError { diff --git a/src/share/classes/java/lang/NoSuchFieldException.java b/src/share/classes/java/lang/NoSuchFieldException.java --- a/src/share/classes/java/lang/NoSuchFieldException.java +++ b/src/share/classes/java/lang/NoSuchFieldException.java @@ -29,7 +29,7 @@ * Signals that the class doesn't have a field of a specified name. * * @author unascribed - * @since JDK1.1 + * @since 1.1 */ public class NoSuchFieldException extends ReflectiveOperationException { private static final long serialVersionUID = -6143714805279938260L; diff --git a/src/share/classes/java/lang/NoSuchMethodError.java b/src/share/classes/java/lang/NoSuchMethodError.java --- a/src/share/classes/java/lang/NoSuchMethodError.java +++ b/src/share/classes/java/lang/NoSuchMethodError.java @@ -35,7 +35,7 @@ * incompatibly changed. * * @author unascribed - * @since JDK1.0 + * @since 1.0 */ public class NoSuchMethodError extends IncompatibleClassChangeError { diff --git a/src/share/classes/java/lang/NoSuchMethodException.java b/src/share/classes/java/lang/NoSuchMethodException.java --- a/src/share/classes/java/lang/NoSuchMethodException.java +++ b/src/share/classes/java/lang/NoSuchMethodException.java @@ -29,7 +29,7 @@ * Thrown when a particular method cannot be found. * * @author unascribed - * @since JDK1.0 + * @since 1.0 */ public class NoSuchMethodException extends ReflectiveOperationException { diff --git a/src/share/classes/java/lang/NullPointerException.java b/src/share/classes/java/lang/NullPointerException.java --- a/src/share/classes/java/lang/NullPointerException.java +++ b/src/share/classes/java/lang/NullPointerException.java @@ -47,7 +47,7 @@ * stack trace was not writable}. * * @author unascribed - * @since JDK1.0 + * @since 1.0 */ public class NullPointerException extends RuntimeException { diff --git a/src/share/classes/java/lang/Number.java b/src/share/classes/java/lang/Number.java --- a/src/share/classes/java/lang/Number.java +++ b/src/share/classes/java/lang/Number.java @@ -50,7 +50,7 @@ * @author Arthur van Hoff * @jls 5.1.2 Widening Primitive Conversions * @jls 5.1.3 Narrowing Primitive Conversions - * @since JDK1.0 + * @since 1.0 */ public abstract class Number implements java.io.Serializable { /** @@ -98,7 +98,7 @@ * * @return the numeric value represented by this object after conversion * to type {@code byte}. - * @since JDK1.1 + * @since 1.1 */ public byte byteValue() { return (byte)intValue(); @@ -113,7 +113,7 @@ * * @return the numeric value represented by this object after conversion * to type {@code short}. - * @since JDK1.1 + * @since 1.1 */ public short shortValue() { return (short)intValue(); diff --git a/src/share/classes/java/lang/NumberFormatException.java b/src/share/classes/java/lang/NumberFormatException.java --- a/src/share/classes/java/lang/NumberFormatException.java +++ b/src/share/classes/java/lang/NumberFormatException.java @@ -32,7 +32,7 @@ * * @author unascribed * @see java.lang.Integer#parseInt(String) - * @since JDK1.0 + * @since 1.0 */ public class NumberFormatException extends IllegalArgumentException { diff --git a/src/share/classes/java/lang/Object.java b/src/share/classes/java/lang/Object.java --- a/src/share/classes/java/lang/Object.java +++ b/src/share/classes/java/lang/Object.java @@ -32,7 +32,7 @@ * * @author unascribed * @see java.lang.Class - * @since JDK1.0 + * @since 1.0 */ public class Object { diff --git a/src/share/classes/java/lang/OutOfMemoryError.java b/src/share/classes/java/lang/OutOfMemoryError.java --- a/src/share/classes/java/lang/OutOfMemoryError.java +++ b/src/share/classes/java/lang/OutOfMemoryError.java @@ -36,7 +36,7 @@ * writable}. * * @author unascribed - * @since JDK1.0 + * @since 1.0 */ public class OutOfMemoryError extends VirtualMachineError { private static final long serialVersionUID = 8228564086184010517L; diff --git a/src/share/classes/java/lang/Process.java b/src/share/classes/java/lang/Process.java --- a/src/share/classes/java/lang/Process.java +++ b/src/share/classes/java/lang/Process.java @@ -72,7 +72,7 @@ *

    As of 1.5, {@link ProcessBuilder#start()} is the preferred way * to create a {@code Process}. * - * @since JDK1.0 + * @since 1.0 */ public abstract class Process { /** diff --git a/src/share/classes/java/lang/Runnable.java b/src/share/classes/java/lang/Runnable.java --- a/src/share/classes/java/lang/Runnable.java +++ b/src/share/classes/java/lang/Runnable.java @@ -50,7 +50,7 @@ * @author Arthur van Hoff * @see java.lang.Thread * @see java.util.concurrent.Callable - * @since JDK1.0 + * @since 1.0 */ @FunctionalInterface public interface Runnable { diff --git a/src/share/classes/java/lang/Runtime.java b/src/share/classes/java/lang/Runtime.java --- a/src/share/classes/java/lang/Runtime.java +++ b/src/share/classes/java/lang/Runtime.java @@ -40,7 +40,7 @@ * * @author unascribed * @see java.lang.Runtime#getRuntime() - * @since JDK1.0 + * @since 1.0 */ public class Runtime { @@ -299,7 +299,7 @@ * @see java.lang.Runtime#exit(int) * @see java.lang.Runtime#gc() * @see java.lang.SecurityManager#checkExit(int) - * @since JDK1.1 + * @since 1.1 */ @Deprecated public static void runFinalizersOnExit(boolean value) { diff --git a/src/share/classes/java/lang/RuntimeException.java b/src/share/classes/java/lang/RuntimeException.java --- a/src/share/classes/java/lang/RuntimeException.java +++ b/src/share/classes/java/lang/RuntimeException.java @@ -38,7 +38,7 @@ * * @author Frank Yellin * @jls 11.2 Compile-Time Checking of Exceptions - * @since JDK1.0 + * @since 1.0 */ public class RuntimeException extends Exception { static final long serialVersionUID = -7034897190745766939L; diff --git a/src/share/classes/java/lang/SecurityException.java b/src/share/classes/java/lang/SecurityException.java --- a/src/share/classes/java/lang/SecurityException.java +++ b/src/share/classes/java/lang/SecurityException.java @@ -29,7 +29,7 @@ * * @author unascribed * @see java.lang.SecurityManager - * @since JDK1.0 + * @since 1.0 */ public class SecurityException extends RuntimeException { diff --git a/src/share/classes/java/lang/SecurityManager.java b/src/share/classes/java/lang/SecurityManager.java --- a/src/share/classes/java/lang/SecurityManager.java +++ b/src/share/classes/java/lang/SecurityManager.java @@ -216,7 +216,7 @@ * @see java.security.SecurityPermission SecurityPermission * @see java.security.ProtectionDomain * - * @since JDK1.0 + * @since 1.0 */ public class SecurityManager { @@ -1179,7 +1179,7 @@ * use (join/leave/send/receive) IP multicast. * @exception NullPointerException if the address argument is * null. - * @since JDK1.1 + * @since 1.1 * @see #checkPermission(java.security.Permission) checkPermission */ public void checkMulticast(InetAddress maddr) { @@ -1213,7 +1213,7 @@ * use (join/leave/send/receive) IP multicast. * @exception NullPointerException if the address argument is * null. - * @since JDK1.1 + * @since 1.1 * @deprecated Use #checkPermission(java.security.Permission) instead * @see #checkPermission(java.security.Permission) checkPermission */ @@ -1322,7 +1322,7 @@ * * @exception SecurityException if the calling thread does not have * permission to initiate a print job request. - * @since JDK1.1 + * @since 1.1 * @see #checkPermission(java.security.Permission) checkPermission */ public void checkPrintJobAccess() { @@ -1333,7 +1333,7 @@ * Throws {@code SecurityException} if the calling thread does * not have {@code AllPermission}. * - * @since JDK1.1 + * @since 1.1 * @exception SecurityException if the calling thread does not have * {@code AllPermission} * @deprecated This method was originally used to check if the calling @@ -1351,7 +1351,7 @@ * Throws {@code SecurityException} if the calling thread does * not have {@code AllPermission}. * - * @since JDK1.1 + * @since 1.1 * @exception SecurityException if the calling thread does not have * {@code AllPermission} * @deprecated This method was originally used to check if the calling @@ -1610,7 +1610,7 @@ * to check the permission {@code java.security.AllPermission}. * * @see java.lang.reflect.Member - * @since JDK1.1 + * @since 1.1 * @see #checkPermission(java.security.Permission) checkPermission */ @Deprecated @@ -1666,7 +1666,7 @@ * @exception NullPointerException if target is null. * @exception IllegalArgumentException if target is empty. * - * @since JDK1.1 + * @since 1.1 * @see #checkPermission(java.security.Permission) checkPermission */ public void checkSecurityAccess(String target) { @@ -1683,7 +1683,7 @@ * manager to return the appropriate thread group. * * @return ThreadGroup that new threads are instantiated into - * @since JDK1.1 + * @since 1.1 * @see java.lang.ThreadGroup */ public ThreadGroup getThreadGroup() { diff --git a/src/share/classes/java/lang/Short.java b/src/share/classes/java/lang/Short.java --- a/src/share/classes/java/lang/Short.java +++ b/src/share/classes/java/lang/Short.java @@ -38,7 +38,7 @@ * @author Nakul Saraiya * @author Joseph D. Darcy * @see java.lang.Number - * @since JDK1.1 + * @since 1.1 */ public final class Short extends Number implements Comparable { diff --git a/src/share/classes/java/lang/StackOverflowError.java b/src/share/classes/java/lang/StackOverflowError.java --- a/src/share/classes/java/lang/StackOverflowError.java +++ b/src/share/classes/java/lang/StackOverflowError.java @@ -30,7 +30,7 @@ * recurses too deeply. * * @author unascribed - * @since JDK1.0 + * @since 1.0 */ public class StackOverflowError extends VirtualMachineError { diff --git a/src/share/classes/java/lang/String.java b/src/share/classes/java/lang/String.java --- a/src/share/classes/java/lang/String.java +++ b/src/share/classes/java/lang/String.java @@ -105,7 +105,7 @@ * @see java.lang.StringBuffer * @see java.lang.StringBuilder * @see java.nio.charset.Charset - * @since JDK1.0 + * @since 1.0 */ public final class String @@ -404,7 +404,7 @@ * If the {@code offset} and {@code length} arguments index * characters outside the bounds of the {@code bytes} array * - * @since JDK1.1 + * @since 1.1 */ public String(byte bytes[], int offset, int length, String charsetName) throws UnsupportedEncodingException { @@ -472,7 +472,7 @@ * @throws UnsupportedEncodingException * If the named charset is not supported * - * @since JDK1.1 + * @since 1.1 */ public String(byte bytes[], String charsetName) throws UnsupportedEncodingException { @@ -527,7 +527,7 @@ * If the {@code offset} and the {@code length} arguments index * characters outside the bounds of the {@code bytes} array * - * @since JDK1.1 + * @since 1.1 */ public String(byte bytes[], int offset, int length) { checkBounds(bytes, offset, length); @@ -548,7 +548,7 @@ * @param bytes * The bytes to be decoded into characters * - * @since JDK1.1 + * @since 1.1 */ public String(byte bytes[]) { this(bytes, 0, bytes.length); @@ -898,7 +898,7 @@ * @throws UnsupportedEncodingException * If the named charset is not supported * - * @since JDK1.1 + * @since 1.1 */ public byte[] getBytes(String charsetName) throws UnsupportedEncodingException { @@ -940,7 +940,7 @@ * * @return The resultant byte array * - * @since JDK1.1 + * @since 1.1 */ public byte[] getBytes() { return StringCoding.encode(value, 0, value.length); @@ -1415,7 +1415,7 @@ * argument is an empty string or is equal to this * {@code String} object as determined by the * {@link #equals(Object)} method. - * @since 1. 0 + * @since 1.0 */ public boolean startsWith(String prefix) { return startsWith(prefix, 0); diff --git a/src/share/classes/java/lang/StringBuffer.java b/src/share/classes/java/lang/StringBuffer.java --- a/src/share/classes/java/lang/StringBuffer.java +++ b/src/share/classes/java/lang/StringBuffer.java @@ -92,7 +92,7 @@ * @author Arthur van Hoff * @see java.lang.StringBuilder * @see java.lang.String - * @since JDK1.0 + * @since 1.0 */ public final class StringBuffer extends AbstractStringBuilder @@ -656,7 +656,7 @@ } /** - * @since JDK1.0.2 + * @since 1.0.2 */ @Override public synchronized StringBuffer reverse() { diff --git a/src/share/classes/java/lang/StringIndexOutOfBoundsException.java b/src/share/classes/java/lang/StringIndexOutOfBoundsException.java --- a/src/share/classes/java/lang/StringIndexOutOfBoundsException.java +++ b/src/share/classes/java/lang/StringIndexOutOfBoundsException.java @@ -33,7 +33,7 @@ * * @author unascribed * @see java.lang.String#charAt(int) - * @since JDK1.0 + * @since 1.0 */ public class StringIndexOutOfBoundsException extends IndexOutOfBoundsException { @@ -42,8 +42,6 @@ /** * Constructs a {@code StringIndexOutOfBoundsException} with no * detail message. - * - * @since JDK1.0. */ public StringIndexOutOfBoundsException() { super(); diff --git a/src/share/classes/java/lang/System.java b/src/share/classes/java/lang/System.java --- a/src/share/classes/java/lang/System.java +++ b/src/share/classes/java/lang/System.java @@ -54,7 +54,7 @@ * method for quickly copying a portion of an array. * * @author unascribed - * @since JDK1.0 + * @since 1.0 */ public final class System { @@ -144,7 +144,7 @@ * @see SecurityManager#checkPermission * @see java.lang.RuntimePermission * - * @since JDK1.1 + * @since 1.1 */ public static void setIn(InputStream in) { checkIO(); @@ -168,7 +168,7 @@ * @see SecurityManager#checkPermission * @see java.lang.RuntimePermission * - * @since JDK1.1 + * @since 1.1 */ public static void setOut(PrintStream out) { checkIO(); @@ -192,7 +192,7 @@ * @see SecurityManager#checkPermission * @see java.lang.RuntimePermission * - * @since JDK1.1 + * @since 1.1 */ public static void setErr(PrintStream err) { checkIO(); @@ -502,7 +502,7 @@ * * @param x object for which the hashCode is to be calculated * @return the hashCode - * @since JDK1.1 + * @since 1.1 */ public static native int identityHashCode(Object x); @@ -1032,7 +1032,7 @@ * @see java.lang.Runtime#exit(int) * @see java.lang.Runtime#gc() * @see java.lang.SecurityManager#checkExit(int) - * @since JDK1.1 + * @since 1.1 */ @Deprecated public static void runFinalizersOnExit(boolean value) { diff --git a/src/share/classes/java/lang/Thread.java b/src/share/classes/java/lang/Thread.java --- a/src/share/classes/java/lang/Thread.java +++ b/src/share/classes/java/lang/Thread.java @@ -135,7 +135,7 @@ * @see Runtime#exit(int) * @see #run() * @see #stop() - * @since JDK1.0 + * @since 1.0 */ public class Thread implements Runnable { diff --git a/src/share/classes/java/lang/ThreadDeath.java b/src/share/classes/java/lang/ThreadDeath.java --- a/src/share/classes/java/lang/ThreadDeath.java +++ b/src/share/classes/java/lang/ThreadDeath.java @@ -43,7 +43,7 @@ * "normal occurrence", because many applications catch all * occurrences of {@code Exception} and then discard the exception. * - * @since JDK1.0 + * @since 1.0 */ public class ThreadDeath extends Error { diff --git a/src/share/classes/java/lang/ThreadGroup.java b/src/share/classes/java/lang/ThreadGroup.java --- a/src/share/classes/java/lang/ThreadGroup.java +++ b/src/share/classes/java/lang/ThreadGroup.java @@ -40,7 +40,7 @@ * parent thread group or any other thread groups. * * @author unascribed - * @since JDK1.0 + * @since 1.0 */ /* The locking strategy for this code is to try to lock only one level of the * tree wherever possible, but otherwise to lock from the bottom up. @@ -90,7 +90,7 @@ * @exception SecurityException if the current thread cannot create a * thread in the specified thread group. * @see java.lang.ThreadGroup#checkAccess() - * @since JDK1.0 + * @since 1.0 */ public ThreadGroup(String name) { this(Thread.currentThread().getThreadGroup(), name); @@ -111,7 +111,7 @@ * thread in the specified thread group. * @see java.lang.SecurityException * @see java.lang.ThreadGroup#checkAccess() - * @since JDK1.0 + * @since 1.0 */ public ThreadGroup(ThreadGroup parent, String name) { this(checkParentAccess(parent), parent, name); @@ -140,7 +140,7 @@ * Returns the name of this thread group. * * @return the name of this thread group. - * @since JDK1.0 + * @since 1.0 */ public final String getName() { return name; @@ -160,7 +160,7 @@ * @see java.lang.ThreadGroup#checkAccess() * @see java.lang.SecurityException * @see java.lang.RuntimePermission - * @since JDK1.0 + * @since 1.0 */ public final ThreadGroup getParent() { if (parent != null) @@ -176,7 +176,7 @@ * @return the maximum priority that a thread in this thread group * can have. * @see #setMaxPriority - * @since JDK1.0 + * @since 1.0 */ public final int getMaxPriority() { return maxPriority; @@ -189,7 +189,7 @@ * * @return true if this thread group is a daemon thread group; * false otherwise. - * @since JDK1.0 + * @since 1.0 */ public final boolean isDaemon() { return daemon; @@ -199,7 +199,7 @@ * Tests if this thread group has been destroyed. * * @return true if this object is destroyed - * @since JDK1.1 + * @since 1.1 */ public synchronized boolean isDestroyed() { return destroyed; @@ -221,7 +221,7 @@ * this thread group. * @see java.lang.SecurityException * @see java.lang.ThreadGroup#checkAccess() - * @since JDK1.0 + * @since 1.0 */ public final void setDaemon(boolean daemon) { checkAccess(); @@ -254,7 +254,7 @@ * @see #getMaxPriority * @see java.lang.SecurityException * @see java.lang.ThreadGroup#checkAccess() - * @since JDK1.0 + * @since 1.0 */ public final void setMaxPriority(int pri) { int ngroupsSnapshot; @@ -285,7 +285,7 @@ * @return true if this thread group is the thread group * argument or one of its ancestor thread groups; * false otherwise. - * @since JDK1.0 + * @since 1.0 */ public final boolean parentOf(ThreadGroup g) { for (; g != null ; g = g.parent) { @@ -307,7 +307,7 @@ * @exception SecurityException if the current thread is not allowed to * access this thread group. * @see java.lang.SecurityManager#checkAccess(java.lang.ThreadGroup) - * @since JDK1.0 + * @since 1.0 */ public final void checkAccess() { SecurityManager security = System.getSecurityManager(); @@ -331,7 +331,7 @@ * group and in any other thread group that has this thread * group as an ancestor * - * @since JDK1.0 + * @since 1.0 */ public int activeCount() { int result; @@ -377,7 +377,7 @@ * if {@linkplain #checkAccess checkAccess} determines that * the current thread cannot access this thread group * - * @since JDK1.0 + * @since 1.0 */ public int enumerate(Thread list[]) { checkAccess(); @@ -415,7 +415,7 @@ * if {@linkplain #checkAccess checkAccess} determines that * the current thread cannot access this thread group * - * @since JDK1.0 + * @since 1.0 */ public int enumerate(Thread list[], boolean recurse) { checkAccess(); @@ -468,7 +468,7 @@ * @return the number of active thread groups with this thread group as * an ancestor * - * @since JDK1.0 + * @since 1.0 */ public int activeGroupCount() { int ngroupsSnapshot; @@ -511,7 +511,7 @@ * if {@linkplain #checkAccess checkAccess} determines that * the current thread cannot access this thread group * - * @since JDK1.0 + * @since 1.0 */ public int enumerate(ThreadGroup list[]) { checkAccess(); @@ -549,7 +549,7 @@ * if {@linkplain #checkAccess checkAccess} determines that * the current thread cannot access this thread group * - * @since JDK1.0 + * @since 1.0 */ public int enumerate(ThreadGroup list[], boolean recurse) { checkAccess(); @@ -603,7 +603,7 @@ * @see java.lang.SecurityException * @see java.lang.Thread#stop() * @see java.lang.ThreadGroup#checkAccess() - * @since JDK1.0 + * @since 1.0 * @deprecated This method is inherently unsafe. See * {@link Thread#stop} for details. */ @@ -665,7 +665,7 @@ * @see java.lang.Thread#suspend() * @see java.lang.SecurityException * @see java.lang.ThreadGroup#checkAccess() - * @since JDK1.0 + * @since 1.0 * @deprecated This method is inherently deadlock-prone. See * {@link Thread#suspend} for details. */ @@ -726,7 +726,7 @@ * @see java.lang.SecurityException * @see java.lang.Thread#resume() * @see java.lang.ThreadGroup#checkAccess() - * @since JDK1.0 + * @since 1.0 * @deprecated This method is used solely in conjunction with * Thread.suspend and ThreadGroup.suspend, * both of which have been deprecated, as they are inherently @@ -767,7 +767,7 @@ * @exception SecurityException if the current thread cannot modify this * thread group. * @see java.lang.ThreadGroup#checkAccess() - * @since JDK1.0 + * @since 1.0 */ public final void destroy() { int ngroupsSnapshot; @@ -980,7 +980,7 @@ * Prints information about this thread group to the standard * output. This method is useful only for debugging. * - * @since JDK1.0 + * @since 1.0 */ public void list() { list(System.out, 0); @@ -1045,7 +1045,7 @@ * * @param t the thread that is about to exit. * @param e the uncaught exception. - * @since JDK1.0 + * @since 1.0 */ public void uncaughtException(Thread t, Throwable e) { if (parent != null) { @@ -1068,7 +1068,7 @@ * * @param b boolean to allow or disallow suspension * @return true on success - * @since JDK1.1 + * @since 1.1 * @deprecated The definition of this call depends on {@link #suspend}, * which is deprecated. Further, the behavior of this call * was never specified. @@ -1086,7 +1086,7 @@ * Returns a string representation of this Thread group. * * @return a string representation of this thread group. - * @since JDK1.0 + * @since 1.0 */ public String toString() { return getClass().getName() + "[name=" + getName() + ",maxpri=" + maxPriority + "]"; diff --git a/src/share/classes/java/lang/Throwable.java b/src/share/classes/java/lang/Throwable.java --- a/src/share/classes/java/lang/Throwable.java +++ b/src/share/classes/java/lang/Throwable.java @@ -109,7 +109,7 @@ * @author Josh Bloch (Added exception chaining and programmatic access to * stack trace in 1.4.) * @jls 11.2 Compile-Time Checking of Exceptions - * @since JDK1.0 + * @since 1.0 */ public class Throwable implements Serializable { /** use serialVersionUID from JDK 1.0.2 for interoperability */ @@ -385,7 +385,7 @@ * {@code getMessage()}. * * @return The localized description of this throwable. - * @since JDK1.1 + * @since 1.1 */ public String getLocalizedMessage() { return getMessage(); @@ -714,7 +714,7 @@ * print writer. * * @param s {@code PrintWriter} to use for output - * @since JDK1.1 + * @since 1.1 */ public void printStackTrace(PrintWriter s) { printStackTrace(new WrappedPrintWriter(s)); diff --git a/src/share/classes/java/lang/UnknownError.java b/src/share/classes/java/lang/UnknownError.java --- a/src/share/classes/java/lang/UnknownError.java +++ b/src/share/classes/java/lang/UnknownError.java @@ -30,7 +30,7 @@ * Java Virtual Machine. * * @author unascribed - * @since JDK1.0 + * @since 1.0 */ public class UnknownError extends VirtualMachineError { diff --git a/src/share/classes/java/lang/UnsatisfiedLinkError.java b/src/share/classes/java/lang/UnsatisfiedLinkError.java --- a/src/share/classes/java/lang/UnsatisfiedLinkError.java +++ b/src/share/classes/java/lang/UnsatisfiedLinkError.java @@ -31,7 +31,7 @@ * * @author unascribed * @see java.lang.Runtime - * @since JDK1.0 + * @since 1.0 */ public class UnsatisfiedLinkError extends LinkageError { diff --git a/src/share/classes/java/lang/VerifyError.java b/src/share/classes/java/lang/VerifyError.java --- a/src/share/classes/java/lang/VerifyError.java +++ b/src/share/classes/java/lang/VerifyError.java @@ -31,7 +31,7 @@ * or security problem. * * @author unascribed - * @since JDK1.0 + * @since 1.0 */ public class VerifyError extends LinkageError { diff --git a/src/share/classes/java/lang/VirtualMachineError.java b/src/share/classes/java/lang/VirtualMachineError.java --- a/src/share/classes/java/lang/VirtualMachineError.java +++ b/src/share/classes/java/lang/VirtualMachineError.java @@ -31,7 +31,7 @@ * * * @author Frank Yellin - * @since JDK1.0 + * @since 1.0 */ abstract public class VirtualMachineError extends Error { private static final long serialVersionUID = 4161983926571568670L; diff --git a/src/share/classes/java/lang/Void.java b/src/share/classes/java/lang/Void.java --- a/src/share/classes/java/lang/Void.java +++ b/src/share/classes/java/lang/Void.java @@ -31,7 +31,7 @@ * void. * * @author unascribed - * @since JDK1.1 + * @since 1.1 */ public final class Void { diff --git a/src/share/classes/java/lang/instrument/package.html b/src/share/classes/java/lang/instrument/package.html --- a/src/share/classes/java/lang/instrument/package.html +++ b/src/share/classes/java/lang/instrument/package.html @@ -35,24 +35,24 @@ -Provides services that allow Java programming language agents to instrument programs running on the JVM. +Provides services that allow Java programming language agents to instrument programs running on the JVM. The mechanism for instrumentation is modification of the byte-codes of methods.

    Package Specification

    -

    +

    An agent is deployed as a JAR file. An attribute in the JAR file manifest specifies the -agent class which will be loaded to start the agent. For implementations that support a command-line -interface, an agent is started by specifying an option on the command-line. +agent class which will be loaded to start the agent. For implementations that support a command-line +interface, an agent is started by specifying an option on the command-line. Implementations may also support a mechanism to start agents some time after the VM has -started. For example, an implementation may provide a mechanism that allows a tool to +started. For example, an implementation may provide a mechanism that allows a tool to attach to a running application, and initiate the loading of the tool's agent into the running application. The details as to how the load is initiated, is implementation dependent.

    Command-Line Interface

    -

    +

    An implementation is not required to provide a way to start agents from the command-line interface. On implementations that do provide a way to start agents from the command-line interface, an agent is started by adding this option to @@ -62,18 +62,18 @@ jarpath is the path to the agent JAR file. options is the agent options. -This switch may be used multiple times on the same command-line, +This switch may be used multiple times on the same command-line, thus creating multiple agents. More than one agent may use the same jarpath. An agent JAR file must conform to the JAR file specification.

    The manifest of the agent JAR file must contain the attribute Premain-Class. The -value of this attribute is the name of the agent class. The agent class must implement a -public static premain method similar in principle to the main application -entry point. After the Java Virtual Machine (JVM) has initialized, each premain method +value of this attribute is the name of the agent class. The agent class must implement a +public static premain method similar in principle to the main application +entry point. After the Java Virtual Machine (JVM) has initialized, each premain method will be called in the order the agents were specified, then the real application -main method will be called. +main method will be called. Each premain method must return in order for the startup sequence to proceed.

    @@ -96,7 +96,7 @@

    -The agent class may also have an agentmain method for use when the agent is started +The agent class may also have an agentmain method for use when the agent is started after VM startup. When the agent is started using a command-line option, the agentmain method is not invoked. @@ -105,7 +105,7 @@ The agent class will be loaded by the system class loader (see {@link java.lang.ClassLoader#getSystemClassLoader ClassLoader.getSystemClassLoader}). This is the class loader which typically loads the class containing the application main method. -The premain methods will be run under the same security and classloader +The premain methods will be run under the same security and classloader rules as the application main method. There are no modeling restrictions on what the agent premain method may do. Anything application main can do, including creating threads, is legal from premain. @@ -116,7 +116,7 @@ any additional parsing should be performed by the agent itself.

    -If the agent cannot be resolved +If the agent cannot be resolved (for example, because the agent class cannot be loaded, or because the agent class does not have an appropriate premain method), the JVM will abort. If a premain method throws an uncaught exception, the JVM will abort. @@ -127,26 +127,26 @@

    An implementation may provide a mechanism to start agents sometime after the -the VM has started. The details as to how this is initiated are implementation +the VM has started. The details as to how this is initiated are implementation specific but typically the application has already started and its main method has already been invoked. In cases where an implementation supports the starting of agents after the VM has started the following applies:

      -
    1. The manifest of the agent JAR must contain the attribute Agent-Class. - The value of this attribute is the name of the agent class.

    2. - +
    3. The manifest of the agent JAR must contain the attribute Agent-Class. + The value of this attribute is the name of the agent class.

    4. +
    5. The agent class must implement a public static agentmain method.

    6. The system class loader ( {@link java.lang.ClassLoader#getSystemClassLoader ClassLoader.getSystemClassLoader}) must support a mechanism to add an agent JAR file to the system class path.

    7. -
    +

    -The agent JAR is appended to the system class path. This is the class loader that typically loads +The agent JAR is appended to the system class path. This is the class loader that typically loads the class containing the application main method. The agent class is loaded and the -JVM attempts to invoke the agentmain method. The JVM first attempts to invoke +JVM attempts to invoke the agentmain method. The JVM first attempts to invoke the following method on the agent class:

    @@ -173,11 +173,11 @@

    The agent is passed its agent options via the agentArgs parameter. The agent options are passed as a single string, -any additional parsing should be performed by the agent itself. +any additional parsing should be performed by the agent itself.

    -The agentmain method should do any necessary initialization -required to start the agent. When startup is complete the method should +The agentmain method should do any necessary initialization +required to start the agent. When startup is complete the method should return. If the agent cannot be started (for example, because the agent class cannot be loaded, or because the agent class does not have a conformant agentmain method), the JVM will @@ -196,26 +196,26 @@ That is, the class containing the premain method. When an agent is specified at JVM launch time this attribute is required. If the attribute is not present the JVM will abort. - Note: this is a class name, not a file name or path. + Note: this is a class name, not a file name or path.

    Agent-Class
    - If an implementation supports a mechanism to start agents + If an implementation supports a mechanism to start agents sometime after the VM has started then this attribute specifies the agent class. That is, the class containing the agentmain method. This attribute is required, if it is not present the agent will not be started. Note: this is a class name, not a file name or path. -
    +
    Boot-Class-Path
    A list of paths to be searched by the bootstrap class loader. Paths represent directories or libraries (commonly referred to as JAR or zip libraries on - many platforms). + many platforms). These paths are searched by the bootstrap class loader after the platform specific mechanisms of locating a class have failed. @@ -226,7 +226,7 @@ absolute if it begins with a slash character ('/'), otherwise it is relative. A relative path is resolved against the absolute path of the agent JAR file. - Malformed and non-existent paths are ignored. + Malformed and non-existent paths are ignored. When an agent is started sometime after the VM has started then paths that do not represent a JAR file are ignored. @@ -258,7 +258,7 @@
    -

    +

    An agent JAR file may have both the Premain-Class and Agent-Class attributes present in the manifest. When the agent is started on the command-line using the -javaagent option then the Premain-Class attribute @@ -274,7 +274,7 @@

  • JDK Tools and Utilities -@since JDK1.5 +@since 1.5 @revised 1.6 diff --git a/src/share/classes/java/lang/package-info.java b/src/share/classes/java/lang/package-info.java --- a/src/share/classes/java/lang/package-info.java +++ b/src/share/classes/java/lang/package-info.java @@ -66,6 +66,6 @@ * that must be supported by every implementation of the Java * platform. * - * @since JDK1.0 + * @since 1.0 */ package java.lang; diff --git a/src/share/classes/java/lang/reflect/package-info.java b/src/share/classes/java/lang/reflect/package-info.java --- a/src/share/classes/java/lang/reflect/package-info.java +++ b/src/share/classes/java/lang/reflect/package-info.java @@ -44,6 +44,6 @@ * members of a target object (based on its runtime class) or the * members declared by a given class. * - * @since JDK1.1 + * @since 1.1 */ package java.lang.reflect; diff --git a/src/share/classes/java/math/BigInteger.java b/src/share/classes/java/math/BigInteger.java --- a/src/share/classes/java/math/BigInteger.java +++ b/src/share/classes/java/math/BigInteger.java @@ -117,7 +117,7 @@ * @author Michael McCloskey * @author Alan Eliasen * @author Timothy Buktu - * @since JDK1.1 + * @since 1.1 */ public class BigInteger extends Number implements Comparable { diff --git a/src/share/classes/java/math/package-info.java b/src/share/classes/java/math/package-info.java --- a/src/share/classes/java/math/package-info.java +++ b/src/share/classes/java/math/package-info.java @@ -40,6 +40,6 @@ * allowing the user to choose from a comprehensive set of eight * rounding modes. * - * @since JDK1.1 + * @since 1.1 */ package java.math; diff --git a/src/share/classes/java/net/BindException.java b/src/share/classes/java/net/BindException.java --- a/src/share/classes/java/net/BindException.java +++ b/src/share/classes/java/net/BindException.java @@ -30,7 +30,7 @@ * socket to a local address and port. Typically, the port is * in use, or the requested local address could not be assigned. * - * @since JDK1.1 + * @since 1.1 */ public class BindException extends SocketException { diff --git a/src/share/classes/java/net/ConnectException.java b/src/share/classes/java/net/ConnectException.java --- a/src/share/classes/java/net/ConnectException.java +++ b/src/share/classes/java/net/ConnectException.java @@ -31,7 +31,7 @@ * was refused remotely (e.g., no process is listening on the * remote address/port). * - * @since JDK1.1 + * @since 1.1 */ public class ConnectException extends SocketException { private static final long serialVersionUID = 3831404271622369215L; diff --git a/src/share/classes/java/net/ContentHandler.java b/src/share/classes/java/net/ContentHandler.java --- a/src/share/classes/java/net/ContentHandler.java +++ b/src/share/classes/java/net/ContentHandler.java @@ -79,7 +79,7 @@ * @see java.net.URLConnection * @see java.net.URLConnection#getContent() * @see java.net.URLConnection#setContentHandlerFactory(java.net.ContentHandlerFactory) - * @since JDK1.0 + * @since 1.0 */ abstract public class ContentHandler { /** diff --git a/src/share/classes/java/net/ContentHandlerFactory.java b/src/share/classes/java/net/ContentHandlerFactory.java --- a/src/share/classes/java/net/ContentHandlerFactory.java +++ b/src/share/classes/java/net/ContentHandlerFactory.java @@ -36,7 +36,7 @@ * @author James Gosling * @see java.net.ContentHandler * @see java.net.URLStreamHandler - * @since JDK1.0 + * @since 1.0 */ public interface ContentHandlerFactory { /** diff --git a/src/share/classes/java/net/DatagramPacket.java b/src/share/classes/java/net/DatagramPacket.java --- a/src/share/classes/java/net/DatagramPacket.java +++ b/src/share/classes/java/net/DatagramPacket.java @@ -37,7 +37,7 @@ * * @author Pavani Diwanji * @author Benjamin Renaud - * @since JDK1.0 + * @since 1.0 */ public final class DatagramPacket { @@ -276,7 +276,7 @@ * Sets the IP address of the machine to which this datagram * is being sent. * @param iaddr the {@code InetAddress} - * @since JDK1.1 + * @since 1.1 * @see #getAddress() */ public synchronized void setAddress(InetAddress iaddr) { @@ -287,7 +287,7 @@ * Sets the port number on the remote host to which this datagram * is being sent. * @param iport the port number - * @since JDK1.1 + * @since 1.1 * @see #getPort() */ public synchronized void setPort(int iport) { @@ -342,7 +342,7 @@ * @see #getLength * @see #getData * - * @since JDK1.1 + * @since 1.1 */ public synchronized void setData(byte[] buf) { if (buf == null) { @@ -370,7 +370,7 @@ * @see #getLength * @see #setData * - * @since JDK1.1 + * @since 1.1 */ public synchronized void setLength(int length) { if ((length + offset) > buf.length || length < 0 || diff --git a/src/share/classes/java/net/DatagramSocket.java b/src/share/classes/java/net/DatagramSocket.java --- a/src/share/classes/java/net/DatagramSocket.java +++ b/src/share/classes/java/net/DatagramSocket.java @@ -63,7 +63,7 @@ * @author Pavani Diwanji * @see java.net.DatagramPacket * @see java.nio.channels.DatagramChannel - * @since JDK1.0 + * @since 1.0 */ public class DatagramSocket implements java.io.Closeable { @@ -275,7 +275,7 @@ * {@code checkListen} method doesn't allow the operation. * * @see SecurityManager#checkListen - * @since JDK1.1 + * @since 1.1 */ public DatagramSocket(int port, InetAddress laddr) throws SocketException { this(new InetSocketAddress(laddr, port)); @@ -852,7 +852,7 @@ * * @param timeout the specified timeout in milliseconds. * @throws SocketException if there is an error in the underlying protocol, such as an UDP error. - * @since JDK1.1 + * @since 1.1 * @see #getSoTimeout() */ public synchronized void setSoTimeout(int timeout) throws SocketException { @@ -867,7 +867,7 @@ * * @return the setting for SO_TIMEOUT * @throws SocketException if there is an error in the underlying protocol, such as an UDP error. - * @since JDK1.1 + * @since 1.1 * @see #setSoTimeout(int) */ public synchronized int getSoTimeout() throws SocketException { diff --git a/src/share/classes/java/net/DatagramSocketImpl.java b/src/share/classes/java/net/DatagramSocketImpl.java --- a/src/share/classes/java/net/DatagramSocketImpl.java +++ b/src/share/classes/java/net/DatagramSocketImpl.java @@ -34,7 +34,7 @@ /** * Abstract datagram and multicast socket implementation base class. * @author Pavani Diwanji - * @since JDK1.1 + * @since 1.1 */ public abstract class DatagramSocketImpl implements SocketOptions { diff --git a/src/share/classes/java/net/FileNameMap.java b/src/share/classes/java/net/FileNameMap.java --- a/src/share/classes/java/net/FileNameMap.java +++ b/src/share/classes/java/net/FileNameMap.java @@ -30,7 +30,7 @@ * between a file name and a MIME type string. * * @author Steven B. Byrne - * @since JDK1.1 + * @since 1.1 */ public interface FileNameMap { diff --git a/src/share/classes/java/net/HttpURLConnection.java b/src/share/classes/java/net/HttpURLConnection.java --- a/src/share/classes/java/net/HttpURLConnection.java +++ b/src/share/classes/java/net/HttpURLConnection.java @@ -64,7 +64,7 @@ * redirected host/URL. * * @see java.net.HttpURLConnection#disconnect() - * @since JDK1.1 + * @since 1.1 */ abstract public class HttpURLConnection extends URLConnection { /* instance variables */ diff --git a/src/share/classes/java/net/Inet4Address.java b/src/share/classes/java/net/Inet4Address.java --- a/src/share/classes/java/net/Inet4Address.java +++ b/src/share/classes/java/net/Inet4Address.java @@ -155,7 +155,7 @@ * address i.e first four bits of the address are 1110. * @return a {@code boolean} indicating if the InetAddress is * an IP multicast address - * @since JDK1.1 + * @since 1.1 */ public boolean isMulticastAddress() { return ((holder().getAddress() & 0xf0000000) == 0xe0000000); @@ -320,7 +320,7 @@ * Returns the IP address string in textual presentation form. * * @return the raw IP address in a string format. - * @since JDK1.0.2 + * @since 1.0.2 */ public String getHostAddress() { return numericToTextFormat(getAddress()); diff --git a/src/share/classes/java/net/Inet6Address.java b/src/share/classes/java/net/Inet6Address.java --- a/src/share/classes/java/net/Inet6Address.java +++ b/src/share/classes/java/net/Inet6Address.java @@ -683,7 +683,7 @@ * @return a {@code boolean} indicating if the InetAddress is an IP * multicast address * - * @since JDK1.1 + * @since 1.1 */ @Override public boolean isMulticastAddress() { diff --git a/src/share/classes/java/net/InetAddress.java b/src/share/classes/java/net/InetAddress.java --- a/src/share/classes/java/net/InetAddress.java +++ b/src/share/classes/java/net/InetAddress.java @@ -183,7 +183,7 @@ * @see java.net.InetAddress#getAllByName(java.lang.String) * @see java.net.InetAddress#getByName(java.lang.String) * @see java.net.InetAddress#getLocalHost() - * @since JDK1.0 + * @since 1.0 */ public class InetAddress implements java.io.Serializable { @@ -305,7 +305,7 @@ * IP multicast address. * @return a {@code boolean} indicating if the InetAddress is * an IP multicast address - * @since JDK1.1 + * @since 1.1 */ public boolean isMulticastAddress() { return false; @@ -654,7 +654,7 @@ * Returns the IP address string in textual presentation. * * @return the raw IP address in a string format. - * @since JDK1.0.2 + * @since 1.0.2 */ public String getHostAddress() { return null; diff --git a/src/share/classes/java/net/MalformedURLException.java b/src/share/classes/java/net/MalformedURLException.java --- a/src/share/classes/java/net/MalformedURLException.java +++ b/src/share/classes/java/net/MalformedURLException.java @@ -33,7 +33,7 @@ * string could not be parsed. * * @author Arthur van Hoff - * @since JDK1.0 + * @since 1.0 */ public class MalformedURLException extends IOException { private static final long serialVersionUID = -182787522200415866L; diff --git a/src/share/classes/java/net/MulticastSocket.java b/src/share/classes/java/net/MulticastSocket.java --- a/src/share/classes/java/net/MulticastSocket.java +++ b/src/share/classes/java/net/MulticastSocket.java @@ -77,7 +77,7 @@ * Currently applets are not allowed to use multicast sockets. * * @author Pavani Diwanji - * @since JDK1.1 + * @since 1.1 */ public class MulticastSocket extends DatagramSocket { diff --git a/src/share/classes/java/net/NoRouteToHostException.java b/src/share/classes/java/net/NoRouteToHostException.java --- a/src/share/classes/java/net/NoRouteToHostException.java +++ b/src/share/classes/java/net/NoRouteToHostException.java @@ -31,7 +31,7 @@ * host cannot be reached because of an intervening firewall, or * if an intermediate router is down. * - * @since JDK1.1 + * @since 1.1 */ public class NoRouteToHostException extends SocketException { private static final long serialVersionUID = -1897550894873493790L; diff --git a/src/share/classes/java/net/ProtocolException.java b/src/share/classes/java/net/ProtocolException.java --- a/src/share/classes/java/net/ProtocolException.java +++ b/src/share/classes/java/net/ProtocolException.java @@ -32,7 +32,7 @@ * protocol, such as a TCP error. * * @author Chris Warth - * @since JDK1.0 + * @since 1.0 */ public class ProtocolException extends IOException { diff --git a/src/share/classes/java/net/ServerSocket.java b/src/share/classes/java/net/ServerSocket.java --- a/src/share/classes/java/net/ServerSocket.java +++ b/src/share/classes/java/net/ServerSocket.java @@ -48,7 +48,7 @@ * @see java.net.SocketImpl * @see java.net.ServerSocket#setSocketFactory(java.net.SocketImplFactory) * @see java.nio.channels.ServerSocketChannel - * @since JDK1.0 + * @since 1.0 */ public class ServerSocket implements java.io.Closeable { @@ -225,7 +225,7 @@ * @see SocketOptions * @see SocketImpl * @see SecurityManager#checkListen - * @since JDK1.1 + * @since 1.1 */ public ServerSocket(int port, int backlog, InetAddress bindAddr) throws IOException { setImpl(); @@ -527,7 +527,7 @@ * and the channel is in non-blocking mode * @throws IOException if an I/O error occurs when waiting * for a connection. - * @since JDK1.1 + * @since 1.1 * @revised 1.4 * @spec JSR-51 */ @@ -644,7 +644,7 @@ * @param timeout the specified timeout, in milliseconds * @exception SocketException if there is an error in * the underlying protocol, such as a TCP error. - * @since JDK1.1 + * @since 1.1 * @see #getSoTimeout() */ public synchronized void setSoTimeout(int timeout) throws SocketException { @@ -658,7 +658,7 @@ * 0 returns implies that the option is disabled (i.e., timeout of infinity). * @return the {@link SocketOptions#SO_TIMEOUT SO_TIMEOUT} value * @exception IOException if an I/O error occurs - * @since JDK1.1 + * @since 1.1 * @see #setSoTimeout(int) */ public synchronized int getSoTimeout() throws IOException { diff --git a/src/share/classes/java/net/Socket.java b/src/share/classes/java/net/Socket.java --- a/src/share/classes/java/net/Socket.java +++ b/src/share/classes/java/net/Socket.java @@ -50,7 +50,7 @@ * @see java.net.Socket#setSocketImplFactory(java.net.SocketImplFactory) * @see java.net.SocketImpl * @see java.nio.channels.SocketChannel - * @since JDK1.0 + * @since 1.0 */ public class Socket implements java.io.Closeable { @@ -79,7 +79,7 @@ * Creates an unconnected socket, with the * system-default type of SocketImpl. * - * @since JDK1.1 + * @since 1.1 * @revised 1.4 */ public Socket() { @@ -161,7 +161,7 @@ * * @exception SocketException if there is an error in the underlying protocol, * such as a TCP error. - * @since JDK1.1 + * @since 1.1 */ protected Socket(SocketImpl impl) throws SocketException { this.impl = impl; @@ -281,7 +281,7 @@ * parameter is outside the specified range of valid port values, * which is between 0 and 65535, inclusive. * @see SecurityManager#checkConnect - * @since JDK1.1 + * @since 1.1 */ public Socket(String host, int port, InetAddress localAddr, int localPort) throws IOException { @@ -323,7 +323,7 @@ * which is between 0 and 65535, inclusive. * @exception NullPointerException if {@code address} is null. * @see SecurityManager#checkConnect - * @since JDK1.1 + * @since 1.1 */ public Socket(InetAddress address, int port, InetAddress localAddr, int localPort) throws IOException { @@ -708,7 +708,7 @@ * @return the local address to which the socket is bound, * the loopback address if denied by the security manager, or * the wildcard address if the socket is closed or not bound yet. - * @since JDK1.1 + * @since 1.1 * * @see SecurityManager#checkConnect */ @@ -972,7 +972,7 @@ * @exception SocketException if there is an error * in the underlying protocol, such as a TCP error. * - * @since JDK1.1 + * @since 1.1 * * @see #getTcpNoDelay() */ @@ -989,7 +989,7 @@ * {@link SocketOptions#TCP_NODELAY TCP_NODELAY} is enabled. * @exception SocketException if there is an error * in the underlying protocol, such as a TCP error. - * @since JDK1.1 + * @since 1.1 * @see #setTcpNoDelay(boolean) */ public boolean getTcpNoDelay() throws SocketException { @@ -1010,7 +1010,7 @@ * @exception SocketException if there is an error * in the underlying protocol, such as a TCP error. * @exception IllegalArgumentException if the linger value is negative. - * @since JDK1.1 + * @since 1.1 * @see #getSoLinger() */ public void setSoLinger(boolean on, int linger) throws SocketException { @@ -1038,7 +1038,7 @@ * @return the setting for {@link SocketOptions#SO_LINGER SO_LINGER}. * @exception SocketException if there is an error * in the underlying protocol, such as a TCP error. - * @since JDK1.1 + * @since 1.1 * @see #setSoLinger(boolean, int) */ public int getSoLinger() throws SocketException { @@ -1131,7 +1131,7 @@ * @param timeout the specified timeout, in milliseconds. * @exception SocketException if there is an error * in the underlying protocol, such as a TCP error. - * @since JDK 1.1 + * @since 1.1 * @see #getSoTimeout() */ public synchronized void setSoTimeout(int timeout) throws SocketException { @@ -1151,7 +1151,7 @@ * @exception SocketException if there is an error * in the underlying protocol, such as a TCP error. * - * @since JDK1.1 + * @since 1.1 * @see #setSoTimeout(int) */ public synchronized int getSoTimeout() throws SocketException { diff --git a/src/share/classes/java/net/SocketException.java b/src/share/classes/java/net/SocketException.java --- a/src/share/classes/java/net/SocketException.java +++ b/src/share/classes/java/net/SocketException.java @@ -31,7 +31,7 @@ * Thrown to indicate that there is an error creating or accessing a Socket. * * @author Jonathan Payne - * @since JDK1.0 + * @since 1.0 */ public class SocketException extends IOException { diff --git a/src/share/classes/java/net/SocketImpl.java b/src/share/classes/java/net/SocketImpl.java --- a/src/share/classes/java/net/SocketImpl.java +++ b/src/share/classes/java/net/SocketImpl.java @@ -42,7 +42,7 @@ * described, without attempting to go through a firewall or proxy. * * @author unascribed - * @since JDK1.0 + * @since 1.0 */ public abstract class SocketImpl implements SocketOptions { /** diff --git a/src/share/classes/java/net/SocketImplFactory.java b/src/share/classes/java/net/SocketImplFactory.java --- a/src/share/classes/java/net/SocketImplFactory.java +++ b/src/share/classes/java/net/SocketImplFactory.java @@ -34,7 +34,7 @@ * @author Arthur van Hoff * @see java.net.Socket * @see java.net.ServerSocket - * @since JDK1.0 + * @since 1.0 */ public interface SocketImplFactory { diff --git a/src/share/classes/java/net/URL.java b/src/share/classes/java/net/URL.java --- a/src/share/classes/java/net/URL.java +++ b/src/share/classes/java/net/URL.java @@ -131,7 +131,7 @@ * as the encoding scheme defined in RFC2396. * * @author James Gosling - * @since JDK1.0 + * @since 1.0 */ public final class URL implements java.io.Serializable { diff --git a/src/share/classes/java/net/URLConnection.java b/src/share/classes/java/net/URLConnection.java --- a/src/share/classes/java/net/URLConnection.java +++ b/src/share/classes/java/net/URLConnection.java @@ -155,7 +155,7 @@ * @see java.net.URLConnection#setIfModifiedSince(long) * @see java.net.URLConnection#setRequestProperty(java.lang.String, java.lang.String) * @see java.net.URLConnection#setUseCaches(boolean) - * @since JDK1.0 + * @since 1.0 */ public abstract class URLConnection { @@ -283,7 +283,7 @@ private MessageHeader requests; /** - * @since JDK1.1 + * @since 1.1 */ private static FileNameMap fileNameMap; @@ -495,7 +495,7 @@ * @return the content length of the resource that this connection's URL * references, or {@code -1} if the content length is * not known. - * @since 7.0 + * @since 1.7 */ public long getContentLengthLong() { return getHeaderFieldLong("content-length", -1); @@ -623,7 +623,7 @@ * @return the value of the named field, parsed as a long. The * {@code Default} value is returned if the field is * missing or malformed. - * @since 7.0 + * @since 1.7 */ public long getHeaderFieldLong(String name, long Default) { String value = getHeaderField(name); diff --git a/src/share/classes/java/net/URLEncoder.java b/src/share/classes/java/net/URLEncoder.java --- a/src/share/classes/java/net/URLEncoder.java +++ b/src/share/classes/java/net/URLEncoder.java @@ -77,7 +77,7 @@ * character @ is encoded as one byte 40 (hex). * * @author Herb Jellinek - * @since JDK1.0 + * @since 1.0 */ public class URLEncoder { static BitSet dontNeedEncoding; diff --git a/src/share/classes/java/net/URLStreamHandler.java b/src/share/classes/java/net/URLStreamHandler.java --- a/src/share/classes/java/net/URLStreamHandler.java +++ b/src/share/classes/java/net/URLStreamHandler.java @@ -47,7 +47,7 @@ * * @author James Gosling * @see java.net.URL#URL(java.lang.String, java.lang.String, int, java.lang.String) - * @since JDK1.0 + * @since 1.0 */ public abstract class URLStreamHandler { /** diff --git a/src/share/classes/java/net/URLStreamHandlerFactory.java b/src/share/classes/java/net/URLStreamHandlerFactory.java --- a/src/share/classes/java/net/URLStreamHandlerFactory.java +++ b/src/share/classes/java/net/URLStreamHandlerFactory.java @@ -35,7 +35,7 @@ * @author Arthur van Hoff * @see java.net.URL * @see java.net.URLStreamHandler - * @since JDK1.0 + * @since 1.0 */ public interface URLStreamHandlerFactory { /** diff --git a/src/share/classes/java/net/UnknownHostException.java b/src/share/classes/java/net/UnknownHostException.java --- a/src/share/classes/java/net/UnknownHostException.java +++ b/src/share/classes/java/net/UnknownHostException.java @@ -31,7 +31,7 @@ * Thrown to indicate that the IP address of a host could not be determined. * * @author Jonathan Payne - * @since JDK1.0 + * @since 1.0 */ public class UnknownHostException extends IOException { diff --git a/src/share/classes/java/net/UnknownServiceException.java b/src/share/classes/java/net/UnknownServiceException.java --- a/src/share/classes/java/net/UnknownServiceException.java +++ b/src/share/classes/java/net/UnknownServiceException.java @@ -34,7 +34,7 @@ * read-only URL connection. * * @author unascribed - * @since JDK1.0 + * @since 1.0 */ public class UnknownServiceException extends IOException { private static final long serialVersionUID = -4169033248853639508L; diff --git a/src/share/classes/java/net/package-info.java b/src/share/classes/java/net/package-info.java --- a/src/share/classes/java/net/package-info.java +++ b/src/share/classes/java/net/package-info.java @@ -156,6 +156,6 @@ * Networking System Properties
  • * * - * @since JDK1.0 + * @since 1.0 */ package java.net; diff --git a/src/share/classes/java/rmi/AccessException.java b/src/share/classes/java/rmi/AccessException.java --- a/src/share/classes/java/rmi/AccessException.java +++ b/src/share/classes/java/rmi/AccessException.java @@ -36,7 +36,7 @@ * * @author Ann Wollrath * @author Roger Riggs - * @since JDK1.1 + * @since 1.1 * @see java.rmi.Naming * @see java.rmi.activation.ActivationSystem */ @@ -50,7 +50,7 @@ * detail message. * * @param s the detail message - * @since JDK1.1 + * @since 1.1 */ public AccessException(String s) { super(s); @@ -62,7 +62,7 @@ * * @param s the detail message * @param ex the nested exception - * @since JDK1.1 + * @since 1.1 */ public AccessException(String s, Exception ex) { super(s, ex); diff --git a/src/share/classes/java/rmi/AlreadyBoundException.java b/src/share/classes/java/rmi/AlreadyBoundException.java --- a/src/share/classes/java/rmi/AlreadyBoundException.java +++ b/src/share/classes/java/rmi/AlreadyBoundException.java @@ -29,7 +29,7 @@ * is made to bind an object in the registry to a name that already * has an associated binding. * - * @since JDK1.1 + * @since 1.1 * @author Ann Wollrath * @author Roger Riggs * @see java.rmi.Naming#bind(String, java.rmi.Remote) @@ -43,7 +43,7 @@ /** * Constructs an AlreadyBoundException with no * specified detail message. - * @since JDK1.1 + * @since 1.1 */ public AlreadyBoundException() { super(); @@ -54,7 +54,7 @@ * detail message. * * @param s the detail message - * @since JDK1.1 + * @since 1.1 */ public AlreadyBoundException(String s) { super(s); diff --git a/src/share/classes/java/rmi/ConnectException.java b/src/share/classes/java/rmi/ConnectException.java --- a/src/share/classes/java/rmi/ConnectException.java +++ b/src/share/classes/java/rmi/ConnectException.java @@ -30,7 +30,7 @@ * to the remote host for a remote method call. * * @author Ann Wollrath - * @since JDK1.1 + * @since 1.1 */ public class ConnectException extends RemoteException { @@ -42,7 +42,7 @@ * detail message. * * @param s the detail message - * @since JDK1.1 + * @since 1.1 */ public ConnectException(String s) { super(s); @@ -54,7 +54,7 @@ * * @param s the detail message * @param ex the nested exception - * @since JDK1.1 + * @since 1.1 */ public ConnectException(String s, Exception ex) { super(s, ex); diff --git a/src/share/classes/java/rmi/ConnectIOException.java b/src/share/classes/java/rmi/ConnectIOException.java --- a/src/share/classes/java/rmi/ConnectIOException.java +++ b/src/share/classes/java/rmi/ConnectIOException.java @@ -31,7 +31,7 @@ * to the remote host for a remote method call. * * @author Ann Wollrath - * @since JDK1.1 + * @since 1.1 */ public class ConnectIOException extends RemoteException { @@ -43,7 +43,7 @@ * detail message. * * @param s the detail message - * @since JDK1.1 + * @since 1.1 */ public ConnectIOException(String s) { super(s); @@ -56,7 +56,7 @@ * * @param s the detail message * @param ex the nested exception - * @since JDK1.1 + * @since 1.1 */ public ConnectIOException(String s, Exception ex) { super(s, ex); diff --git a/src/share/classes/java/rmi/MarshalException.java b/src/share/classes/java/rmi/MarshalException.java --- a/src/share/classes/java/rmi/MarshalException.java +++ b/src/share/classes/java/rmi/MarshalException.java @@ -39,7 +39,7 @@ * "at most once" call semantics. * * @author Ann Wollrath - * @since JDK1.1 + * @since 1.1 */ public class MarshalException extends RemoteException { @@ -51,7 +51,7 @@ * detail message. * * @param s the detail message - * @since JDK1.1 + * @since 1.1 */ public MarshalException(String s) { super(s); @@ -63,7 +63,7 @@ * * @param s the detail message * @param ex the nested exception - * @since JDK1.1 + * @since 1.1 */ public MarshalException(String s, Exception ex) { super(s, ex); diff --git a/src/share/classes/java/rmi/Naming.java b/src/share/classes/java/rmi/Naming.java --- a/src/share/classes/java/rmi/Naming.java +++ b/src/share/classes/java/rmi/Naming.java @@ -64,7 +64,7 @@ * * @author Ann Wollrath * @author Roger Riggs - * @since JDK1.1 + * @since 1.1 * @see java.rmi.registry.Registry * @see java.rmi.registry.LocateRegistry * @see java.rmi.registry.LocateRegistry#createRegistry(int) @@ -86,7 +86,7 @@ * @exception AccessException if this operation is not permitted * @exception MalformedURLException if the name is not an appropriately * formatted URL - * @since JDK1.1 + * @since 1.1 */ public static Remote lookup(String name) throws NotBoundException, @@ -112,7 +112,7 @@ * @exception RemoteException if registry could not be contacted * @exception AccessException if this operation is not permitted (if * originating from a non-local host, for example) - * @since JDK1.1 + * @since 1.1 */ public static void bind(String name, Remote obj) throws AlreadyBoundException, @@ -139,7 +139,7 @@ * @exception RemoteException if registry could not be contacted * @exception AccessException if this operation is not permitted (if * originating from a non-local host, for example) - * @since JDK1.1 + * @since 1.1 */ public static void unbind(String name) throws RemoteException, @@ -163,7 +163,7 @@ * @exception RemoteException if registry could not be contacted * @exception AccessException if this operation is not permitted (if * originating from a non-local host, for example) - * @since JDK1.1 + * @since 1.1 */ public static void rebind(String name, Remote obj) throws RemoteException, java.net.MalformedURLException @@ -190,7 +190,7 @@ * @exception MalformedURLException if the name is not an appropriately * formatted URL * @exception RemoteException if registry could not be contacted. - * @since JDK1.1 + * @since 1.1 */ public static String[] list(String name) throws RemoteException, java.net.MalformedURLException diff --git a/src/share/classes/java/rmi/NoSuchObjectException.java b/src/share/classes/java/rmi/NoSuchObjectException.java --- a/src/share/classes/java/rmi/NoSuchObjectException.java +++ b/src/share/classes/java/rmi/NoSuchObjectException.java @@ -39,7 +39,7 @@ * java.rmi.activation.Activatable and * * @author Ann Wollrath - * @since JDK1.1 + * @since 1.1 * @see java.rmi.server.RemoteObject#toStub(Remote) * @see java.rmi.server.UnicastRemoteObject#unexportObject(Remote,boolean) * @see java.rmi.activation.Activatable#unexportObject(Remote,boolean) @@ -54,7 +54,7 @@ * detail message. * * @param s the detail message - * @since JDK1.1 + * @since 1.1 */ public NoSuchObjectException(String s) { super(s); diff --git a/src/share/classes/java/rmi/NotBoundException.java b/src/share/classes/java/rmi/NotBoundException.java --- a/src/share/classes/java/rmi/NotBoundException.java +++ b/src/share/classes/java/rmi/NotBoundException.java @@ -29,7 +29,7 @@ * is made to lookup or unbind in the registry a name that has * no associated binding. * - * @since JDK1.1 + * @since 1.1 * @author Ann Wollrath * @author Roger Riggs * @see java.rmi.Naming#lookup(String) @@ -45,7 +45,7 @@ /** * Constructs a NotBoundException with no * specified detail message. - * @since JDK1.1 + * @since 1.1 */ public NotBoundException() { super(); @@ -56,7 +56,7 @@ * detail message. * * @param s the detail message - * @since JDK1.1 + * @since 1.1 */ public NotBoundException(String s) { super(s); diff --git a/src/share/classes/java/rmi/RMISecurityException.java b/src/share/classes/java/rmi/RMISecurityException.java --- a/src/share/classes/java/rmi/RMISecurityException.java +++ b/src/share/classes/java/rmi/RMISecurityException.java @@ -30,7 +30,7 @@ * java.rmi.RMISecurityManager's methods. * * @author Roger Riggs - * @since JDK1.1 + * @since 1.1 * @deprecated Use {@link java.lang.SecurityException} instead. * Application code should never directly reference this class, and * RMISecurityManager no longer throws this subclass of @@ -45,7 +45,7 @@ /** * Construct an RMISecurityException with a detail message. * @param name the detail message - * @since JDK1.1 + * @since 1.1 * @deprecated no replacement */ @Deprecated @@ -57,7 +57,7 @@ * Construct an RMISecurityException with a detail message. * @param name the detail message * @param arg ignored - * @since JDK1.1 + * @since 1.1 * @deprecated no replacement */ @Deprecated diff --git a/src/share/classes/java/rmi/RMISecurityManager.java b/src/share/classes/java/rmi/RMISecurityManager.java --- a/src/share/classes/java/rmi/RMISecurityManager.java +++ b/src/share/classes/java/rmi/RMISecurityManager.java @@ -52,7 +52,7 @@ * * @author Roger Riggs * @author Peter Jones - * @since JDK1.1 + * @since 1.1 * @deprecated Use {@link SecurityManager} instead. */ @Deprecated @@ -60,7 +60,7 @@ /** * Constructs a new {@code RMISecurityManager}. - * @since JDK1.1 + * @since 1.1 */ public RMISecurityManager() { } diff --git a/src/share/classes/java/rmi/Remote.java b/src/share/classes/java/rmi/Remote.java --- a/src/share/classes/java/rmi/Remote.java +++ b/src/share/classes/java/rmi/Remote.java @@ -42,7 +42,7 @@ *

    For complete details on RMI, see the RMI Specification which describes the RMI API and system. * - * @since JDK1.1 + * @since 1.1 * @author Ann Wollrath * @see java.rmi.server.UnicastRemoteObject * @see java.rmi.activation.Activatable diff --git a/src/share/classes/java/rmi/RemoteException.java b/src/share/classes/java/rmi/RemoteException.java --- a/src/share/classes/java/rmi/RemoteException.java +++ b/src/share/classes/java/rmi/RemoteException.java @@ -44,7 +44,7 @@ * IllegalStateException}. * * @author Ann Wollrath - * @since JDK1.1 + * @since 1.1 */ public class RemoteException extends java.io.IOException { diff --git a/src/share/classes/java/rmi/ServerError.java b/src/share/classes/java/rmi/ServerError.java --- a/src/share/classes/java/rmi/ServerError.java +++ b/src/share/classes/java/rmi/ServerError.java @@ -35,7 +35,7 @@ * Error that occurred as its cause. * * @author Ann Wollrath - * @since JDK1.1 + * @since 1.1 */ public class ServerError extends RemoteException { @@ -48,7 +48,7 @@ * * @param s the detail message * @param err the nested error - * @since JDK1.1 + * @since 1.1 */ public ServerError(String s, Error err) { super(s, err); diff --git a/src/share/classes/java/rmi/ServerException.java b/src/share/classes/java/rmi/ServerException.java --- a/src/share/classes/java/rmi/ServerException.java +++ b/src/share/classes/java/rmi/ServerException.java @@ -35,7 +35,7 @@ * RemoteException that occurred as its cause. * * @author Ann Wollrath - * @since JDK1.1 + * @since 1.1 */ public class ServerException extends RemoteException { @@ -47,7 +47,7 @@ * detail message. * * @param s the detail message - * @since JDK1.1 + * @since 1.1 */ public ServerException(String s) { super(s); @@ -59,7 +59,7 @@ * * @param s the detail message * @param ex the nested exception - * @since JDK1.1 + * @since 1.1 */ public ServerException(String s, Exception ex) { super(s, ex); diff --git a/src/share/classes/java/rmi/ServerRuntimeException.java b/src/share/classes/java/rmi/ServerRuntimeException.java --- a/src/share/classes/java/rmi/ServerRuntimeException.java +++ b/src/share/classes/java/rmi/ServerRuntimeException.java @@ -40,7 +40,7 @@ * executing on the Java 2 platform v1.2 or later versions. * * @author Ann Wollrath - * @since JDK1.1 + * @since 1.1 * @deprecated no replacement */ @Deprecated @@ -56,7 +56,7 @@ * @param s the detail message * @param ex the nested exception * @deprecated no replacement - * @since JDK1.1 + * @since 1.1 */ @Deprecated public ServerRuntimeException(String s, Exception ex) { diff --git a/src/share/classes/java/rmi/StubNotFoundException.java b/src/share/classes/java/rmi/StubNotFoundException.java --- a/src/share/classes/java/rmi/StubNotFoundException.java +++ b/src/share/classes/java/rmi/StubNotFoundException.java @@ -33,7 +33,7 @@ * java.rmi.activation.Activatable.register method. * * @author Roger Riggs - * @since JDK1.1 + * @since 1.1 * @see java.rmi.server.UnicastRemoteObject * @see java.rmi.activation.Activatable */ @@ -47,7 +47,7 @@ * detail message. * * @param s the detail message - * @since JDK1.1 + * @since 1.1 */ public StubNotFoundException(String s) { super(s); @@ -59,7 +59,7 @@ * * @param s the detail message * @param ex the nested exception - * @since JDK1.1 + * @since 1.1 */ public StubNotFoundException(String s, Exception ex) { super(s, ex); diff --git a/src/share/classes/java/rmi/UnexpectedException.java b/src/share/classes/java/rmi/UnexpectedException.java --- a/src/share/classes/java/rmi/UnexpectedException.java +++ b/src/share/classes/java/rmi/UnexpectedException.java @@ -32,7 +32,7 @@ * throws clause of the method in the remote interface. * * @author Roger Riggs - * @since JDK1.1 + * @since 1.1 */ public class UnexpectedException extends RemoteException { @@ -44,7 +44,7 @@ * detail message. * * @param s the detail message - * @since JDK1.1 + * @since 1.1 */ public UnexpectedException(String s) { super(s); @@ -56,7 +56,7 @@ * * @param s the detail message * @param ex the nested exception - * @since JDK1.1 + * @since 1.1 */ public UnexpectedException(String s, Exception ex) { super(s, ex); diff --git a/src/share/classes/java/rmi/UnknownHostException.java b/src/share/classes/java/rmi/UnknownHostException.java --- a/src/share/classes/java/rmi/UnknownHostException.java +++ b/src/share/classes/java/rmi/UnknownHostException.java @@ -30,7 +30,7 @@ * java.net.UnknownHostException occurs while creating * a connection to the remote host for a remote method call. * - * @since JDK1.1 + * @since 1.1 */ public class UnknownHostException extends RemoteException { @@ -42,7 +42,7 @@ * detail message. * * @param s the detail message - * @since JDK1.1 + * @since 1.1 */ public UnknownHostException(String s) { super(s); @@ -54,7 +54,7 @@ * * @param s the detail message * @param ex the nested exception - * @since JDK1.1 + * @since 1.1 */ public UnknownHostException(String s, Exception ex) { super(s, ex); diff --git a/src/share/classes/java/rmi/UnmarshalException.java b/src/share/classes/java/rmi/UnmarshalException.java --- a/src/share/classes/java/rmi/UnmarshalException.java +++ b/src/share/classes/java/rmi/UnmarshalException.java @@ -44,7 +44,7 @@ * * * @author Ann Wollrath - * @since JDK1.1 + * @since 1.1 */ public class UnmarshalException extends RemoteException { @@ -56,7 +56,7 @@ * detail message. * * @param s the detail message - * @since JDK1.1 + * @since 1.1 */ public UnmarshalException(String s) { super(s); @@ -68,7 +68,7 @@ * * @param s the detail message * @param ex the nested exception - * @since JDK1.1 + * @since 1.1 */ public UnmarshalException(String s, Exception ex) { super(s, ex); diff --git a/src/share/classes/java/rmi/dgc/package.html b/src/share/classes/java/rmi/dgc/package.html --- a/src/share/classes/java/rmi/dgc/package.html +++ b/src/share/classes/java/rmi/dgc/package.html @@ -50,6 +50,6 @@ --> -@since JDK1.1 +@since 1.1 diff --git a/src/share/classes/java/rmi/package.html b/src/share/classes/java/rmi/package.html --- a/src/share/classes/java/rmi/package.html +++ b/src/share/classes/java/rmi/package.html @@ -54,6 +54,6 @@ --> -@since JDK1.1 +@since 1.1 diff --git a/src/share/classes/java/rmi/registry/LocateRegistry.java b/src/share/classes/java/rmi/registry/LocateRegistry.java --- a/src/share/classes/java/rmi/registry/LocateRegistry.java +++ b/src/share/classes/java/rmi/registry/LocateRegistry.java @@ -51,7 +51,7 @@ * * @author Ann Wollrath * @author Peter Jones - * @since JDK1.1 + * @since 1.1 * @see java.rmi.registry.Registry */ public final class LocateRegistry { @@ -67,7 +67,7 @@ * * @return reference (a stub) to the remote object registry * @exception RemoteException if the reference could not be created - * @since JDK1.1 + * @since 1.1 */ public static Registry getRegistry() throws RemoteException @@ -82,7 +82,7 @@ * @param port port on which the registry accepts requests * @return reference (a stub) to the remote object registry * @exception RemoteException if the reference could not be created - * @since JDK1.1 + * @since 1.1 */ public static Registry getRegistry(int port) throws RemoteException @@ -98,7 +98,7 @@ * @param host host for the remote registry * @return reference (a stub) to the remote object registry * @exception RemoteException if the reference could not be created - * @since JDK1.1 + * @since 1.1 */ public static Registry getRegistry(String host) throws RemoteException @@ -115,7 +115,7 @@ * @param port port on which the registry accepts requests * @return reference (a stub) to the remote object registry * @exception RemoteException if the reference could not be created - * @since JDK1.1 + * @since 1.1 */ public static Registry getRegistry(String host, int port) throws RemoteException @@ -197,7 +197,7 @@ * @param port the port on which the registry accepts requests * @return the registry * @exception RemoteException if the registry could not be exported - * @since JDK1.1 + * @since 1.1 **/ public static Registry createRegistry(int port) throws RemoteException { return new RegistryImpl(port); diff --git a/src/share/classes/java/rmi/registry/Registry.java b/src/share/classes/java/rmi/registry/Registry.java --- a/src/share/classes/java/rmi/registry/Registry.java +++ b/src/share/classes/java/rmi/registry/Registry.java @@ -72,7 +72,7 @@ * * @author Ann Wollrath * @author Peter Jones - * @since JDK1.1 + * @since 1.1 * @see LocateRegistry */ public interface Registry extends Remote { diff --git a/src/share/classes/java/rmi/registry/RegistryHandler.java b/src/share/classes/java/rmi/registry/RegistryHandler.java --- a/src/share/classes/java/rmi/registry/RegistryHandler.java +++ b/src/share/classes/java/rmi/registry/RegistryHandler.java @@ -34,7 +34,7 @@ * by application code. * * @author Ann Wollrath - * @since JDK1.1 + * @since 1.1 * @deprecated no replacement */ @Deprecated diff --git a/src/share/classes/java/rmi/registry/package.html b/src/share/classes/java/rmi/registry/package.html --- a/src/share/classes/java/rmi/registry/package.html +++ b/src/share/classes/java/rmi/registry/package.html @@ -52,6 +52,6 @@ --> -@since JDK1.1 +@since 1.1 diff --git a/src/share/classes/java/rmi/server/ExportException.java b/src/share/classes/java/rmi/server/ExportException.java --- a/src/share/classes/java/rmi/server/ExportException.java +++ b/src/share/classes/java/rmi/server/ExportException.java @@ -33,7 +33,7 @@ * java.rmi.activation.Activatable. * * @author Ann Wollrath - * @since JDK1.1 + * @since 1.1 * @see java.rmi.server.UnicastRemoteObject * @see java.rmi.activation.Activatable */ @@ -47,7 +47,7 @@ * detail message. * * @param s the detail message - * @since JDK1.1 + * @since 1.1 */ public ExportException(String s) { super(s); @@ -59,7 +59,7 @@ * * @param s the detail message * @param ex the nested exception - * @since JDK1.1 + * @since 1.1 */ public ExportException(String s, Exception ex) { super(s, ex); diff --git a/src/share/classes/java/rmi/server/LoaderHandler.java b/src/share/classes/java/rmi/server/LoaderHandler.java --- a/src/share/classes/java/rmi/server/LoaderHandler.java +++ b/src/share/classes/java/rmi/server/LoaderHandler.java @@ -34,7 +34,7 @@ * by application code. * * @author Ann Wollrath - * @since JDK1.1 + * @since 1.1 * * @deprecated no replacement */ @@ -56,7 +56,7 @@ * @exception ClassNotFoundException * if a definition for the class could not * be found at the codebase location. - * @since JDK1.1 + * @since 1.1 * @deprecated no replacement */ @Deprecated @@ -75,7 +75,7 @@ * @exception ClassNotFoundException * if a definition for the class could not * be found at the specified URL - * @since JDK1.1 + * @since 1.1 * @deprecated no replacement */ @Deprecated @@ -87,7 +87,7 @@ * * @param loader a class loader from which to get the security context * @return the security context - * @since JDK1.1 + * @since 1.1 * @deprecated no replacement */ @Deprecated diff --git a/src/share/classes/java/rmi/server/LogStream.java b/src/share/classes/java/rmi/server/LogStream.java --- a/src/share/classes/java/rmi/server/LogStream.java +++ b/src/share/classes/java/rmi/server/LogStream.java @@ -32,7 +32,7 @@ * of possible interest to those monitoring a system. * * @author Ann Wollrath (lots of code stolen from Ken Arnold) - * @since JDK1.1 + * @since 1.1 * @deprecated no replacement */ @Deprecated @@ -64,7 +64,7 @@ * method. * @param name string identifying messages from this log * @out output stream that log messages will be sent to - * @since JDK1.1 + * @since 1.1 * @deprecated no replacement */ @Deprecated @@ -83,7 +83,7 @@ * the default stream is created. * @param name name identifying the desired LogStream * @return log associated with given name - * @since JDK1.1 + * @since 1.1 * @deprecated no replacement */ @Deprecated @@ -103,7 +103,7 @@ * Return the current default stream for new logs. * @return default log stream * @see #setDefaultStream - * @since JDK1.1 + * @since 1.1 * @deprecated no replacement */ @Deprecated @@ -115,7 +115,7 @@ * Set the default stream for new logs. * @param newDefault new default log stream * @see #getDefaultStream - * @since JDK1.1 + * @since 1.1 * @deprecated no replacement */ @Deprecated @@ -134,7 +134,7 @@ * Return the current stream to which output from this log is sent. * @return output stream for this log * @see #setOutputStream - * @since JDK1.1 + * @since 1.1 * @deprecated no replacement */ @Deprecated @@ -147,7 +147,7 @@ * Set the stream to which output from this log is sent. * @param out new output stream for this log * @see #getOutputStream - * @since JDK1.1 + * @since 1.1 * @deprecated no replacement */ @Deprecated @@ -164,7 +164,7 @@ * the byte is appended to the internal buffer. If it is a newline, * then the currently buffered line is sent to the log's output * stream, prefixed with the appropriate logging information. - * @since JDK1.1 + * @since 1.1 * @deprecated no replacement */ @Deprecated @@ -208,7 +208,7 @@ /** * Write a subarray of bytes. Pass each through write byte method. - * @since JDK1.1 + * @since 1.1 * @deprecated no replacement */ @Deprecated @@ -223,7 +223,7 @@ /** * Return log name as string representation. * @return log name - * @since JDK1.1 + * @since 1.1 * @deprecated no replacement */ @Deprecated @@ -244,7 +244,7 @@ * integer representation. * @param s name of logging level (e.g., 'SILENT', 'BRIEF', 'VERBOSE') * @return corresponding integer log level - * @since JDK1.1 + * @since 1.1 * @deprecated no replacement */ @Deprecated diff --git a/src/share/classes/java/rmi/server/ObjID.java b/src/share/classes/java/rmi/server/ObjID.java --- a/src/share/classes/java/rmi/server/ObjID.java +++ b/src/share/classes/java/rmi/server/ObjID.java @@ -65,7 +65,7 @@ * * @author Ann Wollrath * @author Peter Jones - * @since JDK1.1 + * @since 1.1 */ public final class ObjID implements Serializable { diff --git a/src/share/classes/java/rmi/server/Operation.java b/src/share/classes/java/rmi/server/Operation.java --- a/src/share/classes/java/rmi/server/Operation.java +++ b/src/share/classes/java/rmi/server/Operation.java @@ -32,7 +32,7 @@ * stubs (stubs generated with rmic -v1.2); hence, this class * is deprecated. * - * @since JDK1.1 + * @since 1.1 * @deprecated no replacement */ @Deprecated @@ -43,7 +43,7 @@ * Creates a new Operation object. * @param op method name * @deprecated no replacement - * @since JDK1.1 + * @since 1.1 */ @Deprecated public Operation(String op) { @@ -54,7 +54,7 @@ * Returns the name of the method. * @return method name * @deprecated no replacement - * @since JDK1.1 + * @since 1.1 */ @Deprecated public String getOperation() { @@ -64,7 +64,7 @@ /** * Returns the string representation of the operation. * @deprecated no replacement - * @since JDK1.1 + * @since 1.1 */ @Deprecated public String toString() { diff --git a/src/share/classes/java/rmi/server/RMIClassLoader.java b/src/share/classes/java/rmi/server/RMIClassLoader.java --- a/src/share/classes/java/rmi/server/RMIClassLoader.java +++ b/src/share/classes/java/rmi/server/RMIClassLoader.java @@ -105,7 +105,7 @@ * @author Peter Jones * @author Laird Dornin * @see RMIClassLoaderSpi - * @since JDK1.1 + * @since 1.1 */ public class RMIClassLoader { diff --git a/src/share/classes/java/rmi/server/RMIFailureHandler.java b/src/share/classes/java/rmi/server/RMIFailureHandler.java --- a/src/share/classes/java/rmi/server/RMIFailureHandler.java +++ b/src/share/classes/java/rmi/server/RMIFailureHandler.java @@ -35,7 +35,7 @@ * ServerSocket. * * @author Ann Wollrath - * @since JDK1.1 + * @since 1.1 */ public interface RMIFailureHandler { @@ -53,7 +53,7 @@ * @return if true, the RMI runtime attempts to retry * ServerSocket creation * @see java.rmi.server.RMISocketFactory#setFailureHandler(RMIFailureHandler) - * @since JDK1.1 + * @since 1.1 */ public boolean failure(Exception ex); diff --git a/src/share/classes/java/rmi/server/RMISocketFactory.java b/src/share/classes/java/rmi/server/RMISocketFactory.java --- a/src/share/classes/java/rmi/server/RMISocketFactory.java +++ b/src/share/classes/java/rmi/server/RMISocketFactory.java @@ -85,7 +85,7 @@ * * @author Ann Wollrath * @author Peter Jones - * @since JDK1.1 + * @since 1.1 */ public abstract class RMISocketFactory implements RMIClientSocketFactory, RMIServerSocketFactory @@ -100,7 +100,7 @@ /** * Constructs an RMISocketFactory. - * @since JDK1.1 + * @since 1.1 */ public RMISocketFactory() { super(); @@ -112,7 +112,7 @@ * @param port the port number * @return a socket connected to the specified host and port. * @exception IOException if an I/O error occurs during socket creation - * @since JDK1.1 + * @since 1.1 */ public abstract Socket createSocket(String host, int port) throws IOException; @@ -124,7 +124,7 @@ * @return the server socket on the specified port * @exception IOException if an I/O error occurs during server socket * creation - * @since JDK1.1 + * @since 1.1 */ public abstract ServerSocket createServerSocket(int port) throws IOException; @@ -142,7 +142,7 @@ * checkSetFactory method doesn't allow the operation. * @see #getSocketFactory * @see java.lang.SecurityManager#checkSetFactory() - * @since JDK1.1 + * @since 1.1 */ public synchronized static void setSocketFactory(RMISocketFactory fac) throws IOException @@ -163,7 +163,7 @@ * set. * @return the socket factory * @see #setSocketFactory(RMISocketFactory) - * @since JDK1.1 + * @since 1.1 */ public synchronized static RMISocketFactory getSocketFactory() { @@ -176,7 +176,7 @@ * by the RMI runtime when getSocketFactory * returns null. * @return the default RMI socket factory - * @since JDK1.1 + * @since 1.1 */ public synchronized static RMISocketFactory getDefaultSocketFactory() { if (defaultSocketFactory == null) { @@ -203,7 +203,7 @@ * operation. * @see #getFailureHandler * @see java.rmi.server.RMIFailureHandler#failure(Exception) - * @since JDK1.1 + * @since 1.1 */ public synchronized static void setFailureHandler(RMIFailureHandler fh) { @@ -219,7 +219,7 @@ * setFailureHandler method. * @return the failure handler * @see #setFailureHandler(RMIFailureHandler) - * @since JDK1.1 + * @since 1.1 */ public synchronized static RMIFailureHandler getFailureHandler() { diff --git a/src/share/classes/java/rmi/server/RemoteCall.java b/src/share/classes/java/rmi/server/RemoteCall.java --- a/src/share/classes/java/rmi/server/RemoteCall.java +++ b/src/share/classes/java/rmi/server/RemoteCall.java @@ -37,7 +37,7 @@ * deprecated because it is only used by deprecated methods of * java.rmi.server.RemoteRef. * - * @since JDK1.1 + * @since 1.1 * @author Ann Wollrath * @author Roger Riggs * @see java.rmi.server.RemoteRef @@ -52,7 +52,7 @@ * * @return output stream for arguments/results * @exception java.io.IOException if an I/O error occurs. - * @since JDK1.1 + * @since 1.1 * @deprecated no replacement */ @Deprecated @@ -63,7 +63,7 @@ * the stream. * * @exception java.io.IOException if an I/O error occurs. - * @since JDK1.1 + * @since 1.1 * @deprecated no replacement */ @Deprecated @@ -75,7 +75,7 @@ * * @return input stream for reading arguments/results * @exception java.io.IOException if an I/O error occurs. - * @since JDK1.1 + * @since 1.1 * @deprecated no replacement */ @Deprecated @@ -87,7 +87,7 @@ * the channel early. * * @exception java.io.IOException if an I/O error occurs. - * @since JDK1.1 + * @since 1.1 * @deprecated no replacement */ @Deprecated @@ -103,7 +103,7 @@ * @return output stream for writing call result * @exception java.io.IOException if an I/O error occurs. * @exception java.io.StreamCorruptedException If already been called. - * @since JDK1.1 + * @since 1.1 * @deprecated no replacement */ @Deprecated @@ -114,7 +114,7 @@ * Do whatever it takes to execute the call. * * @exception java.lang.Exception if a general exception occurs. - * @since JDK1.1 + * @since 1.1 * @deprecated no replacement */ @Deprecated @@ -124,7 +124,7 @@ * Allow cleanup after the remote call has completed. * * @exception java.io.IOException if an I/O error occurs. - * @since JDK1.1 + * @since 1.1 * @deprecated no replacement */ @Deprecated diff --git a/src/share/classes/java/rmi/server/RemoteObject.java b/src/share/classes/java/rmi/server/RemoteObject.java --- a/src/share/classes/java/rmi/server/RemoteObject.java +++ b/src/share/classes/java/rmi/server/RemoteObject.java @@ -39,7 +39,7 @@ * @author Ann Wollrath * @author Laird Dornin * @author Peter Jones - * @since JDK1.1 + * @since 1.1 */ public abstract class RemoteObject implements Remote, java.io.Serializable { diff --git a/src/share/classes/java/rmi/server/RemoteRef.java b/src/share/classes/java/rmi/server/RemoteRef.java --- a/src/share/classes/java/rmi/server/RemoteRef.java +++ b/src/share/classes/java/rmi/server/RemoteRef.java @@ -33,7 +33,7 @@ * remote method invocation to a remote object. * * @author Ann Wollrath - * @since JDK1.1 + * @since 1.1 * @see java.rmi.server.RemoteStub */ public interface RemoteRef extends java.io.Externalizable { @@ -84,7 +84,7 @@ * interpret them. The remote reference may need the operation to * encode in the call. * - * @since JDK1.1 + * @since 1.1 * @deprecated 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 @@ -114,7 +114,7 @@ * take care of cleaning up the connection before raising the * "user" or remote exception. * - * @since JDK1.1 + * @since 1.1 * @deprecated 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 @@ -135,7 +135,7 @@ * Done should only be called if the invoke returns successfully * (non-exceptionally) to the stub. * - * @since JDK1.1 + * @since 1.1 * @deprecated 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 @@ -157,7 +157,7 @@ * @param out the output stream to which the reference will be serialized * @return the class name (without package qualification) of the reference * type - * @since JDK1.1 + * @since 1.1 */ String getRefClass(java.io.ObjectOutput out); @@ -168,7 +168,7 @@ * * @return remote object hashcode * @see java.util.Hashtable - * @since JDK1.1 + * @since 1.1 */ int remoteHashCode(); @@ -180,7 +180,7 @@ * @param obj the Object to compare with * @return true if these Objects are equal; false otherwise. * @see java.util.Hashtable - * @since JDK1.1 + * @since 1.1 */ boolean remoteEquals(RemoteRef obj); @@ -188,7 +188,7 @@ * Returns a String that represents the reference of this remote * object. * @return string representing remote object reference - * @since JDK1.1 + * @since 1.1 */ String remoteToString(); diff --git a/src/share/classes/java/rmi/server/RemoteServer.java b/src/share/classes/java/rmi/server/RemoteServer.java --- a/src/share/classes/java/rmi/server/RemoteServer.java +++ b/src/share/classes/java/rmi/server/RemoteServer.java @@ -37,7 +37,7 @@ * concretely by its subclass(es). * * @author Ann Wollrath - * @since JDK1.1 + * @since 1.1 */ public abstract class RemoteServer extends RemoteObject { @@ -46,7 +46,7 @@ /** * Constructs a RemoteServer. - * @since JDK1.1 + * @since 1.1 */ protected RemoteServer() { super(); @@ -56,7 +56,7 @@ * Constructs a RemoteServer with the given reference type. * * @param ref the remote reference - * @since JDK1.1 + * @since 1.1 */ protected RemoteServer(RemoteRef ref) { super(ref); @@ -71,7 +71,7 @@ * @throws ServerNotActiveException if no remote method invocation * is being processed in the current thread * - * @since JDK1.1 + * @since 1.1 */ public static String getClientHost() throws ServerNotActiveException { return sun.rmi.transport.tcp.TCPTransport.getClientHost(); @@ -91,7 +91,7 @@ * the invocation of its checkPermission method * fails * @see #getLog - * @since JDK1.1 + * @since 1.1 */ public static void setLog(java.io.OutputStream out) { @@ -103,7 +103,7 @@ * Returns stream for the RMI call log. * @return the call log * @see #setLog - * @since JDK1.1 + * @since 1.1 */ public static java.io.PrintStream getLog() { diff --git a/src/share/classes/java/rmi/server/RemoteStub.java b/src/share/classes/java/rmi/server/RemoteStub.java --- a/src/share/classes/java/rmi/server/RemoteStub.java +++ b/src/share/classes/java/rmi/server/RemoteStub.java @@ -33,7 +33,7 @@ * implementation of the remote object. * * @author Ann Wollrath - * @since JDK1.1 + * @since 1.1 * * @deprecated Statically generated stubs are deprecated, since * stubs are generated dynamically. See {@link UnicastRemoteObject} @@ -57,7 +57,7 @@ * reference. * * @param ref the remote reference - * @since JDK1.1 + * @since 1.1 */ protected RemoteStub(RemoteRef ref) { super(ref); @@ -69,7 +69,7 @@ * @param stub the remote stub * @param ref the remote reference * @throws UnsupportedOperationException always - * @since JDK1.1 + * @since 1.1 * @deprecated No replacement. The {@code setRef} method * was intended for setting the remote reference of a remote * stub. This is unnecessary, since {@code RemoteStub}s can be created diff --git a/src/share/classes/java/rmi/server/ServerCloneException.java b/src/share/classes/java/rmi/server/ServerCloneException.java --- a/src/share/classes/java/rmi/server/ServerCloneException.java +++ b/src/share/classes/java/rmi/server/ServerCloneException.java @@ -41,7 +41,7 @@ * IllegalStateException}. * * @author Ann Wollrath - * @since JDK1.1 + * @since 1.1 * @see java.rmi.server.UnicastRemoteObject#clone() */ public class ServerCloneException extends CloneNotSupportedException { diff --git a/src/share/classes/java/rmi/server/ServerNotActiveException.java b/src/share/classes/java/rmi/server/ServerNotActiveException.java --- a/src/share/classes/java/rmi/server/ServerNotActiveException.java +++ b/src/share/classes/java/rmi/server/ServerNotActiveException.java @@ -32,7 +32,7 @@ * method call. * * @author Roger Riggs - * @since JDK1.1 + * @since 1.1 * @see java.rmi.server.RemoteServer#getClientHost() */ public class ServerNotActiveException extends java.lang.Exception { @@ -43,7 +43,7 @@ /** * Constructs an ServerNotActiveException with no specified * detail message. - * @since JDK1.1 + * @since 1.1 */ public ServerNotActiveException() {} @@ -52,7 +52,7 @@ * detail message. * * @param s the detail message. - * @since JDK1.1 + * @since 1.1 */ public ServerNotActiveException(String s) { diff --git a/src/share/classes/java/rmi/server/ServerRef.java b/src/share/classes/java/rmi/server/ServerRef.java --- a/src/share/classes/java/rmi/server/ServerRef.java +++ b/src/share/classes/java/rmi/server/ServerRef.java @@ -32,7 +32,7 @@ * implementation. * * @author Ann Wollrath - * @since JDK1.1 + * @since 1.1 * @deprecated No replacement. This interface is unused and is obsolete. */ @Deprecated @@ -50,7 +50,7 @@ * @return the stub for the remote object * @exception RemoteException if an exception occurs attempting * to export the object (e.g., stub class could not be found) - * @since JDK1.1 + * @since 1.1 */ RemoteStub exportObject(Remote obj, Object data) throws RemoteException; @@ -62,7 +62,7 @@ * @return the client's host name * @exception ServerNotActiveException if called outside of servicing * a remote method invocation - * @since JDK1.1 + * @since 1.1 */ String getClientHost() throws ServerNotActiveException; } diff --git a/src/share/classes/java/rmi/server/Skeleton.java b/src/share/classes/java/rmi/server/Skeleton.java --- a/src/share/classes/java/rmi/server/Skeleton.java +++ b/src/share/classes/java/rmi/server/Skeleton.java @@ -37,7 +37,7 @@ * implementation. * * @author Ann Wollrath - * @since JDK1.1 + * @since 1.1 * @deprecated no replacement. Skeletons are no longer required for remote * method calls in the Java 2 platform v1.2 and greater. */ @@ -52,7 +52,7 @@ * @param opnum operation number * @param hash stub/skeleton interface hash * @exception java.lang.Exception if a general exception occurs. - * @since JDK1.1 + * @since 1.1 * @deprecated no replacement */ @Deprecated @@ -62,7 +62,7 @@ /** * Returns the operations supported by the skeleton. * @return operations supported by skeleton - * @since JDK1.1 + * @since 1.1 * @deprecated no replacement */ @Deprecated diff --git a/src/share/classes/java/rmi/server/SkeletonMismatchException.java b/src/share/classes/java/rmi/server/SkeletonMismatchException.java --- a/src/share/classes/java/rmi/server/SkeletonMismatchException.java +++ b/src/share/classes/java/rmi/server/SkeletonMismatchException.java @@ -36,7 +36,7 @@ * the stub compiler (rmic). * * @author Roger Riggs - * @since JDK1.1 + * @since 1.1 * @deprecated no replacement. Skeletons are no longer required for remote * method calls in the Java 2 platform v1.2 and greater. */ @@ -51,7 +51,7 @@ * a specified detail message. * * @param s the detail message - * @since JDK1.1 + * @since 1.1 * @deprecated no replacement */ @Deprecated diff --git a/src/share/classes/java/rmi/server/SkeletonNotFoundException.java b/src/share/classes/java/rmi/server/SkeletonNotFoundException.java --- a/src/share/classes/java/rmi/server/SkeletonNotFoundException.java +++ b/src/share/classes/java/rmi/server/SkeletonNotFoundException.java @@ -33,7 +33,7 @@ * exported is not found. Skeletons are no longer required, so this * exception is never thrown. * - * @since JDK1.1 + * @since 1.1 * @deprecated no replacement. Skeletons are no longer required for remote * method calls in the Java 2 platform v1.2 and greater. */ @@ -48,7 +48,7 @@ * detail message. * * @param s the detail message. - * @since JDK1.1 + * @since 1.1 */ public SkeletonNotFoundException(String s) { super(s); @@ -60,7 +60,7 @@ * * @param s the detail message. * @param ex the nested exception - * @since JDK1.1 + * @since 1.1 */ public SkeletonNotFoundException(String s, Exception ex) { super(s, ex); diff --git a/src/share/classes/java/rmi/server/SocketSecurityException.java b/src/share/classes/java/rmi/server/SocketSecurityException.java --- a/src/share/classes/java/rmi/server/SocketSecurityException.java +++ b/src/share/classes/java/rmi/server/SocketSecurityException.java @@ -29,7 +29,7 @@ * An obsolete subclass of {@link ExportException}. * * @author Ann Wollrath - * @since JDK1.1 + * @since 1.1 * @deprecated This class is obsolete. Use {@link ExportException} instead. */ @Deprecated @@ -43,7 +43,7 @@ * detail message. * * @param s the detail message. - * @since JDK1.1 + * @since 1.1 */ public SocketSecurityException(String s) { super(s); @@ -55,7 +55,7 @@ * * @param s the detail message. * @param ex the nested exception - * @since JDK1.1 + * @since 1.1 */ public SocketSecurityException(String s, Exception ex) { super(s, ex); diff --git a/src/share/classes/java/rmi/server/UID.java b/src/share/classes/java/rmi/server/UID.java --- a/src/share/classes/java/rmi/server/UID.java +++ b/src/share/classes/java/rmi/server/UID.java @@ -66,7 +66,7 @@ * * @author Ann Wollrath * @author Peter Jones - * @since JDK1.1 + * @since 1.1 */ public final class UID implements Serializable { diff --git a/src/share/classes/java/rmi/server/UnicastRemoteObject.java b/src/share/classes/java/rmi/server/UnicastRemoteObject.java --- a/src/share/classes/java/rmi/server/UnicastRemoteObject.java +++ b/src/share/classes/java/rmi/server/UnicastRemoteObject.java @@ -142,7 +142,7 @@ * * @author Ann Wollrath * @author Peter Jones - * @since JDK1.1 + * @since 1.1 **/ public class UnicastRemoteObject extends RemoteServer { @@ -173,7 +173,7 @@ * created using the {@link RMISocketFactory} class. * * @throws RemoteException if failed to export object - * @since JDK1.1 + * @since 1.1 */ protected UnicastRemoteObject() throws RemoteException { @@ -242,7 +242,7 @@ * @exception CloneNotSupportedException if clone failed due to * a RemoteException. * @return the new remote object - * @since JDK1.1 + * @since 1.1 */ public Object clone() throws CloneNotSupportedException { @@ -280,7 +280,7 @@ * @param obj the remote object to be exported * @return remote object stub * @exception RemoteException if export fails - * @since JDK1.1 + * @since 1.1 * @deprecated This method is deprecated because it supports only static stubs. * Use {@link #exportObject(Remote, int) exportObject(Remote, port)} or * {@link #exportObject(Remote, int, RMIClientSocketFactory, RMIServerSocketFactory) diff --git a/src/share/classes/java/rmi/server/Unreferenced.java b/src/share/classes/java/rmi/server/Unreferenced.java --- a/src/share/classes/java/rmi/server/Unreferenced.java +++ b/src/share/classes/java/rmi/server/Unreferenced.java @@ -32,14 +32,14 @@ * * @author Ann Wollrath * @author Roger Riggs - * @since JDK1.1 + * @since 1.1 */ public interface Unreferenced { /** * Called by the RMI runtime sometime after the runtime determines that * the reference list, the list of clients referencing the remote object, * becomes empty. - * @since JDK1.1 + * @since 1.1 */ public void unreferenced(); } diff --git a/src/share/classes/java/rmi/server/package.html b/src/share/classes/java/rmi/server/package.html --- a/src/share/classes/java/rmi/server/package.html +++ b/src/share/classes/java/rmi/server/package.html @@ -69,6 +69,6 @@ --> -@since JDK1.1 +@since 1.1 diff --git a/src/share/classes/java/security/acl/package-info.java b/src/share/classes/java/security/acl/package-info.java --- a/src/share/classes/java/security/acl/package-info.java +++ b/src/share/classes/java/security/acl/package-info.java @@ -28,6 +28,6 @@ * superseded by classes in the java.security package. * See that package and, for example, java.security.Permission for details. * - * @since JDK1.1 + * @since 1.1 */ package java.security.acl; diff --git a/src/share/classes/java/security/interfaces/package-info.java b/src/share/classes/java/security/interfaces/package-info.java --- a/src/share/classes/java/security/interfaces/package-info.java +++ b/src/share/classes/java/security/interfaces/package-info.java @@ -69,6 +69,6 @@ * * * - * @since JDK1.1 + * @since 1.1 */ package java.security.interfaces; diff --git a/src/share/classes/java/security/spec/DSAGenParameterSpec.java b/src/share/classes/java/security/spec/DSAGenParameterSpec.java --- a/src/share/classes/java/security/spec/DSAGenParameterSpec.java +++ b/src/share/classes/java/security/spec/DSAGenParameterSpec.java @@ -31,7 +31,7 @@ * * @see AlgorithmParameterSpec * - * @since 8 + * @since 1.8 */ public final class DSAGenParameterSpec implements AlgorithmParameterSpec { diff --git a/src/share/classes/java/text/DecimalFormatSymbols.java b/src/share/classes/java/text/DecimalFormatSymbols.java --- a/src/share/classes/java/text/DecimalFormatSymbols.java +++ b/src/share/classes/java/text/DecimalFormatSymbols.java @@ -679,7 +679,7 @@ * default serialization will work properly if this object is streamed out again. * Initializes the currency from the intlCurrencySymbol field. * - * @since JDK 1.1.6 + * @since 1.1.6 */ private void readObject(ObjectInputStream stream) throws IOException, ClassNotFoundException { @@ -802,7 +802,7 @@ /** * The decimal separator used when formatting currency values. * @serial - * @since JDK 1.1.6 + * @since 1.1.6 * @see #getMonetaryDecimalSeparator */ private char monetarySeparator; // Field new in JDK 1.1.6 @@ -816,7 +816,7 @@ * The intent is that this will be added to the API in the future. * * @serial - * @since JDK 1.1.6 + * @since 1.1.6 */ private char exponential; // Field new in JDK 1.1.6 @@ -872,7 +872,7 @@ * is always written. * * @serial - * @since JDK 1.1.6 + * @since 1.1.6 */ private int serialVersionOnStream = currentSerialVersion; } diff --git a/src/share/classes/java/text/SimpleDateFormat.java b/src/share/classes/java/text/SimpleDateFormat.java --- a/src/share/classes/java/text/SimpleDateFormat.java +++ b/src/share/classes/java/text/SimpleDateFormat.java @@ -441,7 +441,7 @@ * and the highest allowable serialVersionOnStream * is written. * @serial - * @since JDK1.1.4 + * @since 1.1.4 */ private int serialVersionOnStream = currentSerialVersion; @@ -506,7 +506,7 @@ * defaultCenturyStart, which may be any date. May * not be null. * @serial - * @since JDK1.1.4 + * @since 1.1.4 */ private Date defaultCenturyStart; diff --git a/src/share/classes/java/text/package.html b/src/share/classes/java/text/package.html --- a/src/share/classes/java/text/package.html +++ b/src/share/classes/java/text/package.html @@ -60,6 +60,6 @@ --> -@since JDK1.1 +@since 1.1 diff --git a/src/share/classes/java/time/chrono/package-info.java b/src/share/classes/java/time/chrono/package-info.java --- a/src/share/classes/java/time/chrono/package-info.java +++ b/src/share/classes/java/time/chrono/package-info.java @@ -166,6 +166,6 @@ * All calculations should check for numeric overflow and throw either an {@link java.lang.ArithmeticException} * or a {@link java.time.DateTimeException}. *

    - * @since JDK1.8 + * @since 1.8 */ package java.time.chrono; diff --git a/src/share/classes/java/time/format/TextStyle.java b/src/share/classes/java/time/format/TextStyle.java --- a/src/share/classes/java/time/format/TextStyle.java +++ b/src/share/classes/java/time/format/TextStyle.java @@ -82,6 +82,8 @@ * * @implSpec * This is immutable and thread-safe enum. + * + * @since 1.8 */ public enum TextStyle { // ordered from large to small diff --git a/src/share/classes/java/time/format/package-info.java b/src/share/classes/java/time/format/package-info.java --- a/src/share/classes/java/time/format/package-info.java +++ b/src/share/classes/java/time/format/package-info.java @@ -90,6 +90,6 @@ * All calculations should check for numeric overflow and throw either an {@link java.lang.ArithmeticException} * or a {@link java.time.DateTimeException}. *

    - * @since JDK1.8 + * @since 1.8 */ package java.time.format; diff --git a/src/share/classes/java/time/package-info.java b/src/share/classes/java/time/package-info.java --- a/src/share/classes/java/time/package-info.java +++ b/src/share/classes/java/time/package-info.java @@ -282,6 +282,6 @@ * * * - * @since JDK1.8 + * @since 1.8 */ package java.time; diff --git a/src/share/classes/java/time/temporal/package-info.java b/src/share/classes/java/time/temporal/package-info.java --- a/src/share/classes/java/time/temporal/package-info.java +++ b/src/share/classes/java/time/temporal/package-info.java @@ -154,6 +154,6 @@ * All calculations should check for numeric overflow and throw either an {@link java.lang.ArithmeticException} * or a {@link java.time.DateTimeException}. *

    - * @since JDK1.8 + * @since 1.8 */ package java.time.temporal; diff --git a/src/share/classes/java/time/zone/package-info.java b/src/share/classes/java/time/zone/package-info.java --- a/src/share/classes/java/time/zone/package-info.java +++ b/src/share/classes/java/time/zone/package-info.java @@ -81,6 +81,6 @@ * All calculations should check for numeric overflow and throw either an {@link java.lang.ArithmeticException} * or a {@link java.time.DateTimeException}. *

    - * @since JDK1.8 + * @since 1.8 */ package java.time.zone; diff --git a/src/share/classes/java/util/BitSet.java b/src/share/classes/java/util/BitSet.java --- a/src/share/classes/java/util/BitSet.java +++ b/src/share/classes/java/util/BitSet.java @@ -60,7 +60,7 @@ * @author Arthur van Hoff * @author Michael McCloskey * @author Martin Buchholz - * @since JDK1.0 + * @since 1.0 */ public class BitSet implements Cloneable, java.io.Serializable { /* @@ -437,7 +437,7 @@ * * @param bitIndex a bit index * @throws IndexOutOfBoundsException if the specified index is negative - * @since JDK1.0 + * @since 1.0 */ public void set(int bitIndex) { if (bitIndex < 0) @@ -533,7 +533,7 @@ * * @param bitIndex the index of the bit to be cleared * @throws IndexOutOfBoundsException if the specified index is negative - * @since JDK1.0 + * @since 1.0 */ public void clear(int bitIndex) { if (bitIndex < 0) diff --git a/src/share/classes/java/util/Calendar.java b/src/share/classes/java/util/Calendar.java --- a/src/share/classes/java/util/Calendar.java +++ b/src/share/classes/java/util/Calendar.java @@ -308,7 +308,7 @@ * @see TimeZone * @see java.text.DateFormat * @author Mark Davis, David Goldsmith, Chen-Lieh Huang, Alan Liu - * @since JDK1.1 + * @since 1.1 */ public abstract class Calendar implements Serializable, Cloneable, Comparable { @@ -994,7 +994,7 @@ * and the highest allowable serialVersionOnStream * is written. * @serial - * @since JDK1.1.6 + * @since 1.1.6 */ private int serialVersionOnStream = currentSerialVersion; diff --git a/src/share/classes/java/util/Date.java b/src/share/classes/java/util/Date.java --- a/src/share/classes/java/util/Date.java +++ b/src/share/classes/java/util/Date.java @@ -126,7 +126,7 @@ * @see java.text.DateFormat * @see java.util.Calendar * @see java.util.TimeZone - * @since JDK1.0 + * @since 1.0 */ public class Date implements java.io.Serializable, Cloneable, Comparable diff --git a/src/share/classes/java/util/Dictionary.java b/src/share/classes/java/util/Dictionary.java --- a/src/share/classes/java/util/Dictionary.java +++ b/src/share/classes/java/util/Dictionary.java @@ -44,7 +44,7 @@ * @see java.lang.Object#equals(java.lang.Object) * @see java.lang.Object#hashCode() * @see java.util.Hashtable - * @since JDK1.0 + * @since 1.0 */ public abstract class Dictionary { diff --git a/src/share/classes/java/util/EmptyStackException.java b/src/share/classes/java/util/EmptyStackException.java --- a/src/share/classes/java/util/EmptyStackException.java +++ b/src/share/classes/java/util/EmptyStackException.java @@ -31,7 +31,7 @@ * * @author Jonathan Payne * @see java.util.Stack - * @since JDK1.0 + * @since 1.0 */ public class EmptyStackException extends RuntimeException { diff --git a/src/share/classes/java/util/Enumeration.java b/src/share/classes/java/util/Enumeration.java --- a/src/share/classes/java/util/Enumeration.java +++ b/src/share/classes/java/util/Enumeration.java @@ -56,7 +56,7 @@ * @see java.util.Vector#elements() * * @author Lee Boynton - * @since JDK1.0 + * @since 1.0 */ public interface Enumeration { /** diff --git a/src/share/classes/java/util/EventListener.java b/src/share/classes/java/util/EventListener.java --- a/src/share/classes/java/util/EventListener.java +++ b/src/share/classes/java/util/EventListener.java @@ -27,7 +27,7 @@ /** * A tagging interface that all event listener interfaces must extend. - * @since JDK1.1 + * @since 1.1 */ public interface EventListener { } diff --git a/src/share/classes/java/util/EventObject.java b/src/share/classes/java/util/EventObject.java --- a/src/share/classes/java/util/EventObject.java +++ b/src/share/classes/java/util/EventObject.java @@ -33,7 +33,7 @@ * that is logically deemed to be the object upon which the Event in question * initially occurred upon. * - * @since JDK1.1 + * @since 1.1 */ public class EventObject implements java.io.Serializable { diff --git a/src/share/classes/java/util/GregorianCalendar.java b/src/share/classes/java/util/GregorianCalendar.java --- a/src/share/classes/java/util/GregorianCalendar.java +++ b/src/share/classes/java/util/GregorianCalendar.java @@ -325,7 +325,7 @@ * * @see TimeZone * @author David Goldsmith, Mark Davis, Chen-Lieh Huang, Alan Liu - * @since JDK1.1 + * @since 1.1 */ public class GregorianCalendar extends Calendar { /* diff --git a/src/share/classes/java/util/Hashtable.java b/src/share/classes/java/util/Hashtable.java --- a/src/share/classes/java/util/Hashtable.java +++ b/src/share/classes/java/util/Hashtable.java @@ -129,7 +129,7 @@ * @see Map * @see HashMap * @see TreeMap - * @since JDK1.0 + * @since 1.0 */ public class Hashtable extends Dictionary diff --git a/src/share/classes/java/util/ListResourceBundle.java b/src/share/classes/java/util/ListResourceBundle.java --- a/src/share/classes/java/util/ListResourceBundle.java +++ b/src/share/classes/java/util/ListResourceBundle.java @@ -113,7 +113,7 @@ * * @see ResourceBundle * @see PropertyResourceBundle - * @since JDK1.1 + * @since 1.1 */ public abstract class ListResourceBundle extends ResourceBundle { /** diff --git a/src/share/classes/java/util/MissingResourceException.java b/src/share/classes/java/util/MissingResourceException.java --- a/src/share/classes/java/util/MissingResourceException.java +++ b/src/share/classes/java/util/MissingResourceException.java @@ -45,7 +45,7 @@ * @see java.lang.Exception * @see ResourceBundle * @author Mark Davis - * @since JDK1.1 + * @since 1.1 */ public class MissingResourceException extends RuntimeException { diff --git a/src/share/classes/java/util/NoSuchElementException.java b/src/share/classes/java/util/NoSuchElementException.java --- a/src/share/classes/java/util/NoSuchElementException.java +++ b/src/share/classes/java/util/NoSuchElementException.java @@ -32,7 +32,7 @@ * @author unascribed * @see java.util.Enumeration#nextElement() * @see java.util.Iterator#next() - * @since JDK1.0 + * @since 1.0 */ public class NoSuchElementException extends RuntimeException { diff --git a/src/share/classes/java/util/Observable.java b/src/share/classes/java/util/Observable.java --- a/src/share/classes/java/util/Observable.java +++ b/src/share/classes/java/util/Observable.java @@ -57,7 +57,7 @@ * @see java.util.Observable#notifyObservers(java.lang.Object) * @see java.util.Observer * @see java.util.Observer#update(java.util.Observable, java.lang.Object) - * @since JDK1.0 + * @since 1.0 */ public class Observable { private boolean changed = false; diff --git a/src/share/classes/java/util/Observer.java b/src/share/classes/java/util/Observer.java --- a/src/share/classes/java/util/Observer.java +++ b/src/share/classes/java/util/Observer.java @@ -30,7 +30,7 @@ * * @author Chris Warth * @see java.util.Observable - * @since JDK1.0 + * @since 1.0 */ public interface Observer { /** diff --git a/src/share/classes/java/util/Properties.java b/src/share/classes/java/util/Properties.java --- a/src/share/classes/java/util/Properties.java +++ b/src/share/classes/java/util/Properties.java @@ -116,7 +116,7 @@ * @author Arthur van Hoff * @author Michael McCloskey * @author Xueming Shen - * @since JDK1.0 + * @since 1.0 */ public class Properties extends Hashtable { @@ -1065,7 +1065,7 @@ * @param out an output stream. * @throws ClassCastException if any key in this property list * is not a string. - * @since JDK1.1 + * @since 1.1 */ /* * Rather than use an anonymous inner class to share common code, this diff --git a/src/share/classes/java/util/PropertyResourceBundle.java b/src/share/classes/java/util/PropertyResourceBundle.java --- a/src/share/classes/java/util/PropertyResourceBundle.java +++ b/src/share/classes/java/util/PropertyResourceBundle.java @@ -117,7 +117,7 @@ * @see ResourceBundle * @see ListResourceBundle * @see Properties - * @since JDK1.1 + * @since 1.1 */ public class PropertyResourceBundle extends ResourceBundle { /** diff --git a/src/share/classes/java/util/ResourceBundle.java b/src/share/classes/java/util/ResourceBundle.java --- a/src/share/classes/java/util/ResourceBundle.java +++ b/src/share/classes/java/util/ResourceBundle.java @@ -282,7 +282,7 @@ * @see ListResourceBundle * @see PropertyResourceBundle * @see MissingResourceException - * @since JDK1.1 + * @since 1.1 */ public abstract class ResourceBundle { diff --git a/src/share/classes/java/util/Stack.java b/src/share/classes/java/util/Stack.java --- a/src/share/classes/java/util/Stack.java +++ b/src/share/classes/java/util/Stack.java @@ -43,7 +43,7 @@ * Deque stack = new ArrayDeque();} * * @author Jonathan Payne - * @since JDK1.0 + * @since 1.0 */ public class Stack extends Vector { diff --git a/src/share/classes/java/util/StringTokenizer.java b/src/share/classes/java/util/StringTokenizer.java --- a/src/share/classes/java/util/StringTokenizer.java +++ b/src/share/classes/java/util/StringTokenizer.java @@ -97,7 +97,7 @@ * * @author unascribed * @see java.io.StreamTokenizer - * @since JDK1.0 + * @since 1.0 */ public class StringTokenizer implements Enumeration { diff --git a/src/share/classes/java/util/TimeZone.java b/src/share/classes/java/util/TimeZone.java --- a/src/share/classes/java/util/TimeZone.java +++ b/src/share/classes/java/util/TimeZone.java @@ -128,7 +128,7 @@ * @see GregorianCalendar * @see SimpleTimeZone * @author Mark Davis, David Goldsmith, Chen-Lieh Huang, Alan Liu - * @since JDK1.1 + * @since 1.1 */ abstract public class TimeZone implements Serializable, Cloneable { /** diff --git a/src/share/classes/java/util/TooManyListenersException.java b/src/share/classes/java/util/TooManyListenersException.java --- a/src/share/classes/java/util/TooManyListenersException.java +++ b/src/share/classes/java/util/TooManyListenersException.java @@ -44,7 +44,7 @@ * @see java.util.EventListener * * @author Laurence P. G. Cable - * @since JDK1.1 + * @since 1.1 */ public class TooManyListenersException extends Exception { diff --git a/src/share/classes/java/util/Vector.java b/src/share/classes/java/util/Vector.java --- a/src/share/classes/java/util/Vector.java +++ b/src/share/classes/java/util/Vector.java @@ -82,7 +82,7 @@ * @author Jonathan Payne * @see Collection * @see LinkedList - * @since JDK1.0 + * @since 1.0 */ public class Vector extends AbstractList diff --git a/src/share/classes/java/util/package.html b/src/share/classes/java/util/package.html --- a/src/share/classes/java/util/package.html +++ b/src/share/classes/java/util/package.html @@ -50,6 +50,6 @@ Framework Design FAQ -@since JDK1.0 +@since 1.0 diff --git a/src/share/classes/java/util/prefs/package.html b/src/share/classes/java/util/prefs/package.html --- a/src/share/classes/java/util/prefs/package.html +++ b/src/share/classes/java/util/prefs/package.html @@ -39,6 +39,6 @@

    Related Documentation

    --> -@since JDK1.4 +@since 1.4 diff --git a/src/share/classes/java/util/zip/ZipException.java b/src/share/classes/java/util/zip/ZipException.java --- a/src/share/classes/java/util/zip/ZipException.java +++ b/src/share/classes/java/util/zip/ZipException.java @@ -32,7 +32,7 @@ * * @author unascribed * @see java.io.IOException - * @since JDK1.0 + * @since 1.0 */ public diff --git a/src/share/classes/java/util/zip/package.html b/src/share/classes/java/util/zip/package.html --- a/src/share/classes/java/util/zip/package.html +++ b/src/share/classes/java/util/zip/package.html @@ -81,7 +81,7 @@ --> -@since JDK1.1 +@since 1.1 diff --git a/src/share/classes/javax/security/auth/callback/package-info.java b/src/share/classes/javax/security/auth/callback/package-info.java --- a/src/share/classes/javax/security/auth/callback/package-info.java +++ b/src/share/classes/javax/security/auth/callback/package-info.java @@ -30,6 +30,6 @@ * or passwords, for example) or to display information * (error and warning messages, for example). * - * @since JDK1.4 + * @since 1.4 */ package javax.security.auth.callback; diff --git a/src/share/classes/javax/security/auth/kerberos/package-info.java b/src/share/classes/javax/security/auth/kerberos/package-info.java --- a/src/share/classes/javax/security/auth/kerberos/package-info.java +++ b/src/share/classes/javax/security/auth/kerberos/package-info.java @@ -54,6 +54,6 @@ * string or a boolean value. A boolean value can be one of "true", "false", * "yes", or "no", case-insensitive.

    * - * @since JDK1.4 + * @since 1.4 */ package javax.security.auth.kerberos; diff --git a/src/share/classes/javax/security/auth/package-info.java b/src/share/classes/javax/security/auth/package-info.java --- a/src/share/classes/javax/security/auth/package-info.java +++ b/src/share/classes/javax/security/auth/package-info.java @@ -33,6 +33,6 @@ * based on code location, code signers and code executors * (Subjects). * - * @since JDK1.4 + * @since 1.4 */ package javax.security.auth; diff --git a/src/share/classes/javax/security/auth/spi/package-info.java b/src/share/classes/javax/security/auth/spi/package-info.java --- a/src/share/classes/javax/security/auth/spi/package-info.java +++ b/src/share/classes/javax/security/auth/spi/package-info.java @@ -27,6 +27,6 @@ * This package provides the interface to be used for * implementing pluggable authentication modules. * - * @since JDK1.4 + * @since 1.4 */ package javax.security.auth.spi; diff --git a/src/share/classes/javax/security/auth/x500/package-info.java b/src/share/classes/javax/security/auth/x500/package-info.java --- a/src/share/classes/javax/security/auth/x500/package-info.java +++ b/src/share/classes/javax/security/auth/x500/package-info.java @@ -44,6 +44,6 @@ * Directory Information Models * * - * @since JDK1.4 + * @since 1.4 */ package javax.security.auth.x500; diff --git a/src/share/classes/javax/swing/plaf/nimbus/DerivedColor.java b/src/share/classes/javax/swing/plaf/nimbus/DerivedColor.java --- a/src/share/classes/javax/swing/plaf/nimbus/DerivedColor.java +++ b/src/share/classes/javax/swing/plaf/nimbus/DerivedColor.java @@ -106,7 +106,7 @@ * @see #getRed * @see #getGreen * @see #getBlue - * @since JDK1.0 + * @since 1.0 */ @Override public int getRGB() { return argbValue; diff --git a/src/share/classes/javax/swing/text/ComponentView.java b/src/share/classes/javax/swing/text/ComponentView.java --- a/src/share/classes/javax/swing/text/ComponentView.java +++ b/src/share/classes/javax/swing/text/ComponentView.java @@ -439,7 +439,7 @@ * @param b If true, shows this component; * otherwise, hides this component. * @see #isVisible - * @since JDK1.1 + * @since 1.1 */ public void setVisible(boolean b) { super.setVisible(b); diff --git a/src/share/classes/javax/swing/text/StyleContext.java b/src/share/classes/javax/swing/text/StyleContext.java --- a/src/share/classes/javax/swing/text/StyleContext.java +++ b/src/share/classes/javax/swing/text/StyleContext.java @@ -1013,7 +1013,7 @@ * * @return true if this enumeration contains more elements; * false otherwise. - * @since JDK1.0 + * @since 1.0 */ public boolean hasMoreElements() { return i < attr.length; @@ -1024,7 +1024,7 @@ * * @return the next element of this enumeration. * @exception NoSuchElementException if no more elements exist. - * @since JDK1.0 + * @since 1.0 */ public Object nextElement() { if (i < attr.length) { diff --git a/src/share/classes/jdk/internal/util/xml/PropertiesDefaultHandler.java b/src/share/classes/jdk/internal/util/xml/PropertiesDefaultHandler.java --- a/src/share/classes/jdk/internal/util/xml/PropertiesDefaultHandler.java +++ b/src/share/classes/jdk/internal/util/xml/PropertiesDefaultHandler.java @@ -42,7 +42,7 @@ * re-implemented using a subset of SAX * * @author Joe Wang - * @since 8 + * @since 1.8 */ public class PropertiesDefaultHandler extends DefaultHandler { diff --git a/src/share/classes/sun/applet/AppletClassLoader.java b/src/share/classes/sun/applet/AppletClassLoader.java --- a/src/share/classes/sun/applet/AppletClassLoader.java +++ b/src/share/classes/sun/applet/AppletClassLoader.java @@ -357,7 +357,7 @@ * @param name the resource name * @return an input stream for reading the resource, or null * if the resource could not be found - * @since JDK1.1 + * @since 1.1 */ public InputStream getResourceAsStream(String name) { @@ -417,7 +417,7 @@ * @param name the resource name * @return an input stream for reading the resource, or null * if the resource could not be found - * @since JDK1.1 + * @since 1.1 */ public InputStream getResourceAsStreamFromJar(String name) { diff --git a/src/share/classes/sun/applet/AppletSecurity.java b/src/share/classes/sun/applet/AppletSecurity.java --- a/src/share/classes/sun/applet/AppletSecurity.java +++ b/src/share/classes/sun/applet/AppletSecurity.java @@ -303,7 +303,7 @@ * This method calls checkPermission with the * AWTPermission("accessEventQueue") permission. * - * @since JDK1.1 + * @since 1.1 * @exception SecurityException if the caller does not have * permission to access the AWT event queue. */ @@ -347,7 +347,7 @@ * @return the AppContext corresponding to the current context. * @see sun.awt.AppContext * @see java.lang.SecurityManager - * @since JDK1.2.1 + * @since 1.2.1 */ public AppContext getAppContext() { AppletClassLoader appletLoader = currentAppletClassLoader(); diff --git a/src/share/classes/sun/applet/AppletThreadGroup.java b/src/share/classes/sun/applet/AppletThreadGroup.java --- a/src/share/classes/sun/applet/AppletThreadGroup.java +++ b/src/share/classes/sun/applet/AppletThreadGroup.java @@ -55,7 +55,7 @@ * @exception SecurityException if the current thread cannot create a * thread in the specified thread group. * @see java.lang.SecurityException - * @since JDK1.1.1 + * @since 1.1.1 */ public AppletThreadGroup(ThreadGroup parent, String name) { super(parent, name); diff --git a/src/share/classes/sun/awt/AWTSecurityManager.java b/src/share/classes/sun/awt/AWTSecurityManager.java --- a/src/share/classes/sun/awt/AWTSecurityManager.java +++ b/src/share/classes/sun/awt/AWTSecurityManager.java @@ -56,7 +56,7 @@ * @return the AppContext corresponding to the current context. * @see sun.awt.AppContext * @see java.lang.SecurityManager - * @since JDK1.2.1 + * @since 1.2.1 */ public AppContext getAppContext() { return null; // Default implementation returns null diff --git a/src/share/classes/sun/awt/dnd/SunDragSourceContextPeer.java b/src/share/classes/sun/awt/dnd/SunDragSourceContextPeer.java --- a/src/share/classes/sun/awt/dnd/SunDragSourceContextPeer.java +++ b/src/share/classes/sun/awt/dnd/SunDragSourceContextPeer.java @@ -60,7 +60,7 @@ * TBC *

    * - * @since JDK1.3.1 + * @since 1.3.1 * */ public abstract class SunDragSourceContextPeer implements DragSourceContextPeer { diff --git a/src/share/classes/sun/awt/dnd/SunDropTargetContextPeer.java b/src/share/classes/sun/awt/dnd/SunDropTargetContextPeer.java --- a/src/share/classes/sun/awt/dnd/SunDropTargetContextPeer.java +++ b/src/share/classes/sun/awt/dnd/SunDropTargetContextPeer.java @@ -65,7 +65,7 @@ * the interaction between a windowing systems DnD system and Java. *

    * - * @since JDK1.3.1 + * @since 1.3.1 * */ diff --git a/src/share/classes/sun/awt/image/MultiResolutionImage.java b/src/share/classes/sun/awt/image/MultiResolutionImage.java --- a/src/share/classes/sun/awt/image/MultiResolutionImage.java +++ b/src/share/classes/sun/awt/image/MultiResolutionImage.java @@ -69,7 +69,7 @@ * @param height the desired image resolution height. * @return image resolution variant. * - * @since JDK1.8 + * @since 1.8 */ public Image getResolutionVariant(int width, int height); @@ -77,7 +77,7 @@ * Gets list of all resolution variants including the base image * * @return list of resolution variants. - * @since JDK1.8 + * @since 1.8 */ public List getResolutionVariants(); } diff --git a/src/share/classes/sun/management/DiagnosticCommandArgumentInfo.java b/src/share/classes/sun/management/DiagnosticCommandArgumentInfo.java --- a/src/share/classes/sun/management/DiagnosticCommandArgumentInfo.java +++ b/src/share/classes/sun/management/DiagnosticCommandArgumentInfo.java @@ -43,7 +43,7 @@ * argumentA's position is 0, argumentB's position is 1 and argumentC's * position is 2. * - * @since 8 + * @since 1.8 */ class DiagnosticCommandArgumentInfo { diff --git a/src/share/classes/sun/management/DiagnosticCommandImpl.java b/src/share/classes/sun/management/DiagnosticCommandImpl.java --- a/src/share/classes/sun/management/DiagnosticCommandImpl.java +++ b/src/share/classes/sun/management/DiagnosticCommandImpl.java @@ -35,7 +35,7 @@ /** * Implementation class for the diagnostic commands subsystem. * - * @since 8 + * @since 1.8 */ class DiagnosticCommandImpl extends NotificationEmitterSupport implements DiagnosticCommandMBean { diff --git a/src/share/classes/sun/management/DiagnosticCommandInfo.java b/src/share/classes/sun/management/DiagnosticCommandInfo.java --- a/src/share/classes/sun/management/DiagnosticCommandInfo.java +++ b/src/share/classes/sun/management/DiagnosticCommandInfo.java @@ -31,7 +31,7 @@ * Diagnostic command information. It contains the description of a * diagnostic command. * - * @since 8 + * @since 1.8 */ class DiagnosticCommandInfo { diff --git a/src/share/classes/sun/print/PSPathGraphics.java b/src/share/classes/sun/print/PSPathGraphics.java --- a/src/share/classes/sun/print/PSPathGraphics.java +++ b/src/share/classes/sun/print/PSPathGraphics.java @@ -76,7 +76,7 @@ * a copy of this Graphics object. * @return a new graphics context that is a copy of * this graphics context. - * @since JDK1.0 + * @since 1.0 */ public Graphics create() { @@ -108,7 +108,7 @@ * @param y the y coordinate. * @see java.awt.Graphics#drawBytes * @see java.awt.Graphics#drawChars - * @since JDK1.0 + * @since 1.0 */ public void drawString(String str, int x, int y) { drawString(str, (float) x, (float) y); diff --git a/src/share/classes/sun/print/PathGraphics.java b/src/share/classes/sun/print/PathGraphics.java --- a/src/share/classes/sun/print/PathGraphics.java +++ b/src/share/classes/sun/print/PathGraphics.java @@ -332,7 +332,7 @@ * @param width the width of the oval to be drawn. * @param height the height of the oval to be drawn. * @see java.awt.Graphics#fillOval - * @since JDK1.0 + * @since 1.0 */ public void drawOval(int x, int y, int width, int height) { draw(new Ellipse2D.Float(x, y, width, height)); @@ -453,7 +453,7 @@ * @param yPoints an array of y points * @param nPoints the total number of points * @see java.awt.Graphics#drawPolygon(int[], int[], int) - * @since JDK1.1 + * @since 1.1 */ public void drawPolyline(int xPoints[], int yPoints[], int nPoints) { @@ -564,7 +564,7 @@ * @param y the y coordinate. * @see java.awt.Graphics#drawBytes * @see java.awt.Graphics#drawChars - * @since JDK1.0 + * @since 1.0 */ public void drawString(String str, int x, int y) { drawString(str, (float) x, (float) y); @@ -1388,7 +1388,7 @@ * @see java.awt.Image * @see java.awt.image.ImageObserver * @see java.awt.image.ImageObserver#imageUpdate(java.awt.Image, int, int, int, int, int) - * @since JDK1.0 + * @since 1.0 */ public boolean drawImage(Image img, int x, int y, ImageObserver observer) { @@ -1428,7 +1428,7 @@ * @see java.awt.Image * @see java.awt.image.ImageObserver * @see java.awt.image.ImageObserver#imageUpdate(java.awt.Image, int, int, int, int, int) - * @since JDK1.0 + * @since 1.0 */ public boolean drawImage(Image img, int x, int y, int width, int height, @@ -1472,7 +1472,7 @@ * @see java.awt.Image * @see java.awt.image.ImageObserver * @see java.awt.image.ImageObserver#imageUpdate(java.awt.Image, int, int, int, int, int) - * @since JDK1.0 + * @since 1.0 */ public boolean drawImage(Image img, int x, int y, Color bgcolor, @@ -1533,7 +1533,7 @@ * @see java.awt.Image * @see java.awt.image.ImageObserver * @see java.awt.image.ImageObserver#imageUpdate(java.awt.Image, int, int, int, int, int) - * @since JDK1.0 + * @since 1.0 */ public boolean drawImage(Image img, int x, int y, int width, int height, @@ -1605,7 +1605,7 @@ * @see java.awt.Image * @see java.awt.image.ImageObserver * @see java.awt.image.ImageObserver#imageUpdate(java.awt.Image, int, int, int, int, int) - * @since JDK1.1 + * @since 1.1 */ public boolean drawImage(Image img, int dx1, int dy1, int dx2, int dy2, @@ -1670,7 +1670,7 @@ * @see java.awt.Image * @see java.awt.image.ImageObserver * @see java.awt.image.ImageObserver#imageUpdate(java.awt.Image, int, int, int, int, int) - * @since JDK1.1 + * @since 1.1 */ public boolean drawImage(Image img, int dx1, int dy1, int dx2, int dy2, diff --git a/src/share/classes/sun/print/PeekGraphics.java b/src/share/classes/sun/print/PeekGraphics.java --- a/src/share/classes/sun/print/PeekGraphics.java +++ b/src/share/classes/sun/print/PeekGraphics.java @@ -166,7 +166,7 @@ * a copy of this Graphics object. * @return a new graphics context that is a copy of * this graphics context. - * @since JDK1.0 + * @since 1.0 */ public Graphics create() { PeekGraphics newGraphics = null; @@ -196,7 +196,7 @@ * to this new origin. * @param x the x coordinate. * @param y the y coordinate. - * @since JDK1.0 + * @since 1.0 */ public void translate(int x, int y) { mGraphics.translate(x, y); @@ -293,7 +293,7 @@ * @return this graphics context's current color. * @see java.awt.Color * @see java.awt.Graphics#setColor - * @since JDK1.0 + * @since 1.0 */ public Color getColor() { return mGraphics.getColor(); @@ -306,7 +306,7 @@ * @param c the new rendering color. * @see java.awt.Color * @see java.awt.Graphics#getColor - * @since JDK1.0 + * @since 1.0 */ public void setColor(Color c) { mGraphics.setColor(c); @@ -318,7 +318,7 @@ * This sets the logical pixel operation function to the paint or * overwrite mode. All subsequent rendering operations will * overwrite the destination with the current color. - * @since JDK1.0 + * @since 1.0 */ public void setPaintMode() { mGraphics.setPaintMode(); @@ -338,7 +338,7 @@ * in an unpredictable but reversible manner; if the same figure is * drawn twice, then all pixels are restored to their original values. * @param c1 the XOR alternation color - * @since JDK1.0 + * @since 1.0 */ public void setXORMode(Color c1) { mGraphics.setXORMode(c1); @@ -349,7 +349,7 @@ * @return this graphics context's current font. * @see java.awt.Font * @see java.awt.Graphics#setFont - * @since JDK1.0 + * @since 1.0 */ public Font getFont() { return mGraphics.getFont(); @@ -364,7 +364,7 @@ * @see java.awt.Graphics#drawChars(java.lang.String, int, int) * @see java.awt.Graphics#drawString(byte[], int, int, int, int) * @see java.awt.Graphics#drawBytes(char[], int, int, int, int) - * @since JDK1.0 + * @since 1.0 */ public void setFont(Font font) { mGraphics.setFont(font); @@ -377,7 +377,7 @@ * @see java.awt.Graphics#getFont * @see java.awt.FontMetrics * @see java.awt.Graphics#getFontMetrics() - * @since JDK1.0 + * @since 1.0 */ public FontMetrics getFontMetrics(Font f) { return mGraphics.getFontMetrics(f); @@ -400,7 +400,7 @@ * @see java.awt.Graphics#clipRect * @see java.awt.Graphics#setClip(int, int, int, int) * @see java.awt.Graphics#setClip(Shape) - * @since JDK1.1 + * @since 1.1 */ public Rectangle getClipBounds() { return mGraphics.getClipBounds(); @@ -436,7 +436,7 @@ * @param height the height of the new clip rectangle. * @see java.awt.Graphics#clipRect * @see java.awt.Graphics#setClip(Shape) - * @since JDK1.1 + * @since 1.1 */ public void setClip(int x, int y, int width, int height) { mGraphics.setClip(x, y, width, height); @@ -450,7 +450,7 @@ * @see java.awt.Graphics#clipRect * @see java.awt.Graphics#setClip(int, int, int, int) * @see java.awt.Graphics#setClip(Shape) - * @since JDK1.1 + * @since 1.1 */ public Shape getClip() { return mGraphics.getClip(); @@ -468,7 +468,7 @@ * @see java.awt.Graphics#getClip() * @see java.awt.Graphics#clipRect * @see java.awt.Graphics#setClip(int, int, int, int) - * @since JDK1.1 + * @since 1.1 */ public void setClip(Shape clip) { mGraphics.setClip(clip); @@ -493,7 +493,7 @@ * @param height the height of the source rectangle. * @param dx the horizontal distance to copy the pixels. * @param dy the vertical distance to copy the pixels. - * @since JDK1.0 + * @since 1.0 */ public void copyArea(int x, int y, int width, int height, int dx, int dy) { @@ -508,7 +508,7 @@ * @param y1 the first point's y coordinate. * @param x2 the second point's x coordinate. * @param y2 the second point's y coordinate. - * @since JDK1.0 + * @since 1.0 */ public void drawLine(int x1, int y1, int x2, int y2) { addStrokeShape(new Line2D.Float(x1, y1, x2, y2)); @@ -535,7 +535,7 @@ * @param height the height of the rectangle to be filled. * @see java.awt.Graphics#fillRect * @see java.awt.Graphics#clearRect - * @since JDK1.0 + * @since 1.0 */ public void fillRect(int x, int y, int width, int height) { @@ -562,7 +562,7 @@ * @see java.awt.Graphics#setColor(java.awt.Color) * @see java.awt.Graphics#setPaintMode * @see java.awt.Graphics#setXORMode(java.awt.Color) - * @since JDK1.0 + * @since 1.0 */ public void clearRect(int x, int y, int width, int height) { Rectangle2D.Float rect = new Rectangle2D.Float(x, y, width, height); @@ -585,7 +585,7 @@ * @param arcHeight the vertical diameter of the arc * at the four corners. * @see java.awt.Graphics#fillRoundRect - * @since JDK1.0 + * @since 1.0 */ public void drawRoundRect(int x, int y, int width, int height, int arcWidth, int arcHeight) { @@ -609,7 +609,7 @@ * @param arcHeight the vertical diameter * of the arc at the four corners. * @see java.awt.Graphics#drawRoundRect - * @since JDK1.0 + * @since 1.0 */ public void fillRoundRect(int x, int y, int width, int height, int arcWidth, int arcHeight) { @@ -634,7 +634,7 @@ * @param width the width of the oval to be drawn. * @param height the height of the oval to be drawn. * @see java.awt.Graphics#fillOval - * @since JDK1.0 + * @since 1.0 */ public void drawOval(int x, int y, int width, int height) { addStrokeShape(new Rectangle2D.Float(x, y, width, height)); @@ -651,7 +651,7 @@ * @param width the width of the oval to be filled. * @param height the height of the oval to be filled. * @see java.awt.Graphics#drawOval - * @since JDK1.0 + * @since 1.0 */ public void fillOval(int x, int y, int width, int height) { Rectangle2D.Float rect = new Rectangle2D.Float(x, y, width, height); @@ -689,7 +689,7 @@ * @param arcAngle the angular extent of the arc, * relative to the start angle. * @see java.awt.Graphics#fillArc - * @since JDK1.0 + * @since 1.0 */ public void drawArc(int x, int y, int width, int height, int startAngle, int arcAngle) { @@ -725,7 +725,7 @@ * @param arcAngle the angular extent of the arc, * relative to the start angle. * @see java.awt.Graphics#drawArc - * @since JDK1.0 + * @since 1.0 */ public void fillArc(int x, int y, int width, int height, int startAngle, int arcAngle) { @@ -745,7 +745,7 @@ * @param yPoints an array of y points * @param nPoints the total number of points * @see java.awt.Graphics#drawPolygon(int[], int[], int) - * @since JDK1.1 + * @since 1.1 */ public void drawPolyline(int xPoints[], int yPoints[], int nPoints) { @@ -780,7 +780,7 @@ * @param nPoints a the total number of points. * @see java.awt.Graphics#fillPolygon * @see java.awt.Graphics#drawPolyline - * @since JDK1.0 + * @since 1.0 */ public void drawPolygon(int xPoints[], int yPoints[], int nPoints) { @@ -811,7 +811,7 @@ * @param yPoints a an array of y coordinates. * @param nPoints a the total number of points. * @see java.awt.Graphics#drawPolygon(int[], int[], int) - * @since JDK1.0 + * @since 1.0 */ public void fillPolygon(int xPoints[], int yPoints[], int nPoints) { @@ -854,7 +854,7 @@ * @param y the y coordinate. * @see java.awt.Graphics#drawBytes * @see java.awt.Graphics#drawChars - * @since JDK1.0 + * @since 1.0 */ public void drawString(String str, int x, int y) { @@ -942,7 +942,7 @@ * @see java.awt.Image * @see java.awt.image.ImageObserver * @see java.awt.image.ImageObserver#imageUpdate(java.awt.Image, int, int, int, int, int) - * @since JDK1.0 + * @since 1.0 */ public boolean drawImage(Image img, int x, int y, ImageObserver observer) { @@ -995,7 +995,7 @@ * @see java.awt.Image * @see java.awt.image.ImageObserver * @see java.awt.image.ImageObserver#imageUpdate(java.awt.Image, int, int, int, int, int) - * @since JDK1.0 + * @since 1.0 */ public boolean drawImage(Image img, int x, int y, int width, int height, @@ -1040,7 +1040,7 @@ * @see java.awt.Image * @see java.awt.image.ImageObserver * @see java.awt.image.ImageObserver#imageUpdate(java.awt.Image, int, int, int, int, int) - * @since JDK1.0 + * @since 1.0 */ public boolean drawImage(Image img, int x, int y, Color bgcolor, @@ -1099,7 +1099,7 @@ * @see java.awt.Image * @see java.awt.image.ImageObserver * @see java.awt.image.ImageObserver#imageUpdate(java.awt.Image, int, int, int, int, int) - * @since JDK1.0 + * @since 1.0 */ public boolean drawImage(Image img, int x, int y, int width, int height, @@ -1162,7 +1162,7 @@ * @see java.awt.Image * @see java.awt.image.ImageObserver * @see java.awt.image.ImageObserver#imageUpdate(java.awt.Image, int, int, int, int, int) - * @since JDK1.1 + * @since 1.1 */ public boolean drawImage(Image img, int dx1, int dy1, int dx2, int dy2, @@ -1236,7 +1236,7 @@ * @see java.awt.Image * @see java.awt.image.ImageObserver * @see java.awt.image.ImageObserver#imageUpdate(java.awt.Image, int, int, int, int, int) - * @since JDK1.1 + * @since 1.1 */ public boolean drawImage(Image img, int dx1, int dy1, int dx2, int dy2, @@ -1327,7 +1327,7 @@ * @see java.awt.Component#update * @see java.awt.Component#getGraphics * @see java.awt.Graphics#create - * @since JDK1.0 + * @since 1.0 */ public void dispose() { mGraphics.dispose(); diff --git a/src/share/classes/sun/print/ProxyGraphics.java b/src/share/classes/sun/print/ProxyGraphics.java --- a/src/share/classes/sun/print/ProxyGraphics.java +++ b/src/share/classes/sun/print/ProxyGraphics.java @@ -241,7 +241,7 @@ * @see java.awt.Graphics#clipRect * @see java.awt.Graphics#setClip(int, int, int, int) * @see java.awt.Graphics#setClip(Shape) - * @since JDK1.1 + * @since 1.1 */ public Rectangle getClipBounds() { return g.getClipBounds(); @@ -282,7 +282,7 @@ * @param height the height of the new clip rectangle. * @see java.awt.Graphics#clipRect * @see java.awt.Graphics#setClip(Shape) - * @since JDK1.1 + * @since 1.1 */ public void setClip(int x, int y, int width, int height) { g.setClip(x, y, width, height); @@ -302,7 +302,7 @@ * @see java.awt.Graphics#clipRect * @see java.awt.Graphics#setClip(int, int, int, int) * @see java.awt.Graphics#setClip(Shape) - * @since JDK1.1 + * @since 1.1 */ public Shape getClip() { return g.getClip(); @@ -322,7 +322,7 @@ * @see java.awt.Graphics#getClip() * @see java.awt.Graphics#clipRect * @see java.awt.Graphics#setClip(int, int, int, int) - * @since JDK1.1 + * @since 1.1 */ public void setClip(Shape clip) { g.setClip(clip); @@ -647,7 +647,7 @@ * @param yPoints an array of y points * @param nPoints the total number of points * @see java.awt.Graphics#drawPolygon(int[], int[], int) - * @since JDK1.1 + * @since 1.1 */ public void drawPolyline(int xPoints[], int yPoints[], int nPoints) { @@ -988,7 +988,7 @@ * @see java.awt.Image * @see java.awt.image.ImageObserver * @see java.awt.image.ImageObserver#imageUpdate(java.awt.Image, int, int, int, int, int) - * @since JDK1.1 + * @since 1.1 */ public boolean drawImage(Image img, int dx1, int dy1, int dx2, int dy2, @@ -1051,7 +1051,7 @@ * @see java.awt.Image * @see java.awt.image.ImageObserver * @see java.awt.image.ImageObserver#imageUpdate(java.awt.Image, int, int, int, int, int) - * @since JDK1.1 + * @since 1.1 */ public boolean drawImage(Image img, int dx1, int dy1, int dx2, int dy2, diff --git a/src/share/classes/sun/print/ProxyGraphics2D.java b/src/share/classes/sun/print/ProxyGraphics2D.java --- a/src/share/classes/sun/print/ProxyGraphics2D.java +++ b/src/share/classes/sun/print/ProxyGraphics2D.java @@ -115,7 +115,7 @@ * a copy of this Graphics object. * @return a new graphics context that is a copy of * this graphics context. - * @since JDK1.0 + * @since 1.0 */ public Graphics create() { return new ProxyGraphics2D((Graphics2D) mGraphics.create(), @@ -132,7 +132,7 @@ * to this new origin. * @param x the x coordinate. * @param y the y coordinate. - * @since JDK1.0 + * @since 1.0 */ public void translate(int x, int y) { mGraphics.translate(x, y); @@ -229,7 +229,7 @@ * @return this graphics context's current color. * @see java.awt.Color * @see java.awt.Graphics#setColor - * @since JDK1.0 + * @since 1.0 */ public Color getColor() { return mGraphics.getColor(); @@ -242,7 +242,7 @@ * @param c the new rendering color. * @see java.awt.Color * @see java.awt.Graphics#getColor - * @since JDK1.0 + * @since 1.0 */ public void setColor(Color c) { mGraphics.setColor(c); @@ -254,7 +254,7 @@ * This sets the logical pixel operation function to the paint or * overwrite mode. All subsequent rendering operations will * overwrite the destination with the current color. - * @since JDK1.0 + * @since 1.0 */ public void setPaintMode() { mGraphics.setPaintMode(); @@ -274,7 +274,7 @@ * in an unpredictable but reversible manner; if the same figure is * drawn twice, then all pixels are restored to their original values. * @param c1 the XOR alternation color - * @since JDK1.0 + * @since 1.0 */ public void setXORMode(Color c1) { mGraphics.setXORMode(c1); @@ -285,7 +285,7 @@ * @return this graphics context's current font. * @see java.awt.Font * @see java.awt.Graphics#setFont - * @since JDK1.0 + * @since 1.0 */ public Font getFont() { return mGraphics.getFont(); @@ -300,7 +300,7 @@ * @see java.awt.Graphics#drawChars(java.lang.String, int, int) * @see java.awt.Graphics#drawString(byte[], int, int, int, int) * @see java.awt.Graphics#drawBytes(char[], int, int, int, int) - * @since JDK1.0 + * @since 1.0 */ public void setFont(Font font) { mGraphics.setFont(font); @@ -313,7 +313,7 @@ * @see java.awt.Graphics#getFont * @see java.awt.FontMetrics * @see java.awt.Graphics#getFontMetrics() - * @since JDK1.0 + * @since 1.0 */ public FontMetrics getFontMetrics(Font f) { return mGraphics.getFontMetrics(f); @@ -336,7 +336,7 @@ * @see java.awt.Graphics#clipRect * @see java.awt.Graphics#setClip(int, int, int, int) * @see java.awt.Graphics#setClip(Shape) - * @since JDK1.1 + * @since 1.1 */ public Rectangle getClipBounds() { return mGraphics.getClipBounds(); @@ -372,7 +372,7 @@ * @param height the height of the new clip rectangle. * @see java.awt.Graphics#clipRect * @see java.awt.Graphics#setClip(Shape) - * @since JDK1.1 + * @since 1.1 */ public void setClip(int x, int y, int width, int height) { mGraphics.setClip(x, y, width, height); @@ -386,7 +386,7 @@ * @see java.awt.Graphics#clipRect * @see java.awt.Graphics#setClip(int, int, int, int) * @see java.awt.Graphics#setClip(Shape) - * @since JDK1.1 + * @since 1.1 */ public Shape getClip() { return mGraphics.getClip(); @@ -404,7 +404,7 @@ * @see java.awt.Graphics#getClip() * @see java.awt.Graphics#clipRect * @see java.awt.Graphics#setClip(int, int, int, int) - * @since JDK1.1 + * @since 1.1 */ public void setClip(Shape clip) { mGraphics.setClip(clip); @@ -429,7 +429,7 @@ * @param height the height of the source rectangle. * @param dx the horizontal distance to copy the pixels. * @param dy the vertical distance to copy the pixels. - * @since JDK1.0 + * @since 1.0 */ public void copyArea(int x, int y, int width, int height, int dx, int dy) { @@ -444,7 +444,7 @@ * @param y1 the first point's y coordinate. * @param x2 the second point's x coordinate. * @param y2 the second point's y coordinate. - * @since JDK1.0 + * @since 1.0 */ public void drawLine(int x1, int y1, int x2, int y2) { mGraphics.drawLine(x1, y1, x2, y2); @@ -469,7 +469,7 @@ * @param height the height of the rectangle to be filled. * @see java.awt.Graphics#fillRect * @see java.awt.Graphics#clearRect - * @since JDK1.0 + * @since 1.0 */ public void fillRect(int x, int y, int width, int height) { mGraphics.fillRect(x, y, width, height); @@ -493,7 +493,7 @@ * @see java.awt.Graphics#setColor(java.awt.Color) * @see java.awt.Graphics#setPaintMode * @see java.awt.Graphics#setXORMode(java.awt.Color) - * @since JDK1.0 + * @since 1.0 */ public void clearRect(int x, int y, int width, int height) { mGraphics.clearRect(x, y, width, height); @@ -514,7 +514,7 @@ * @param arcHeight the vertical diameter of the arc * at the four corners. * @see java.awt.Graphics#fillRoundRect - * @since JDK1.0 + * @since 1.0 */ public void drawRoundRect(int x, int y, int width, int height, int arcWidth, int arcHeight) { @@ -536,7 +536,7 @@ * @param arcHeight the vertical diameter * of the arc at the four corners. * @see java.awt.Graphics#drawRoundRect - * @since JDK1.0 + * @since 1.0 */ public void fillRoundRect(int x, int y, int width, int height, int arcWidth, int arcHeight) { @@ -559,7 +559,7 @@ * @param width the width of the oval to be drawn. * @param height the height of the oval to be drawn. * @see java.awt.Graphics#fillOval - * @since JDK1.0 + * @since 1.0 */ public void drawOval(int x, int y, int width, int height) { mGraphics.drawOval(x, y, width, height); @@ -575,7 +575,7 @@ * @param width the width of the oval to be filled. * @param height the height of the oval to be filled. * @see java.awt.Graphics#drawOval - * @since JDK1.0 + * @since 1.0 */ public void fillOval(int x, int y, int width, int height) { mGraphics.fillOval(x, y, width, height); @@ -609,7 +609,7 @@ * @param arcAngle the angular extent of the arc, * relative to the start angle. * @see java.awt.Graphics#fillArc - * @since JDK1.0 + * @since 1.0 */ public void drawArc(int x, int y, int width, int height, int startAngle, int arcAngle) { @@ -643,7 +643,7 @@ * @param arcAngle the angular extent of the arc, * relative to the start angle. * @see java.awt.Graphics#drawArc - * @since JDK1.0 + * @since 1.0 */ public void fillArc(int x, int y, int width, int height, int startAngle, int arcAngle) { @@ -660,7 +660,7 @@ * @param yPoints an array of y points * @param nPoints the total number of points * @see java.awt.Graphics#drawPolygon(int[], int[], int) - * @since JDK1.1 + * @since 1.1 */ public void drawPolyline(int xPoints[], int yPoints[], int nPoints) { @@ -685,7 +685,7 @@ * @param nPoints a the total number of points. * @see java.awt.Graphics#fillPolygon * @see java.awt.Graphics#drawPolyline - * @since JDK1.0 + * @since 1.0 */ public void drawPolygon(int xPoints[], int yPoints[], int nPoints) { @@ -711,7 +711,7 @@ * @param yPoints a an array of y coordinates. * @param nPoints a the total number of points. * @see java.awt.Graphics#drawPolygon(int[], int[], int) - * @since JDK1.0 + * @since 1.0 */ public void fillPolygon(int xPoints[], int yPoints[], int nPoints) { @@ -728,7 +728,7 @@ * @param y the y coordinate. * @see java.awt.Graphics#drawBytes * @see java.awt.Graphics#drawChars - * @since JDK1.0 + * @since 1.0 */ public void drawString(String str, int x, int y) { mGraphics.drawString(str, x, y); @@ -807,7 +807,7 @@ * @see java.awt.Image * @see java.awt.image.ImageObserver * @see java.awt.image.ImageObserver#imageUpdate(java.awt.Image, int, int, int, int, int) - * @since JDK1.0 + * @since 1.0 */ public boolean drawImage(Image img, int x, int y, ImageObserver observer) { @@ -847,7 +847,7 @@ * @see java.awt.Image * @see java.awt.image.ImageObserver * @see java.awt.image.ImageObserver#imageUpdate(java.awt.Image, int, int, int, int, int) - * @since JDK1.0 + * @since 1.0 */ public boolean drawImage(Image img, int x, int y, int width, int height, @@ -885,7 +885,7 @@ * @see java.awt.Image * @see java.awt.image.ImageObserver * @see java.awt.image.ImageObserver#imageUpdate(java.awt.Image, int, int, int, int, int) - * @since JDK1.0 + * @since 1.0 */ public boolean drawImage(Image img, int x, int y, Color bgcolor, @@ -944,7 +944,7 @@ * @see java.awt.Image * @see java.awt.image.ImageObserver * @see java.awt.image.ImageObserver#imageUpdate(java.awt.Image, int, int, int, int, int) - * @since JDK1.0 + * @since 1.0 */ public boolean drawImage(Image img, int x, int y, int width, int height, @@ -1013,7 +1013,7 @@ * @see java.awt.Image * @see java.awt.image.ImageObserver * @see java.awt.image.ImageObserver#imageUpdate(java.awt.Image, int, int, int, int, int) - * @since JDK1.1 + * @since 1.1 */ public boolean drawImage(Image img, int dx1, int dy1, int dx2, int dy2, @@ -1075,7 +1075,7 @@ * @see java.awt.Image * @see java.awt.image.ImageObserver * @see java.awt.image.ImageObserver#imageUpdate(java.awt.Image, int, int, int, int, int) - * @since JDK1.1 + * @since 1.1 */ public boolean drawImage(Image img, int dx1, int dy1, int dx2, int dy2, @@ -1255,7 +1255,7 @@ * @see java.awt.Component#update * @see java.awt.Component#getGraphics * @see java.awt.Graphics#create - * @since JDK1.0 + * @since 1.0 */ public void dispose() { mGraphics.dispose(); diff --git a/src/share/classes/sun/security/provider/certpath/URICertStore.java b/src/share/classes/sun/security/provider/certpath/URICertStore.java --- a/src/share/classes/sun/security/provider/certpath/URICertStore.java +++ b/src/share/classes/sun/security/provider/certpath/URICertStore.java @@ -84,7 +84,7 @@ * * @author Andreas Sterbenz * @author Sean Mullan - * @since 7.0 + * @since 1.7 */ class URICertStore extends CertStoreSpi { diff --git a/src/share/classes/sun/security/ssl/BaseSSLSocketImpl.java b/src/share/classes/sun/security/ssl/BaseSSLSocketImpl.java --- a/src/share/classes/sun/security/ssl/BaseSSLSocketImpl.java +++ b/src/share/classes/sun/security/ssl/BaseSSLSocketImpl.java @@ -307,7 +307,7 @@ * Gets the local address to which the socket is bound. * * @return the local address to which the socket is bound. - * @since JDK1.1 + * @since 1.1 */ @Override public final InetAddress getLocalAddress() { diff --git a/src/solaris/classes/java/io/FileDescriptor.java b/src/solaris/classes/java/io/FileDescriptor.java --- a/src/solaris/classes/java/io/FileDescriptor.java +++ b/src/solaris/classes/java/io/FileDescriptor.java @@ -41,7 +41,7 @@ * @author Pavani Diwanji * @see java.io.FileInputStream * @see java.io.FileOutputStream - * @since JDK1.0 + * @since 1.0 */ public final class FileDescriptor { @@ -126,7 +126,7 @@ * Thrown when the buffers cannot be flushed, * or because the system cannot guarantee that all the * buffers have been synchronized with physical media. - * @since JDK1.1 + * @since 1.1 */ public native void sync() throws SyncFailedException; diff --git a/src/solaris/classes/sun/awt/X11/XAtom.java b/src/solaris/classes/sun/awt/X11/XAtom.java --- a/src/solaris/classes/sun/awt/X11/XAtom.java +++ b/src/solaris/classes/sun/awt/X11/XAtom.java @@ -52,7 +52,7 @@ * XAtom xa = new XAtom(display,XAtom.XA_CUT_BUFFER0);

    * String selection = xa.getProperty(root_window);

    * @author Bino George - * @since JDK1.5 + * @since 1.5 */ import sun.misc.Unsafe; diff --git a/src/solaris/classes/sun/awt/X11/XComponentPeer.java b/src/solaris/classes/sun/awt/X11/XComponentPeer.java --- a/src/solaris/classes/sun/awt/X11/XComponentPeer.java +++ b/src/solaris/classes/sun/awt/X11/XComponentPeer.java @@ -677,7 +677,7 @@ * @see #getPeer * @see java.awt.peer.ComponentPeer#getFontMetrics(Font) * @see Toolkit#getFontMetrics(Font) - * @since JDK1.0 + * @since 1.0 */ public FontMetrics getFontMetrics(Font font) { if (fontLog.isLoggable(PlatformLogger.Level.FINE)) { diff --git a/src/solaris/classes/sun/awt/X11InputMethodDescriptor.java b/src/solaris/classes/sun/awt/X11InputMethodDescriptor.java --- a/src/solaris/classes/sun/awt/X11InputMethodDescriptor.java +++ b/src/solaris/classes/sun/awt/X11InputMethodDescriptor.java @@ -40,7 +40,7 @@ * to enable selection and loading of that input method. * The input method itself is only loaded when it is actually used. * - * @since JDK1.3 + * @since 1.3 */ public abstract class X11InputMethodDescriptor implements InputMethodDescriptor { diff --git a/src/solaris/classes/sun/net/www/protocol/jar/JarFileFactory.java b/src/solaris/classes/sun/net/www/protocol/jar/JarFileFactory.java --- a/src/solaris/classes/sun/net/www/protocol/jar/JarFileFactory.java +++ b/src/solaris/classes/sun/net/www/protocol/jar/JarFileFactory.java @@ -38,7 +38,7 @@ * and cache Jar files. * * @author Benjamin Renaud - * @since JDK1.2 + * @since 1.2 */ class JarFileFactory implements URLJarFile.URLJarFileCloseController { diff --git a/src/solaris/demo/jni/Poller/Poller.java b/src/solaris/demo/jni/Poller/Poller.java --- a/src/solaris/demo/jni/Poller/Poller.java +++ b/src/solaris/demo/jni/Poller/Poller.java @@ -58,7 +58,7 @@ * @see java.io.FileDescriptor * @see java.net.Socket * @see attached README.txt - * @since JDK1.2 + * @since 1.2 */ public class Poller { diff --git a/src/windows/classes/java/io/FileDescriptor.java b/src/windows/classes/java/io/FileDescriptor.java --- a/src/windows/classes/java/io/FileDescriptor.java +++ b/src/windows/classes/java/io/FileDescriptor.java @@ -38,7 +38,7 @@ *

    Applications should not create their own file descriptors. * * @author Pavani Diwanji - * @since JDK1.0 + * @since 1.0 */ public final class FileDescriptor { @@ -149,7 +149,7 @@ * Thrown when the buffers cannot be flushed, * or because the system cannot guarantee that all the * buffers have been synchronized with physical media. - * @since JDK1.1 + * @since 1.1 */ public native void sync() throws SyncFailedException; diff --git a/src/windows/classes/sun/awt/windows/WClipboard.java b/src/windows/classes/sun/awt/windows/WClipboard.java --- a/src/windows/classes/sun/awt/windows/WClipboard.java +++ b/src/windows/classes/sun/awt/windows/WClipboard.java @@ -45,7 +45,7 @@ * @author Danila Sinopalnikov * @author Alexander Gerasimov * - * @since JDK1.1 + * @since 1.1 */ final class WClipboard extends SunClipboard { diff --git a/src/windows/classes/sun/awt/windows/WDragSourceContextPeer.java b/src/windows/classes/sun/awt/windows/WDragSourceContextPeer.java --- a/src/windows/classes/sun/awt/windows/WDragSourceContextPeer.java +++ b/src/windows/classes/sun/awt/windows/WDragSourceContextPeer.java @@ -48,7 +48,7 @@ * TBC *

    * - * @since JDK1.2 + * @since 1.2 * */ diff --git a/src/windows/classes/sun/awt/windows/WInputMethodDescriptor.java b/src/windows/classes/sun/awt/windows/WInputMethodDescriptor.java --- a/src/windows/classes/sun/awt/windows/WInputMethodDescriptor.java +++ b/src/windows/classes/sun/awt/windows/WInputMethodDescriptor.java @@ -37,7 +37,7 @@ * to enable selection and loading of that input method. * The input method itself is only loaded when it is actually used. * - * @since JDK1.3 + * @since 1.3 */ final class WInputMethodDescriptor implements InputMethodDescriptor { diff --git a/src/windows/classes/sun/awt/windows/WPathGraphics.java b/src/windows/classes/sun/awt/windows/WPathGraphics.java --- a/src/windows/classes/sun/awt/windows/WPathGraphics.java +++ b/src/windows/classes/sun/awt/windows/WPathGraphics.java @@ -120,7 +120,7 @@ * a copy of this Graphics object. * @return a new graphics context that is a copy of * this graphics context. - * @since JDK1.0 + * @since 1.0 */ @Override public Graphics create() { @@ -253,7 +253,7 @@ * @param y the y coordinate. * @see java.awt.Graphics#drawBytes * @see java.awt.Graphics#drawChars - * @since JDK1.0 + * @since 1.0 */ @Override public void drawString(String str, int x, int y) { diff --git a/src/windows/classes/sun/awt/windows/WPrinterJob.java b/src/windows/classes/sun/awt/windows/WPrinterJob.java --- a/src/windows/classes/sun/awt/windows/WPrinterJob.java +++ b/src/windows/classes/sun/awt/windows/WPrinterJob.java @@ -419,7 +419,7 @@ * @exception HeadlessException if GraphicsEnvironment.isHeadless() * returns true. * @see java.awt.GraphicsEnvironment#isHeadless - * @since JDK1.2 + * @since 1.2 */ @Override public PageFormat pageDialog(PageFormat page) throws HeadlessException { diff --git a/src/windows/classes/sun/net/www/protocol/jar/JarFileFactory.java b/src/windows/classes/sun/net/www/protocol/jar/JarFileFactory.java --- a/src/windows/classes/sun/net/www/protocol/jar/JarFileFactory.java +++ b/src/windows/classes/sun/net/www/protocol/jar/JarFileFactory.java @@ -38,7 +38,7 @@ * and cache Jar files. * * @author Benjamin Renaud - * @since JDK1.2 + * @since 1.2 */ class JarFileFactory implements URLJarFile.URLJarFileCloseController {