756N/A/*
961N/A * Copyright (c) 2010, 2011, Oracle and/or its affiliates. All rights reserved.
756N/A * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
756N/A *
756N/A * This code is free software; you can redistribute it and/or modify it
756N/A * under the terms of the GNU General Public License version 2 only, as
756N/A * published by the Free Software Foundation.
756N/A *
756N/A * This code is distributed in the hope that it will be useful, but WITHOUT
756N/A * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
756N/A * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
756N/A * version 2 for more details (a copy is included in the LICENSE file that
756N/A * accompanied this code).
756N/A *
756N/A * You should have received a copy of the GNU General Public License version
756N/A * 2 along with this work; if not, write to the Free Software Foundation,
756N/A * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
756N/A *
756N/A * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
756N/A * or visit www.oracle.com if you need additional information or have any
756N/A * questions.
756N/A */
756N/A
756N/A/*
756N/A * @test
756N/A * @bug 6900037
756N/A * @summary javac should warn if earlier -source is used and bootclasspath not set
756N/A * @compile T6900037.java
756N/A * @compile -source 1.6 T6900037.java
756N/A * @compile/fail/ref=T6900037.out -XDrawDiagnostics -Werror -source 1.6 T6900037.java
756N/A * @compile -Werror -source 1.6 -Xlint:-options T6900037.java
756N/A */
756N/A
756N/Aclass T6900037 { }