remove test now we know Java9 is correct and we've adapted

Project: http://git-wip-us.apache.org/repos/asf/commons-compress/repo
Commit: http://git-wip-us.apache.org/repos/asf/commons-compress/commit/2ed2771c
Tree: http://git-wip-us.apache.org/repos/asf/commons-compress/tree/2ed2771c
Diff: http://git-wip-us.apache.org/repos/asf/commons-compress/diff/2ed2771c

Branch: refs/heads/master
Commit: 2ed2771ca993f24ec6a9511f870d1612a58cfcf7
Parents: 8526b85
Author: Stefan Bodewig <bode...@apache.org>
Authored: Tue Jul 4 10:52:44 2017 +0200
Committer: Stefan Bodewig <bode...@apache.org>
Committed: Tue Jul 4 10:52:44 2017 +0200

----------------------------------------------------------------------
 .../archivers/zip/Java9ZipEntryTimeTest.java    | 48 --------------------
 1 file changed, 48 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/commons-compress/blob/2ed2771c/src/test/java/org/apache/commons/compress/archivers/zip/Java9ZipEntryTimeTest.java
----------------------------------------------------------------------
diff --git 
a/src/test/java/org/apache/commons/compress/archivers/zip/Java9ZipEntryTimeTest.java
 
b/src/test/java/org/apache/commons/compress/archivers/zip/Java9ZipEntryTimeTest.java
deleted file mode 100644
index d5a641b..0000000
--- 
a/src/test/java/org/apache/commons/compress/archivers/zip/Java9ZipEntryTimeTest.java
+++ /dev/null
@@ -1,48 +0,0 @@
-/*
- *  Licensed to the Apache Software Foundation (ASF) under one or more
- *  contributor license agreements.  See the NOTICE file distributed with
- *  this work for additional information regarding copyright ownership.
- *  The ASF licenses this file to You under the Apache License, Version 2.0
- *  (the "License"); you may not use this file except in compliance with
- *  the License.  You may obtain a copy of the License at
- *
- *      http://www.apache.org/licenses/LICENSE-2.0
- *
- *  Unless required by applicable law or agreed to in writing, software
- *  distributed under the License is distributed on an "AS IS" BASIS,
- *  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- *  See the License for the specific language governing permissions and
- *  limitations under the License.
- *
- */
-
-package org.apache.commons.compress.archivers.zip;
-
-import java.io.File;
-import java.util.Calendar;
-import java.util.Date;
-import java.util.TimeZone;
-import java.util.zip.ZipEntry;
-
-import org.junit.Assert;
-import org.junit.Test;
-
-public class Java9ZipEntryTimeTest {
-
-    /**
-     * Fails on Java 9.
-     * 
-     * @throws Exception
-     */
-    @Test
-    public void testJUZTimes() throws Exception {
-        final File archive = new 
File("src/test/resources/COMPRESS-210_unix_time_zip_test.zip");
-        try (java.util.zip.ZipFile zf = new java.util.zip.ZipFile(archive)) {
-            final ZipEntry entry = 
zf.getEntry("COMPRESS-210_unix_time_zip_test/2105");
-            final Calendar girl = 
Calendar.getInstance(TimeZone.getTimeZone("GMT"));
-            girl.setTime(new Date(entry.getTime()));
-            final int year = girl.get(Calendar.YEAR);
-            Assert.assertEquals(2105, year);
-        }
-    }
-}

Reply via email to