Cross Reference: Test
xref: /openjdk7/langtools/test/tools/javac/HiddenAbstractMethod/Test
  • Home
  • History
  • Annotate
  • Line#
  • Navigate
  • Download
  • only in ./
Test revision 0
9055f61bb57d2a625c6434d55beac7565c3b3c0dvboxsync/*
9055f61bb57d2a625c6434d55beac7565c3b3c0dvboxsync * @test
9055f61bb57d2a625c6434d55beac7565c3b3c0dvboxsync * @bug 1240831
9055f61bb57d2a625c6434d55beac7565c3b3c0dvboxsync * @summary Certain classes should have been reported as abstract, but
9055f61bb57d2a625c6434d55beac7565c3b3c0dvboxsync * the compiler failed to detect this. This comes up when a
9055f61bb57d2a625c6434d55beac7565c3b3c0dvboxsync * subclass declares a method with the same name as an
9055f61bb57d2a625c6434d55beac7565c3b3c0dvboxsync * unimplemented, unaccessible method in a superclass. Even though
9055f61bb57d2a625c6434d55beac7565c3b3c0dvboxsync * the method has the same name, it does not override.
9055f61bb57d2a625c6434d55beac7565c3b3c0dvboxsync * @author turnidge
9055f61bb57d2a625c6434d55beac7565c3b3c0dvboxsync *
9055f61bb57d2a625c6434d55beac7565c3b3c0dvboxsync * @compile/fail -nowrite one/Parent.java two/Child.java
9055f61bb57d2a625c6434d55beac7565c3b3c0dvboxsync */
9055f61bb57d2a625c6434d55beac7565c3b3c0dvboxsync

Indexes created Tue Jul 24 14:28:13 CEST 2018