diff --git a/src/test/java/org/zeroturnaround/zip/UmlautTest.java b/src/test/java/org/zeroturnaround/zip/UmlautTest.java
index <HASH>..<HASH> 100644
--- a/src/test/java/org/zeroturnaround/zip/UmlautTest.java
+++ b/src/test/java/org/zeroturnaround/zip/UmlautTest.java
@@ -38,9 +38,9 @@ public class UmlautTest extends TestCase {
 
   public void testZipFileGetEntriesWithCharset() throws Exception {
     ZipFile zf = ZipFileUtil.getZipFile(file, Charset.forName("UTF8"));
-    Enumeration<? extends ZipEntry> entries = zf.entries();
+    Enumeration entries = zf.entries();
     while (entries.hasMoreElements()) {
-      ZipEntry ze = entries.nextElement();
+      ZipEntry ze = (ZipEntry) entries.nextElement();
       assertTrue(ze.getName(), fileContents.contains(ze.getName()));
     }
   }
Removed Generics - apparentally we compile with source <I>