2615N/A/*
2615N/A * Copyright (c) 2003, Oracle and/or its affiliates. All rights reserved.
2615N/A * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
2615N/A *
5633N/A * This code is free software; you can redistribute it and/or modify it
2615N/A * under the terms of the GNU General Public License version 2 only, as
2615N/A * published by the Free Software Foundation.
2615N/A *
2615N/A * This code is distributed in the hope that it will be useful, but WITHOUT
2615N/A * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
5633N/A * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
2615N/A * version 2 for more details (a copy is included in the LICENSE file that
2615N/A * accompanied this code).
2615N/A *
2615N/A * You should have received a copy of the GNU General Public License version
2615N/A * 2 along with this work; if not, write to the Free Software Foundation,
5633N/A * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
2615N/A *
2615N/A * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
2615N/A * or visit www.oracle.com if you need additional information or have any
2615N/A * questions.
2615N/A */
2615N/A
2615N/A/*
5633N/A * @test
2615N/A * @bug 4901266
2615N/A * @summary JSR175 (4): don't allow "new" in annotations
2615N/A * @author gafter
2615N/A *
2615N/A * @compile/fail ArrayLit.java
5633N/A */
2615N/A
2615N/A@ArrayLit(new int[] {1, 2, 3})
2615N/A@interface ArrayLit {
2615N/A int[] value();
2615N/A}
5633N/A