2007-12-01 00:00:00 +00:00
|
|
|
/*
|
2014-09-05 23:51:39 +00:00
|
|
|
* @test /nodynamiccopyright/
|
2007-12-01 00:00:00 +00:00
|
|
|
* @bug 4479164
|
|
|
|
* @summary Throws clauses incompatible with Object methods allowed in interfaces
|
|
|
|
* @author gafter
|
|
|
|
*
|
2014-09-05 23:51:39 +00:00
|
|
|
* @compile/fail/ref=InterfaceObjectIncompatibility.out -XDrawDiagnostics InterfaceObjectIncompatibility.java
|
2007-12-01 00:00:00 +00:00
|
|
|
*/
|
|
|
|
|
|
|
|
interface InterfaceObjectIncompatibility {
|
|
|
|
|
|
|
|
String toString() throws java.io.IOException;
|
|
|
|
int hashCode() throws Exception;
|
|
|
|
|
|
|
|
}
|