156N/A/*
797N/A * Copyright (c) 2008, 2010, Oracle and/or its affiliates. All rights reserved.
156N/A * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
156N/A *
156N/A * This code is free software; you can redistribute it and/or modify it
156N/A * under the terms of the GNU General Public License version 2 only, as
156N/A * published by the Free Software Foundation.
156N/A *
156N/A * This code is distributed in the hope that it will be useful, but WITHOUT
156N/A * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
156N/A * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
156N/A * version 2 for more details (a copy is included in the LICENSE file that
156N/A * accompanied this code).
156N/A *
156N/A * You should have received a copy of the GNU General Public License version
156N/A * 2 along with this work; if not, write to the Free Software Foundation,
156N/A * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
156N/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.
156N/A */
156N/A
156N/A/*
156N/A * @test
156N/A * @bug 6548436
156N/A * @summary Incorrect inconvertible types error
156N/A * @author Maurizio Cimadamore
156N/A *
156N/A * @compile/fail T6548436d.java
156N/A */
156N/A
156N/Apublic class T6548436d {
156N/A
156N/A static class Base<E extends Comparable<E>> {}
156N/A
156N/A static void test(Base<? extends Double> je) {
156N/A Object o = (Base<Integer>)je;
156N/A }
524N/A}