25N/A/*
553N/A * Copyright (c) 2008, Oracle and/or its affiliates. All rights reserved.
25N/A * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
25N/A *
25N/A * This code is free software; you can redistribute it and/or modify it
25N/A * under the terms of the GNU General Public License version 2 only, as
25N/A * published by the Free Software Foundation.
25N/A *
25N/A * This code is distributed in the hope that it will be useful, but WITHOUT
25N/A * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
25N/A * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
25N/A * version 2 for more details (a copy is included in the LICENSE file that
25N/A * accompanied this code).
25N/A *
25N/A * You should have received a copy of the GNU General Public License version
25N/A * 2 along with this work; if not, write to the Free Software Foundation,
25N/A * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
25N/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.
25N/A */
25N/A
25N/A/*
25N/A * @test
25N/A * @bug 6481655
25N/A * @summary Parser confused by combination of parens and explicit type args
25N/A * @author Maurizio Cimadamore
25N/A */
25N/A
25N/Apublic class T6481655 {
25N/A
25N/A public static <T> T getT(T t) {
25N/A return t;
25N/A }
25N/A
25N/A public static void main(String... s) {
25N/A T6481655.<String>getT("");
25N/A (T6481655.<String>getT("")).getClass();
25N/A }
25N/A}