mirror of
https://github.com/gcc-mirror/gcc.git
synced 2026-05-06 23:25:24 +02:00
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:
committed by
Ranjit Mathew
parent
2743ba1c48
commit
ca1593fda4
@@ -1,3 +1,9 @@
|
||||
2005-03-10 Ranjit Mathew <rmathew@hotmail.com>
|
||||
|
||||
* testsuite/libjava.compile/PR20312.java: New file.
|
||||
* testsuite/libjava.compile/PR20312.xfail: Likewise.
|
||||
* testsuite/libjava.jacks/jacks.xfail: Remove 9.2-implicit-15.
|
||||
|
||||
2005-03-09 Andrew Haley <aph@redhat.com>
|
||||
|
||||
* gnu/java/nio/channels/FileChannelImpl.java (smallTransferFrom):
|
||||
|
||||
8
libjava/testsuite/libjava.compile/PR20312.java
Normal file
8
libjava/testsuite/libjava.compile/PR20312.java
Normal 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";
|
||||
}
|
||||
}
|
||||
1
libjava/testsuite/libjava.compile/PR20312.xfail
Normal file
1
libjava/testsuite/libjava.compile/PR20312.xfail
Normal file
@@ -0,0 +1 @@
|
||||
shouldfail
|
||||
@@ -671,7 +671,6 @@
|
||||
9.1.1-in-interface-9
|
||||
9.1.2-supertype-1
|
||||
9.1.3-body-5
|
||||
9.2-implicit-15
|
||||
9.2-implicit-18
|
||||
9.2-implicit-19
|
||||
9.2-implicit-2
|
||||
|
||||
Reference in New Issue
Block a user