Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id 68A9D200CBA for ; Mon, 3 Jul 2017 15:08:08 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 674A4160BE4; Mon, 3 Jul 2017 13:08:08 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id AF38E160BEC for ; Mon, 3 Jul 2017 15:08:07 +0200 (CEST) Received: (qmail 28151 invoked by uid 500); 3 Jul 2017 13:08:06 -0000 Mailing-List: contact issues-help@commons.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: issues@commons.apache.org Delivered-To: mailing list issues@commons.apache.org Received: (qmail 27873 invoked by uid 99); 3 Jul 2017 13:08:06 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd1-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 03 Jul 2017 13:08:06 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd1-us-west.apache.org (ASF Mail Server at spamd1-us-west.apache.org) with ESMTP id CD0D5CF1C2 for ; Mon, 3 Jul 2017 13:08:05 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd1-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -99.211 X-Spam-Level: X-Spam-Status: No, score=-99.211 tagged_above=-999 required=6.31 tests=[KAM_ASCII_DIVIDERS=0.8, SPF_PASS=-0.001, T_RP_MATCHES_RCVD=-0.01, USER_IN_WHITELIST=-100] autolearn=disabled Received: from mx1-lw-eu.apache.org ([10.40.0.8]) by localhost (spamd1-us-west.apache.org [10.40.0.7]) (amavisd-new, port 10024) with ESMTP id l2MPjy4acHHf for ; Mon, 3 Jul 2017 13:08:05 +0000 (UTC) Received: from mailrelay1-us-west.apache.org (mailrelay1-us-west.apache.org [209.188.14.139]) by mx1-lw-eu.apache.org (ASF Mail Server at mx1-lw-eu.apache.org) with ESMTP id 529625FCB9 for ; Mon, 3 Jul 2017 13:08:04 +0000 (UTC) Received: from jira-lw-us.apache.org (unknown [207.244.88.139]) by mailrelay1-us-west.apache.org (ASF Mail Server at mailrelay1-us-west.apache.org) with ESMTP id ABF86E0069 for ; Mon, 3 Jul 2017 13:08:03 +0000 (UTC) Received: from jira-lw-us.apache.org (localhost [127.0.0.1]) by jira-lw-us.apache.org (ASF Mail Server at jira-lw-us.apache.org) with ESMTP id 73B7C2460A for ; Mon, 3 Jul 2017 13:08:00 +0000 (UTC) Date: Mon, 3 Jul 2017 13:08:00 +0000 (UTC) From: "Simon Spero (JIRA)" To: issues@commons.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (COMPRESS-416) Tests failing under jdk 9 : one reflection issue, one change to ZipEntry related issue MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Mon, 03 Jul 2017 13:08:08 -0000 [ https://issues.apache.org/jira/browse/COMPRESS-416?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16072408#comment-16072408 ] Simon Spero commented on COMPRESS-416: -------------------------------------- I think I mostly understand the issue now. # There are three different formats in which Zip can store times # Two of these formats will overflow around the year 2107-8 # JDK 9 transparently switches from using dos times or xtra dos times to using NTFS times # JDK 9 now switches over to NTFS times at the end of 2099. # Since some of this logic is in the set code, there may be a bogus timestamp stored. # I haven't checked to see if the problem can happen with java utils ZipInputStream on the same test file, or if the problem comes from commons-compress. If the problem occurs using the test file with the java libs, then it's definitely a jdk bug. # If the test is hacked to say that xtended time is always used, the tests all pass. # This may > Tests failing under jdk 9 : one reflection issue, one change to ZipEntry related issue > -------------------------------------------------------------------------------------- > > Key: COMPRESS-416 > URL: https://issues.apache.org/jira/browse/COMPRESS-416 > Project: Commons Compress > Issue Type: Bug > Affects Versions: 1.14, 1.15 > Environment: JDK 9 ( jdk9 tree tip - I believe this is what will be the RC, or if not, what would have been RC). > java.runtime.version = 9-internal+0-adhoc.ses.jdk9 > java.specification.version = 9 > java.version = 9-internal > java.vm.specification.version = 9 > os.arch = amd64 > os.name = Linux > os.version = 4.4.0-81-generic > Reporter: Simon Spero > Fix For: 1.15 > > Attachments: surefire-reports.zip > > > X5455_ExtendedTimestampTest is failing under JDK 9 , due to what appears to be a bogus value returned from getTime(). It seems like the test failure might be due to the changes introduced for this: > https://bugs.openjdk.java.net/browse/JDK-8073497 > Tests were run using intelliJ TestRunner, using the openjdk9 build from the tip of the jdk9 tree (not dev). I believe that this is at most one commit away from what will be the RC (which was delayed at the last minute due to two issues, one of which was javadoc related, and the other hotspot. -- This message was sent by Atlassian JIRA (v6.4.14#64029)