This is the mail archive of the java-patches@sourceware.cygnus.com mailing list for the Java project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Another inner class test



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

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]