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

Tue, 24 Dec 2013 09:17:37 -0800

author
ksrini
date
Tue, 24 Dec 2013 09:17:37 -0800
changeset 2227
998b10c43157
parent 1305
9d47f4850714
child 2525
2eb010b6cb22
permissions
-rw-r--r--

8029230: Update copyright year to match last edit in jdk8 langtools repository for 2013
Reviewed-by: ksrini
Contributed-by: steve.sides@oracle.com

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

mercurial