Fix or remove some bogus test cases.
2004-07-09 Bryce McKinlay <mckinlay@redhat.com> Fix or remove some bogus test cases. * testsuite/libjava.compile/pr10459_2.java: Removed. * testsuite/libjava.compile/pr10459.java: Test using its own method, not Object.clone(). * testsuite/libjava.compile/inner_data.java: Test against its own protected field. From-SVN: r84420
This commit is contained in:
parent
3d0d0a7abc
commit
6e342fc100
|
@ -1,3 +1,12 @@
|
||||||
|
2004-07-09 Bryce McKinlay <mckinlay@redhat.com>
|
||||||
|
|
||||||
|
Fix or remove some bogus test cases.
|
||||||
|
* testsuite/libjava.compile/pr10459_2.java: Removed.
|
||||||
|
* testsuite/libjava.compile/pr10459.java: Test using its own method,
|
||||||
|
not Object.clone().
|
||||||
|
* testsuite/libjava.compile/inner_data.java: Test against its own
|
||||||
|
protected field.
|
||||||
|
|
||||||
2004-07-09 Michael Koch <konqueror@gmx.de>
|
2004-07-09 Michael Koch <konqueror@gmx.de>
|
||||||
|
|
||||||
* scripts/unicode-muncher.pl: Updated to version 2.1
|
* scripts/unicode-muncher.pl: Updated to version 2.1
|
||||||
|
|
|
@ -4,7 +4,7 @@ import java.util.Random;
|
||||||
|
|
||||||
public class inner_data
|
public class inner_data
|
||||||
{
|
{
|
||||||
private class Randomer extends Random {
|
private class Randomer extends Super {
|
||||||
public long xxx ()
|
public long xxx ()
|
||||||
{
|
{
|
||||||
return seed;
|
return seed;
|
||||||
|
@ -12,3 +12,7 @@ public class inner_data
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
class Super
|
||||||
|
{
|
||||||
|
protected long seed;
|
||||||
|
}
|
||||||
|
|
|
@ -4,7 +4,12 @@ public class pr10459
|
||||||
|
|
||||||
public void aMethod() throws Throwable
|
public void aMethod() throws Throwable
|
||||||
{
|
{
|
||||||
for (; ;x.clone().clone())
|
for (; ;x.foo().foo())
|
||||||
;
|
;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
pr10459 foo()
|
||||||
|
{
|
||||||
|
return null;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,10 +0,0 @@
|
||||||
public class pr10459_2
|
|
||||||
{
|
|
||||||
pr10459_2 x;
|
|
||||||
|
|
||||||
public void aMethod() throws Throwable
|
|
||||||
{
|
|
||||||
for (; ;x.clone().clone())
|
|
||||||
break;
|
|
||||||
}
|
|
||||||
}
|
|
Loading…
Reference in New Issue