Sat, 22 Dec 2018 13:10:38 -0800
Added tag jdk8u202-b25 for changeset 15d8c732039b
mcimadamore@3348 | 1 | /* |
mcimadamore@3348 | 2 | * Copyright (c) 2017, Oracle and/or its affiliates. All rights reserved. |
mcimadamore@3348 | 3 | * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. |
mcimadamore@3348 | 4 | * |
mcimadamore@3348 | 5 | * This code is free software; you can redistribute it and/or modify it |
mcimadamore@3348 | 6 | * under the terms of the GNU General Public License version 2 only, as |
mcimadamore@3348 | 7 | * published by the Free Software Foundation. Oracle designates this |
mcimadamore@3348 | 8 | * particular file as subject to the "Classpath" exception as provided |
mcimadamore@3348 | 9 | * by Oracle in the LICENSE file that accompanied this code. |
mcimadamore@3348 | 10 | * |
mcimadamore@3348 | 11 | * This code is distributed in the hope that it will be useful, but WITHOUT |
mcimadamore@3348 | 12 | * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or |
mcimadamore@3348 | 13 | * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License |
mcimadamore@3348 | 14 | * version 2 for more details (a copy is included in the LICENSE file that |
mcimadamore@3348 | 15 | * accompanied this code). |
mcimadamore@3348 | 16 | * |
mcimadamore@3348 | 17 | * You should have received a copy of the GNU General Public License version |
mcimadamore@3348 | 18 | * 2 along with this work; if not, write to the Free Software Foundation, |
mcimadamore@3348 | 19 | * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. |
mcimadamore@3348 | 20 | * |
mcimadamore@3348 | 21 | * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA |
mcimadamore@3348 | 22 | * or visit www.oracle.com if you need additional information or have any |
mcimadamore@3348 | 23 | * questions. |
mcimadamore@3348 | 24 | */ |
mcimadamore@3348 | 25 | |
mcimadamore@3348 | 26 | /* |
mcimadamore@3348 | 27 | * @test |
mcimadamore@3348 | 28 | * @bug 8168774 |
mcimadamore@3348 | 29 | * @summary Polymorhic signature method check crashes javac |
mcimadamore@3348 | 30 | * @compile BadPolySig.java |
mcimadamore@3348 | 31 | */ |
mcimadamore@3348 | 32 | |
mcimadamore@3348 | 33 | package java.lang.invoke; |
mcimadamore@3348 | 34 | |
mcimadamore@3348 | 35 | class MethodHandle { |
mcimadamore@3348 | 36 | native Object m(); |
mcimadamore@3348 | 37 | } |