T8158355.java revision 3456:c02775be0f95
13258Sdg/* 26512Sphk * Copyright (c) 2016, Oracle and/or its affiliates. All rights reserved. 33258Sdg * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. 46512Sphk * 521362Snate * This code is free software; you can redistribute it and/or modify it 615298Snate * under the terms of the GNU General Public License version 2 only, as 724372Sphk * published by the Free Software Foundation. Oracle designates this 86512Sphk * particular file as subject to the "Classpath" exception as provided 93258Sdg * by Oracle in the LICENSE file that accompanied this code. 103258Sdg * 118876Srgrimes * This code is distributed in the hope that it will be useful, but WITHOUT 128876Srgrimes * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or 138876Srgrimes * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License 143258Sdg * version 2 for more details (a copy is included in the LICENSE file that 153258Sdg * accompanied this code). 163258Sdg * 173264Sdg * You should have received a copy of the GNU General Public License version 1850477Speter * 2 along with this work; if not, write to the Free Software Foundation, 193258Sdg * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. 203258Sdg * 213258Sdg * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA 2247028Sphk * or visit www.oracle.com if you need additional information or have any 2350107Smsmith * questions. 2412504Sjulian */ 2512517Sjulian 2621401Snate/** 2740751Smsmith * @test 2845720Speter * @bug 8158355 2970834Swollman * @summary Inference graph dot support broken 3048735Siwasaki * @compile -XDdumpInferenceGraphsTo=. T8158355.java 3148735Siwasaki */ 3248735Siwasakiimport java.util.List; 3348735Siwasaki 3450157Siwasakiclass T8158355 { 353258Sdg <Z> List<Z> m() { return null; } 363258Sdg 373309Sphk void test() { 383258Sdg List<String> ls = m(); 3912662Sdg } 4012662Sdg} 413258Sdg