source:
trunk/gcc/libjava/testsuite/libjava.compile/inner_data.java
Last change on this file was 2, checked in by , 22 years ago | |
---|---|
|
|
File size: 213 bytes |
Line | |
---|---|
1 | // Test referencing protected data from parent of inner class. |
2 | |
3 | import java.util.Random; |
4 | |
5 | public class inner_data |
6 | { |
7 | private class Randomer extends Random { |
8 | public long xxx () |
9 | { |
10 | return seed; |
11 | } |
12 | } |
13 | } |
14 |
Note:
See TracBrowser
for help on using the repository browser.