Tue, 01 Sep 2015 18:28:11 +0530
8068901: Surprising behavior with more than one functional interface on a class
8068903: Can't invoke vararg @FunctionalInterface methods
Reviewed-by: attila, hannesw
sundar@992 | 1 | /* |
sundar@992 | 2 | * Copyright (c) 2010, 2014, Oracle and/or its affiliates. All rights reserved. |
sundar@992 | 3 | * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. |
sundar@992 | 4 | * |
sundar@992 | 5 | * This code is free software; you can redistribute it and/or modify it |
sundar@992 | 6 | * under the terms of the GNU General Public License version 2 only, as |
sundar@992 | 7 | * published by the Free Software Foundation. |
sundar@992 | 8 | * |
sundar@992 | 9 | * This code is distributed in the hope that it will be useful, but WITHOUT |
sundar@992 | 10 | * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or |
sundar@992 | 11 | * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License |
sundar@992 | 12 | * version 2 for more details (a copy is included in the LICENSE file that |
sundar@992 | 13 | * accompanied this code). |
sundar@992 | 14 | * |
sundar@992 | 15 | * You should have received a copy of the GNU General Public License version |
sundar@992 | 16 | * 2 along with this work; if not, write to the Free Software Foundation, |
sundar@992 | 17 | * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. |
sundar@992 | 18 | * |
sundar@992 | 19 | * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA |
sundar@992 | 20 | * or visit www.oracle.com if you need additional information or have any |
sundar@992 | 21 | * questions. |
sundar@992 | 22 | */ |
sundar@992 | 23 | |
sundar@992 | 24 | /** |
sundar@992 | 25 | * JDK-8048079: Persistent code store is broken after optimistic types merge |
sundar@992 | 26 | * Same script as JDK-8048079_1b.js to exercise code cache again. |
sundar@992 | 27 | * @test |
sundar@992 | 28 | * @runif external.yui |
sundar@992 | 29 | * @option -pcc |
sundar@992 | 30 | * @option -Dnashorn.persistent.code.cache=build/nashorn_code_cache |
sundar@992 | 31 | * @fork |
sundar@992 | 32 | */ |
sundar@992 | 33 | |
sundar@992 | 34 | load(__DIR__ + 'yui.js'); |