40N/A/*
553N/A * Copyright (c) 2008, Oracle and/or its affiliates. All rights reserved.
40N/A * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
40N/A *
40N/A * This code is free software; you can redistribute it and/or modify it
40N/A * under the terms of the GNU General Public License version 2 only, as
40N/A * published by the Free Software Foundation.
40N/A *
40N/A * This code is distributed in the hope that it will be useful, but WITHOUT
40N/A * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
40N/A * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
40N/A * version 2 for more details (a copy is included in the LICENSE file that
40N/A * accompanied this code).
40N/A *
40N/A * You should have received a copy of the GNU General Public License version
40N/A * 2 along with this work; if not, write to the Free Software Foundation,
40N/A * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
40N/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.
40N/A */
40N/A
40N/A/*
40N/A * @test
40N/A * @bug 6507024
40N/A * @summary unchecked conversion between arrays fails after capture conversion
40N/A * @author Maurizio Cimadamore
40N/A *
40N/A * @compile T6507024.java
40N/A */
40N/A
40N/Apublic class T6507024<T> {
40N/A <Z> void m(T6507024<Z>[] results) {
40N/A T6507024<Z>[] r = results.getClass().cast(null);
40N/A }
40N/A}