(original) (raw)

# 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 * (_x_, _y_). * @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 @@

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 @@

Package Specification

-

Command-Line Interface

-

  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. The manifest of the agent JAR must contain the attribute Agent-Class. + The value of this attribute is the name of the agent class.
  1. The agent class must implement a public static agentmain method.
  2. 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.
    -

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, Comparablediff --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<k,v> { 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<k,v> extends Dictionary<k,v> 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<object,object> { @@ -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</object,object></k,v></k,v></k,v>