This is the mail archive of the
java-patches@sourceware.cygnus.com
mailing list for the Java project.
Patch: inner class test
- To: Java Patch List <java-patches at sourceware dot cygnus dot com>
- Subject: Patch: inner class test
- From: Tom Tromey <tromey at cygnus dot com>
- Date: 09 Feb 2000 13:32:54 -0700
- Reply-To: tromey at cygnus dot com
I'm checking in this patch, which adds another compiler test for inner
classes.
2000-02-09 Tom Tromey <tromey@cygnus.com>
* libjava.compile/inner_priv.java: New file.
Tom
Index: libjava.compile/inner_priv.java
===================================================================
RCS file: inner_priv.java
diff -N inner_priv.java
--- /dev/null Tue May 5 13:32:27 1998
+++ inner_priv.java Wed Feb 9 12:30:40 2000
@@ -0,0 +1,11 @@
+// Test to ensure that private inner classes are ok.
+
+public class inner_priv
+{
+ private class K
+ {
+ int z;
+ }
+
+ K foo;
+}