/
githubmirror
/
panama-vector
Обзор
Документация
Войти
/
githubmirror
/
panama-vector
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
master
test/langtools/tools/javac/OverridePosition.java
25 строк
458 B
Erik Joelsson
8187443: Forest Consolidation: Move files to unified layout
12 сен 2017, 20:03
12 сен 2017, 20:03
3789983
Код
Авторство
О чём код?
/* * @test /nodynamiccopyright/ * @bug 4524388 4785453 * @summary "attemping to assign weaker access" message doesn't give method line number * @author Neal Gafter * * @compile/fail/ref=OverridePosition.out -XDrawDiagnostics OverridePosition.java */ package T4524388; interface Interface { void method(); } class Testa implements Interface { void method() {} } class A { void method() {} } class B extends A implements Interface { }