/
githubmirror
/
panama-vector
Обзор
Документация
Войти
/
githubmirror
/
panama-vector
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
master
test/langtools/tools/javac/generics/InheritanceConflict3.java
17 строк
330 B
Joe Darcy
8369851: Remove darcy author tags from langtools tests
15 окт 2025, 00:29
15 окт 2025, 00:29
70528bd
Код
Авторство
О чём код?
/* * @test /nodynamiccopyright/ * @bug 4984158 * @summary two inherited methods with same signature * * @compile/fail/ref=InheritanceConflict3.out -XDrawDiagnostics InheritanceConflict3.java */ package inheritance.conflict3; class X1<T> { int f(T t) { throw null; } void f(Object o) {} } class X2 extends X1 { }