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]

Patch: inner class test case


I'm committing this patch.  It is a test case for inner classes.
(No, the inner class code isn't in the compiler yet.)

2000-01-18  Tom Tromey  <tromey@cygnus.com>

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

Tom

? libjava.compile/G19990210_1.class
Index: libjava.compile/inner_pub.java
===================================================================
RCS file: inner_pub.java
diff -N inner_pub.java
--- /dev/null	Tue May  5 13:32:27 1998
+++ inner_pub.java	Wed Jan 19 08:45:39 2000
@@ -0,0 +1,11 @@
+// Test to ensure that public inner classes work.
+
+public class inner_pub
+{
+  public class really_inner
+  {
+    int z;
+  }
+
+  really_inner foo;
+}

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