test/tools/javac/diags/examples/NotInProfile.java

Mon, 23 Sep 2013 17:27:38 +0400

author
kizune
date
Mon, 23 Sep 2013 17:27:38 +0400
changeset 2048
809a50f24d6f
parent 1569
475eb15dfdad
child 2227
998b10c43157
permissions
-rw-r--r--

7154966: CRs found to be in Fixed state with no test and no noreg- keyword.
Reviewed-by: ksrini

jjg@1569 1 /*
jjg@1569 2 * Copyright (c) 2010, Oracle and/or its affiliates. All rights reserved.
jjg@1569 3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
jjg@1569 4 *
jjg@1569 5 * This code is free software; you can redistribute it and/or modify it
jjg@1569 6 * under the terms of the GNU General Public License version 2 only, as
jjg@1569 7 * published by the Free Software Foundation.
jjg@1569 8 *
jjg@1569 9 * This code is distributed in the hope that it will be useful, but WITHOUT
jjg@1569 10 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
jjg@1569 11 * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
jjg@1569 12 * version 2 for more details (a copy is included in the LICENSE file that
jjg@1569 13 * accompanied this code).
jjg@1569 14 *
jjg@1569 15 * You should have received a copy of the GNU General Public License version
jjg@1569 16 * 2 along with this work; if not, write to the Free Software Foundation,
jjg@1569 17 * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
jjg@1569 18 *
jjg@1569 19 * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
jjg@1569 20 * or visit www.oracle.com if you need additional information or have any
jjg@1569 21 * questions.
jjg@1569 22 */
jjg@1569 23
jjg@1569 24 // key: compiler.err.not.in.profile
jjg@1569 25 // options: -profile compact1
jjg@1569 26
jjg@1569 27 class NotInProfile {
jjg@1569 28 Class<?> c = java.awt.Frame.class;
jjg@1569 29 }

mercurial