45N/A/*
553N/A * Copyright (c) 2008, Oracle and/or its affiliates. All rights reserved.
45N/A * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
45N/A *
45N/A * This code is free software; you can redistribute it and/or modify it
45N/A * under the terms of the GNU General Public License version 2 only, as
45N/A * published by the Free Software Foundation.
45N/A *
45N/A * This code is distributed in the hope that it will be useful, but WITHOUT
45N/A * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
45N/A * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
45N/A * version 2 for more details (a copy is included in the LICENSE file that
45N/A * accompanied this code).
45N/A *
45N/A * You should have received a copy of the GNU General Public License version
45N/A * 2 along with this work; if not, write to the Free Software Foundation,
45N/A * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
45N/A *
553N/A * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
553N/A * or visit www.oracle.com if you need additional information or have any
553N/A * questions.
45N/A */
45N/A
45N/Aimport java.util.*;
45N/A
45N/Aabstract class Test<T,E extends Exception & Comparable<T>,U extends Comparable> {
45N/A T t;
45N/A
45N/A Test(T t) { }
45N/A <G> Test(G g, int i) { }
45N/A
45N/A Test(String... args) { }
45N/A Test(int i, Object[]... args) { }
45N/A abstract void v1(String... args);
45N/A abstract void v2(int i, String[]... args);
45N/A
45N/A abstract void a1(int x);
45N/A abstract void a2(int[] x);
45N/A abstract void a3(T x);
45N/A abstract void a4(T[] x);
45N/A
45N/A abstract int r1();
45N/A abstract int[] r2();
45N/A abstract T r3();
45N/A abstract T[] r4();
45N/A
45N/A abstract <G> void ga1(int x);
45N/A abstract <G> void ga2(int[] x);
45N/A abstract <G> void ga3(G x);
45N/A abstract <G> void ga4(G[] x);
45N/A
45N/A abstract <G> int gr1();
45N/A abstract <G> int[] gr2();
45N/A abstract <G> G gr3();
45N/A abstract <G> G[] gr4();
45N/A
45N/A abstract <G extends Exception> void ge() throws G;
45N/A
45N/A abstract void w(List<?> l);
45N/A abstract void we(List<? extends T> l);
45N/A abstract void ws(List<? super T> l);
45N/A
45N/A abstract void t1() throws Error;
45N/A abstract void t2() throws E;
45N/A abstract void t3() throws E,Error;
45N/A
45N/A abstract void i1(Test<T, E, Comparable> x);
45N/A abstract void i3(Test<T, E, Comparable>.Inner<String> x);
45N/A
45N/A class Inner<Q> { }
45N/A class Inner2<Q> extends Inner<Q> { }
45N/A
45N/A class Simple { }
45N/A
45N/A enum Enum { e1, e2, e3 }
45N/A}