parent
d6455b5baf
commit
762016bf0a
|
@ -1,3 +1,7 @@
|
|||
2000-02-12 Anthony Green <green@cygnus.com>
|
||||
|
||||
* libjava.compile/inner_data.java: New file.
|
||||
|
||||
2000-02-12 Anthony Green <green@cygnus.com>
|
||||
|
||||
* libjava.compile/inner_inherit.java: New file.
|
||||
|
|
|
@ -0,0 +1,14 @@
|
|||
// Test referencing protected data from parent of inner class.
|
||||
|
||||
import java.util.Random;
|
||||
|
||||
public class inner_data
|
||||
{
|
||||
private class Randomer extends Random {
|
||||
public long xxx ()
|
||||
{
|
||||
return seed;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue