Wed, 18 Feb 2009 13:47:27 -0800
6802694: Javadoc doclet does not display deprecated information with -nocomment option for serialized form
Reviewed-by: jjg
bpatel@222 | 1 | /* |
bpatel@222 | 2 | * Copyright 2009 Sun Microsystems, Inc. All Rights Reserved. |
bpatel@222 | 3 | * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. |
bpatel@222 | 4 | * |
bpatel@222 | 5 | * This code is free software; you can redistribute it and/or modify it |
bpatel@222 | 6 | * under the terms of the GNU General Public License version 2 only, as |
bpatel@222 | 7 | * published by the Free Software Foundation. Sun designates this |
bpatel@222 | 8 | * particular file as subject to the "Classpath" exception as provided |
bpatel@222 | 9 | * by Sun in the LICENSE file that accompanied this code. |
bpatel@222 | 10 | * |
bpatel@222 | 11 | * This code is distributed in the hope that it will be useful, but WITHOUT |
bpatel@222 | 12 | * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or |
bpatel@222 | 13 | * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License |
bpatel@222 | 14 | * version 2 for more details (a copy is included in the LICENSE file that |
bpatel@222 | 15 | * accompanied this code). |
bpatel@222 | 16 | * |
bpatel@222 | 17 | * You should have received a copy of the GNU General Public License version |
bpatel@222 | 18 | * 2 along with this work; if not, write to the Free Software Foundation, |
bpatel@222 | 19 | * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. |
bpatel@222 | 20 | * |
bpatel@222 | 21 | * Please contact Sun Microsystems, Inc., 4150 Network Circle, Santa Clara, |
bpatel@222 | 22 | * CA 95054 USA or visit www.sun.com if you need additional information or |
bpatel@222 | 23 | * have any questions. |
bpatel@222 | 24 | */ |
bpatel@222 | 25 | |
bpatel@222 | 26 | package pkg1; |
bpatel@222 | 27 | |
bpatel@222 | 28 | import java.io.Serializable; |
bpatel@222 | 29 | |
bpatel@222 | 30 | /** |
bpatel@222 | 31 | * Test for Serializable |
bpatel@222 | 32 | * |
bpatel@222 | 33 | * @author Bhavesh Patel |
bpatel@222 | 34 | * @deprecated This class is no longer used. |
bpatel@222 | 35 | */ |
bpatel@222 | 36 | @Deprecated |
bpatel@222 | 37 | public abstract class C3 implements Serializable { |
bpatel@222 | 38 | |
bpatel@222 | 39 | /** |
bpatel@222 | 40 | * The name for this class. |
bpatel@222 | 41 | * |
bpatel@222 | 42 | * @serial |
bpatel@222 | 43 | */ |
bpatel@222 | 44 | private String name; |
bpatel@222 | 45 | |
bpatel@222 | 46 | /** |
bpatel@222 | 47 | * @serial |
bpatel@222 | 48 | */ |
bpatel@222 | 49 | private int publicKey; |
bpatel@222 | 50 | |
bpatel@222 | 51 | /** |
bpatel@222 | 52 | * Constructor for serialization only. |
bpatel@222 | 53 | */ |
bpatel@222 | 54 | protected C3() { |
bpatel@222 | 55 | |
bpatel@222 | 56 | } |
bpatel@222 | 57 | |
bpatel@222 | 58 | /** |
bpatel@222 | 59 | * Prints general information. |
bpatel@222 | 60 | * |
bpatel@222 | 61 | */ |
bpatel@222 | 62 | public void printInfo() { |
bpatel@222 | 63 | |
bpatel@222 | 64 | } |
bpatel@222 | 65 | } |