Another inner class test

Anthony Green green@cygnus.com
Sat Feb 12 14:56:00 GMT 2000


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


More information about the Java-patches mailing list