re PR libgcj/6389 (System.getProperty("") should always throw an IllegalArgumentException)

* libjava.compile/T20020604.java: New file.

	For PR libgcj/6389:
	* libjava.mauve/xfails: Now passes System.getProperty test.

	For PR java/1343 and PR java/6336:
	* libjava.compile/PR1343.java: New file.

	For PR java/5913:
	* libjava.compile/PR5913.xfail: Removed.

From-SVN: r54259
This commit is contained in:
Tom Tromey 2002-06-04 19:39:02 +00:00 committed by Tom Tromey
parent 4e176a9bbd
commit d6ee617dd7
5 changed files with 47 additions and 3 deletions

View File

@ -1,3 +1,16 @@
2002-06-04 Tom Tromey <tromey@redhat.com>
* libjava.compile/T20020604.java: New file.
For PR libgcj/6389:
* libjava.mauve/xfails: Now passes System.getProperty test.
For PR java/1343 and PR java/6336:
* libjava.compile/PR1343.java: New file.
For PR java/5913:
* libjava.compile/PR5913.xfail: Removed.
2002-05-29 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
* libjava.compile/T20020529.java: New file.

View File

@ -0,0 +1,17 @@
import java.util.Vector;
public class PR1343
{
void f(Object[] l)
{
class x1
{
};
}
void f(Vector l)
{
class x1
{
};
}
}

View File

@ -1,2 +0,0 @@
xfail-gcj
xfail-gcjC

View File

@ -0,0 +1,17 @@
// Regression test for gcj crash, when compiled with -O2 on
// i686-pc-linux-gnu.
public class T20020604
{
static double d2 = 0.0;
static Object lockObject = new Object();
public static double f(double d1) {
synchronized (lockObject){
d2 = Math.max(d1, d2);
}
return d2;
}
}

View File

@ -39,7 +39,6 @@ FAIL: gnu.testlet.java.lang.Double.DoubleTest: Error: test_longValue returned wr
FAIL: gnu.testlet.java.lang.Float.FloatTest: Error: test_intValue returned wrong results - 1 (number 1)
FAIL: gnu.testlet.java.lang.String.CASE_INSENSITIVE_ORDER: unicode mappings (number 1)
FAIL: gnu.testlet.java.lang.String.CASE_INSENSITIVE_ORDER: unicode mappings (number 2)
FAIL: gnu.testlet.java.lang.System.getProperty: '' (number 1)
FAIL: gnu.testlet.java.text.AttributedString.Test: Attribute key count (number 1)
FAIL: gnu.testlet.java.text.DateFormatSymbols.Test: patterns (number 2)
FAIL: gnu.testlet.java.text.SimpleDateFormat.Test: equals() (number 1)