This is the mail archive of the
java-patches@sourceware.cygnus.com
mailing list for the Java project.
New inner class test
- To: java-patches at sourceware dot cygnus dot com
- Subject: New inner class test
- From: Anthony Green <green at cygnus dot com>
- Date: Sat, 12 Feb 2000 14:45:09 -0800
- Reply-to: green at redhat dot com
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