New inner class test

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


I'm committing the following new test case...

2000-02-12  Anthony Green  <green@cygnus.com>

	    * libjava.compile/inner_inherit.java: New file.

Index: inner_inherit.java
===================================================================
RCS file: inner_inherit.java
diff -N inner_inherit.java
--- /dev/null	Tue May  5 13:32:27 1998
+++ inner_inherit.java	Sat Feb 12 14:43:42 2000
@@ -0,0 +1,14 @@
+// Test to insure that we can refer to methods inherited through an
+// inner class.
+
+public class inner_inherit
+{
+    private class Agent extends Thread {
+    }
+
+    public void f ()
+    {
+	Agent a = new Agent();
+	a.setDaemon(true);
+    }
+}

-- 
Anthony Green                                                        Red Hat
                                                       Sunnyvale, California


More information about the Java-patches mailing list