1.1 --- a/test/tools/javac/5045412/Bar.java Mon Jul 28 10:22:10 2008 +0100 1.2 +++ b/test/tools/javac/5045412/Bar.java Fri Aug 01 15:23:18 2008 -0700 1.3 @@ -1,13 +1,36 @@ 1.4 -/** 1.5 - * @test /nodynamiccopyright/ 1.6 - * @bug 5045412 1.7 - * @compile/fail/ref=out -XDstdout -XDrawDiagnostics -Xlint:serial -XDfailcomplete=java.io.Serializable Bar.java 1.8 +/* 1.9 + * Copyright 2005-2006 Sun Microsystems, Inc. All Rights Reserved. 1.10 + * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. 1.11 + * 1.12 + * This code is free software; you can redistribute it and/or modify it 1.13 + * under the terms of the GNU General Public License version 2 only, as 1.14 + * published by the Free Software Foundation. 1.15 + * 1.16 + * This code is distributed in the hope that it will be useful, but WITHOUT 1.17 + * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or 1.18 + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License 1.19 + * version 2 for more details (a copy is included in the LICENSE file that 1.20 + * accompanied this code). 1.21 + * 1.22 + * You should have received a copy of the GNU General Public License version 1.23 + * 2 along with this work; if not, write to the Free Software Foundation, 1.24 + * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. 1.25 + * 1.26 + * Please contact Sun Microsystems, Inc., 4150 Network Circle, Santa Clara, 1.27 + * CA 95054 USA or visit www.sun.com if you need additional information or 1.28 + * have any questions. 1.29 */ 1.30 1.31 /** 1.32 - * @test /nodynamiccopyright/ 1.33 - * @bug 5045412 1.34 - * @compile/fail/ref=out -XDstdout -XDrawDiagnostics -Xlint:serial -XDfailcomplete=java.io.Serializable Bar.java Foo.java 1.35 + * @test 1.36 + * @bug 5045412 6627366 1.37 + * @compile -Xlint:serial -XDfailcomplete=java.io.Serializable Bar.java 1.38 + */ 1.39 + 1.40 +/** 1.41 + * @test 1.42 + * @bug 5045412 6627366 1.43 + * @compile -Xlint:serial -XDfailcomplete=java.io.Serializable Bar.java Foo.java 1.44 */ 1.45 1.46 class Bar implements java.io.Serializable { }