classpath
[Top][All Lists]
Advanced

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

bug in java.util.Map


From: Matthias Pfisterer
Subject: bug in java.util.Map
Date: Tue, 20 Jan 2004 21:35:21 +0100
User-agent: Mozilla/5.0 (X11; U; Linux i586; en-US; rv:1.0.0) Gecko/20020623 Debian/1.0.0-0.woody.1

Hi,

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

Matthias

--
Matthias Pfisterer      <mailto:address@hidden>
Reuchlinstrasse 28      phone ++49-711-62 87 12
D-70176 Stuttgart       (in Deutschland 0711-62 87 12)
GERMANY

Work like you don't need the money.
Love like you've never been hurt.
Dance like nobody is watching.

Java Sound Resources (examples, FAQ, applications):
http://www.jsresources.org/

Tritonus, the open source implementation of the Java Sound API:
http://www.tritonus.org/
--------------------------------------------------------------
Index: java/util/Map.java
===================================================================
RCS file: /cvsroot/classpath/classpath/java/util/Map.java,v
retrieving revision 1.11
diff -u -r1.11 Map.java
--- java/util/Map.java  15 Oct 2003 12:29:35 -0000      1.11
+++ java/util/Map.java  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.

reply via email to

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