/
githubmirror
/
panama-vector
Обзор
Документация
Войти
/
githubmirror
/
panama-vector
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
master
test/langtools/tools/javac/lambda/MostSpecific01.java
25 строк
475 B
Erik Joelsson
8187443: Forest Consolidation: Move files to unified layout
12 сен 2017, 20:03
12 сен 2017, 20:03
3789983
Код
Авторство
О чём код?
/* * @test /nodynamiccopyright/ * @bug 8003280 * @summary Add lambda tests * check correctness of structural most specific test routine * @compile/fail/ref=MostSpecific01.out -XDrawDiagnostics MostSpecific01.java */ class Test { interface IntMapper { int map(); } interface LongMapper { long map(); } void m(IntMapper im, String s) { } void m(LongMapper lm, Integer s) { } void test() { m(()->1, null); } }