re PR java/20312 (No warning on bad method)

* testsuite/libjava.compile/PR20312.java: New file.
	* testsuite/libjava.compile/PR20312.xfail: Likewise.
	* testsuite/libjava.jacks/jacks.xfail: Remove 9.2-implicit-15.

From-SVN: r96252
This commit is contained in:
Ranjit Mathew 2005-03-10 18:57:01 +00:00 committed by Ranjit Mathew
parent 2743ba1c48
commit ca1593fda4
4 changed files with 15 additions and 1 deletions

View file

@ -0,0 +1,8 @@
/* Can't throw what the overridden method doesn't. */
public class PR20312
{
public String toString( ) throws java.io.IOException
{
return "SNAFU";
}
}