/
githubmirror
/
panama-vector
Обзор
Документация
Войти
/
githubmirror
/
panama-vector
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
master
test/langtools/tools/javac/T8326204b.java
13 строк
432 B
Aggelos Biboudis
8326204: yield statements doesn't allow cast expressions with more than 1 type arguments
14 мар 2024, 10:01
14 мар 2024, 10:01
cff0747
Код
Авторство
О чём код?
import java.util.Map; /* * @test /nodynamiccopyright/ * @bug 8326204 * @summary yield statements doesn't allow cast expressions with more than 1 type arguments * @compile/fail/ref=T8326204b.out -XDrawDiagnostics --should-stop=at=FLOW -XDdev T8326204b.java */ public class T8326204b { private static void t(int i) { yield((Map<String, String>) null, 2); } private static void yield(Map<String, String> m, int j) { } }