mirror of
https://github.com/openjdk/jdk.git
synced 2025-09-20 11:04:34 +02:00
12 lines
458 B
Text
12 lines
458 B
Text
/*
|
|
* @test
|
|
* @bug 1240831
|
|
* @summary Certain classes should have been reported as abstract, but
|
|
* the compiler failed to detect this. This comes up when a
|
|
* subclass declares a method with the same name as an
|
|
* unimplemented, unaccessible method in a superclass. Even though
|
|
* the method has the same name, it does not override.
|
|
* @author turnidge
|
|
*
|
|
* @compile/fail -nowrite one/Parent.java two/Child.java
|
|
*/
|