classpath-patches
[Top][All Lists]
Advanced

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

[cp-patches] [generics] Patch: FYI: japi bug in java.util.zip


From: Tom Tromey
Subject: [cp-patches] [generics] Patch: FYI: japi bug in java.util.zip
Date: 05 Oct 2005 18:34:27 -0600

I'm checking this in on the generics branch.

This fixes a java.util.zip buglet pointed out by japi.

Tom

2005-10-05  Tom Tromey  <address@hidden>

        * java/util/zip/ZipFile.java (entries): Fixed return type.

Index: java/util/zip/ZipFile.java
===================================================================
RCS file: /cvsroot/classpath/classpath/java/util/zip/ZipFile.java,v
retrieving revision 1.16.2.8
diff -u -r1.16.2.8 ZipFile.java
--- java/util/zip/ZipFile.java  27 Sep 2005 16:52:59 -0000      1.16.2.8
+++ java/util/zip/ZipFile.java  6 Oct 2005 00:39:58 -0000
@@ -368,7 +368,7 @@
    *
    * @exception IllegalStateException when the ZipFile has already been closed
    */
-  public Enumeration<ZipEntry> entries()
+  public Enumeration<? extends ZipEntry> entries()
   {
     checkClosed();
     




reply via email to

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