This is the mail archive of the
java-patches@sourceware.cygnus.com
mailing list for the Java project.
Another inner class test
- To: java-patches at sourceware dot cygnus dot com
- Subject: Another inner class test
- From: Anthony Green <green at cygnus dot com>
- Date: Sat, 12 Feb 2000 14:56:54 -0800
- Reply-to: green at redhat dot com
I'm committing the following new test...
2000-02-12 Anthony Green <green@cygnus.com>
* libjava.compile/inner_data.java: New file.
Index: inner_data.java
===================================================================
RCS file: inner_data.java
diff -N inner_data.java
--- /dev/null Tue May 5 13:32:27 1998
+++ inner_data.java Sat Feb 12 14:55:27 2000
@@ -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;
+ }
+ }
+}
+
--
Anthony Green Red Hat
Sunnyvale, California