mirror of
https://gcc.gnu.org/git/gcc.git
synced 2024-11-26 12:23:59 +08:00
stub.xfail: New file.
* libjava.lang/stub.xfail: New file. * libjava.lang/pr83.xfail: New file. * libjava.lang/err8.xfail: New file. * libjava.lang/err7.xfail: New file. * libjava.lang/Shazam.xfail: New file. * libjava.lang/err11.xfail: New file. * libjava.lang/instinit2.java: Renamed class to `instinit2'. * libjava.lang/anon3.out: Fixed typo. * libjava.lang/Class_1.java (main): Uncommented out previously failing code; now it works From-SVN: r38297
This commit is contained in:
parent
0254608834
commit
3a9e1959df
@ -1,5 +1,19 @@
|
||||
2000-12-15 Tom Tromey <tromey@redhat.com>
|
||||
|
||||
* libjava.lang/stub.xfail: New file.
|
||||
* libjava.lang/pr83.xfail: New file.
|
||||
* libjava.lang/err8.xfail: New file.
|
||||
* libjava.lang/err7.xfail: New file.
|
||||
* libjava.lang/Shazam.xfail: New file.
|
||||
* libjava.lang/err11.xfail: New file.
|
||||
|
||||
* libjava.lang/instinit2.java: Renamed class to `instinit2'.
|
||||
|
||||
* libjava.lang/anon3.out: Fixed typo.
|
||||
|
||||
* libjava.lang/Class_1.java (main): Uncommented out previously
|
||||
failing code; now it works
|
||||
|
||||
* lib/libjava.exp (libjava_tcompile): New proc.
|
||||
(test_libjava_from_source): Use it.
|
||||
(test_libjava_from_javac): Likewise.
|
||||
|
@ -23,10 +23,7 @@ public class Class_1
|
||||
printIsAssignableFrom(int[].class, int[].class, true);
|
||||
printIsAssignableFrom(C[].class, D.class, false);
|
||||
printIsAssignableFrom(C[].class, D[].class, true);
|
||||
// Known compiler limitation prevents next case from compiling.
|
||||
// printIsAssignableFrom(C[].class, C[][].class, false);
|
||||
System.out.println("printIsAssignableFrom(C[].class, C[][].class, false);" +
|
||||
" case uncompilable due to known compiler limitation.");
|
||||
printIsAssignableFrom(C[].class, C[][].class, false);
|
||||
|
||||
printIsAssignableFrom(Object.class, I.class, true);
|
||||
printIsAssignableFrom(I.class, I.class, true);
|
||||
|
1
libjava/testsuite/libjava.lang/Shazam.xfail
Normal file
1
libjava/testsuite/libjava.lang/Shazam.xfail
Normal file
@ -0,0 +1 @@
|
||||
xfail-byte
|
@ -1,2 +1,2 @@
|
||||
Testing class `annon3'...
|
||||
Testing class `anon3'...
|
||||
5
|
||||
|
1
libjava/testsuite/libjava.lang/err11.xfail
Normal file
1
libjava/testsuite/libjava.lang/err11.xfail
Normal file
@ -0,0 +1 @@
|
||||
xfail-byte
|
1
libjava/testsuite/libjava.lang/err7.xfail
Normal file
1
libjava/testsuite/libjava.lang/err7.xfail
Normal file
@ -0,0 +1 @@
|
||||
xfail-byte
|
1
libjava/testsuite/libjava.lang/err8.xfail
Normal file
1
libjava/testsuite/libjava.lang/err8.xfail
Normal file
@ -0,0 +1 @@
|
||||
xfail-byte
|
@ -1,10 +1,10 @@
|
||||
// Class ii2
|
||||
// Class instinit2
|
||||
// Generated on Wed Feb 2 17:52:49 PST 2000
|
||||
// The instance initializer throws a checked exception. This is OK
|
||||
// since the constructors declares it in its `throws' clause -- at
|
||||
// least that's what the specs are saying.
|
||||
|
||||
class ii2 {
|
||||
class instinit2 {
|
||||
|
||||
String buffer = "Oink Oink!";
|
||||
|
||||
@ -14,16 +14,16 @@ class ii2 {
|
||||
throw new Exception ("It just oinked");
|
||||
}
|
||||
|
||||
ii2 () throws Exception
|
||||
instinit2 () throws Exception
|
||||
{
|
||||
System.out.println ("Ctor");
|
||||
}
|
||||
|
||||
public static void main (String[] arg)
|
||||
{
|
||||
System.out.println ("Testing class `ii2'...");
|
||||
System.out.println ("Testing class `instinit2'...");
|
||||
try {
|
||||
System.out.println (new ii2 ().buffer);
|
||||
System.out.println (new instinit2 ().buffer);
|
||||
} catch (Exception e) {
|
||||
System.out.println (e.toString());
|
||||
}
|
||||
|
1
libjava/testsuite/libjava.lang/pr83.xfail
Normal file
1
libjava/testsuite/libjava.lang/pr83.xfail
Normal file
@ -0,0 +1 @@
|
||||
xfail-byte
|
1
libjava/testsuite/libjava.lang/stub.xfail
Normal file
1
libjava/testsuite/libjava.lang/stub.xfail
Normal file
@ -0,0 +1 @@
|
||||
xfail-byte
|
Loading…
Reference in New Issue
Block a user