797N/A * Copyright (c) 2009, 2010, Oracle and/or its affiliates. All rights reserved. 221N/A * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. 221N/A * This code is free software; you can redistribute it and/or modify it 221N/A * under the terms of the GNU General Public License version 2 only, as 553N/A * published by the Free Software Foundation. Oracle designates this 221N/A * particular file as subject to the "Classpath" exception as provided 553N/A * by Oracle in the LICENSE file that accompanied this code. 221N/A * This code is distributed in the hope that it will be useful, but WITHOUT 221N/A * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or 221N/A * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License 221N/A * version 2 for more details (a copy is included in the LICENSE file that 221N/A * accompanied this code). 221N/A * You should have received a copy of the GNU General Public License version 221N/A * 2 along with this work; if not, write to the Free Software Foundation, 221N/A * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. 553N/A * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA 553N/A * or visit www.oracle.com if you need additional information or have any 221N/A * @author Bhavesh Patel 221N/A * @build TestSerializedFormDeprecationInfo 221N/A * @run main TestSerializedFormDeprecationInfo 221N/A // display the inline comments, tags and deprecation information if any. 765N/A "<dt><span class=\"strong\">Throws:</span></dt>" +
NL +
"<dd><code>" +
765N/A "java.io.IOException</code></dd><dt><span class=\"strong\">See Also:</span>" +
765N/A "<code>C1.setUndecorated(boolean)</code></a></dd></dl>"},
765N/A " <i>As of JDK version 1.5, replaced by" +
NL +
765N/A "<code>setUndecorated(boolean)</code></a>.</i></div>" +
NL +
765N/A "<div class=\"block\">This field indicates whether the C1 " +
765N/A "is undecorated.</div>" +
NL +
" " +
NL +
765N/A "<dl><dt><span class=\"strong\">Since:</span></dt>" +
NL +
765N/A " <dd>1.4</dd>" +
NL +
"<dt><span class=\"strong\">See Also:</span>" +
765N/A "<code>C1.setUndecorated(boolean)</code></a></dd></dl>"},
765N/A " <i>As of JDK version 1.5, replaced by" +
NL +
765N/A "<code>setUndecorated(boolean)</code></a>.</i></div>" +
NL +
765N/A "<div class=\"block\">Reads the object stream.</div>" +
NL +
765N/A "<dl><dt><span class=\"strong\">Throws:</span></dt>" +
NL +
"<dd><code><code>" +
765N/A "IOException</code></code></dd>" +
NL +
765N/A "<dd><code>java.io.IOException</code></dd></dl>"},
765N/A " </div>" +
NL +
"<div class=\"block\">" +
765N/A "The name for this class.</div>"}};
221N/A // not display the inline comments and tags but should display deprecation 765N/A "<div class=\"block\"><span class=\"strong\">Deprecated.</span> <i>" +
765N/A "As of JDK version 1.5, replaced by" +
NL +
765N/A "setUndecorated(boolean)</code></a>.</i></div>" +
NL +
"</li>"},
765N/A "Deprecated.</span> <i>As of JDK version" +
765N/A "<code>setUndecorated(boolean)</code></a>.</i></div>" +
NL +
"</li>"}};
221N/A // ignore the -nodeprecated tag and display the deprecation info. This 221N/A // test is similar to the normal run of javadoc in which inline comment, tags 221N/A // and deprecation information will be displayed. 221N/A // ignore the -nodeprecated tag and display the deprecation info but should not 221N/A // display the inline comments and tags. This test is similar to the test with 221N/A * The entry point of the test. 221N/A * @param args the array of command line arguments.