[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: bug in java.util.Map

From: Eric Blake
Subject: Re: bug in java.util.Map
Date: Tue, 20 Jan 2004 21:50:22 -0700
User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.4) Gecko/20030624

That is not a bug. Map is an interface, so all inner types are implicitly public. Our coding standard discourages redundant modifiers, so please do not apply this patch.

Matthias Pfisterer wrote:

I found a minor bug in java.util.Map: the inner class Entry has to be public. Diff is attached.



Index: java/util/
RCS file: /cvsroot/classpath/classpath/java/util/,v
retrieving revision 1.11
diff -u -r1.11
--- java/util/  15 Oct 2003 12:29:35 -0000      1.11
+++ java/util/  20 Jan 2004 20:34:32 -0000
@@ -264,7 +264,7 @@
    * @since 1.2
    * @status updated to 1.4
-  static interface Entry
+  public static interface Entry
      * Get the key corresponding to this entry.


Classpath mailing list

Someday, I might put a cute statement here.

Eric Blake             address@hidden

reply via email to

[Prev in Thread] Current Thread [Next in Thread]