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
hannesw@1342 | 1 | /* |
hannesw@1342 | 2 | * Copyright (c) 2010, 2014, Oracle and/or its affiliates. All rights reserved. |
hannesw@1342 | 3 | * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. |
hannesw@1342 | 4 | * |
hannesw@1342 | 5 | * This code is free software; you can redistribute it and/or modify it |
hannesw@1342 | 6 | * under the terms of the GNU General Public License version 2 only, as |
hannesw@1342 | 7 | * published by the Free Software Foundation. |
hannesw@1342 | 8 | * |
hannesw@1342 | 9 | * This code is distributed in the hope that it will be useful, but WITHOUT |
hannesw@1342 | 10 | * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or |
hannesw@1342 | 11 | * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License |
hannesw@1342 | 12 | * version 2 for more details (a copy is included in the LICENSE file that |
hannesw@1342 | 13 | * accompanied this code). |
hannesw@1342 | 14 | * |
hannesw@1342 | 15 | * You should have received a copy of the GNU General Public License version |
hannesw@1342 | 16 | * 2 along with this work; if not, write to the Free Software Foundation, |
hannesw@1342 | 17 | * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. |
hannesw@1342 | 18 | * |
hannesw@1342 | 19 | * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA |
hannesw@1342 | 20 | * or visit www.oracle.com if you need additional information or have any |
hannesw@1342 | 21 | * questions. |
hannesw@1342 | 22 | */ |
hannesw@1342 | 23 | |
hannesw@1342 | 24 | /** |
hannesw@1342 | 25 | * JDK-8078612: Persistent code cache should support more configurations |
hannesw@1342 | 26 | * |
hannesw@1342 | 27 | * @test |
hannesw@1342 | 28 | * @runif external.prototype |
hannesw@1342 | 29 | * @option -pcc |
hannesw@1342 | 30 | * @option --lazy-compilation=false |
hannesw@1342 | 31 | * @option -Dnashorn.persistent.code.cache=build/nashorn_code_cache |
hannesw@1342 | 32 | * @fork |
hannesw@1342 | 33 | */ |
hannesw@1342 | 34 | |
hannesw@1342 | 35 | load(__DIR__ + 'prototype.js'); |