WarnClass.java revision 0
1008N/A/*
1008N/A * Copyright 2006 Sun Microsystems, Inc. All Rights Reserved.
1008N/A * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
1008N/A *
1008N/A * This code is free software; you can redistribute it and/or modify it
1008N/A * under the terms of the GNU General Public License version 2 only, as
1008N/A * published by the Free Software Foundation.
1008N/A *
1008N/A * This code is distributed in the hope that it will be useful, but WITHOUT
1008N/A * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
1008N/A * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
1008N/A * version 2 for more details (a copy is included in the LICENSE file that
1008N/A * accompanied this code).
1008N/A *
1008N/A * You should have received a copy of the GNU General Public License version
1008N/A * 2 along with this work; if not, write to the Free Software Foundation,
1008N/A * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
1008N/A *
1008N/A * Please contact Sun Microsystems, Inc., 4150 Network Circle, Santa Clara,
1008N/A * CA 95054 USA or visit www.sun.com if you need additional information or
1008N/A * have any questions.
1008N/A */
1008N/A
1008N/A/*
1008N/A * @test
1008N/A * @bug 6380059
1008N/A * @summary Emit warnings for proprietary packages in the boot class path
1008N/A * @author Peter von der Ah\u00e9
1008N/A * @compile WarnClass.java
1008N/A * @compile/fail -Werror WarnClass.java
1008N/A * @compile/fail -Werror -source 1.4 -nowarn WarnClass.java
1008N/A * @compile/fail -Werror -nowarn WarnClass.java
1008N/A * @compile/fail -Werror -Xlint:none WarnClass.java
1008N/A */
1008N/A
1008N/Apublic class WarnClass extends sun.misc.Lock {}
1008N/A