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
4 changed files with 20 additions and 12 deletions
|
@ -4,7 +4,7 @@ import java.util.Random;
|
|||
|
||||
public class inner_data
|
||||
{
|
||||
private class Randomer extends Random {
|
||||
private class Randomer extends Super {
|
||||
public long xxx ()
|
||||
{
|
||||
return seed;
|
||||
|
@ -12,3 +12,7 @@ public class inner_data
|
|||
}
|
||||
}
|
||||
|
||||
class Super
|
||||
{
|
||||
protected long seed;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue