Return-Path: Delivered-To: apmail-harmony-commits-archive@www.apache.org Received: (qmail 13064 invoked from network); 22 Dec 2006 09:29:44 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 22 Dec 2006 09:29:44 -0000 Received: (qmail 36708 invoked by uid 500); 22 Dec 2006 09:29:51 -0000 Delivered-To: apmail-harmony-commits-archive@harmony.apache.org Received: (qmail 36686 invoked by uid 500); 22 Dec 2006 09:29:51 -0000 Mailing-List: contact commits-help@harmony.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@harmony.apache.org Delivered-To: mailing list commits@harmony.apache.org Received: (qmail 36677 invoked by uid 99); 22 Dec 2006 09:29:51 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 22 Dec 2006 01:29:51 -0800 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO brutus.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 22 Dec 2006 01:29:43 -0800 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 28C42714293 for ; Fri, 22 Dec 2006 01:29:23 -0800 (PST) Message-ID: <18181016.1166779763164.JavaMail.jira@brutus> Date: Fri, 22 Dec 2006 01:29:23 -0800 (PST) From: "Mikhail Loenko (JIRA)" To: commits@harmony.apache.org Subject: [jira] Resolved: (HARMONY-2834) [drlvm] ZipEntryTest failes due to incorrect args transition In-Reply-To: <26174565.1166703741076.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org [ http://issues.apache.org/jira/browse/HARMONY-2834?page=all ] Mikhail Loenko resolved HARMONY-2834. ------------------------------------- Resolution: Fixed applied in revision 489588 > [drlvm] ZipEntryTest failes due to incorrect args transition > ------------------------------------------------------------ > > Key: HARMONY-2834 > URL: http://issues.apache.org/jira/browse/HARMONY-2834 > Project: Harmony > Issue Type: Bug > Components: DRLVM > Reporter: George Timoshenko > Assigned To: Mikhail Loenko > Attachments: HARMONY-2834.patch > > > The problem was raized by Mikhail Loenko in the mail-list: > ========== > the test > org/apache/harmony/archive/tests/java/util/zip/ZipEntryTest.java > fails on drlvm on linux on x64 > though the test itself is not perfect, it seems like that > in zip.c we pass long converted from U_32: > java_ZipEntry = ((*env)->NewObject (env, javaClass, mid, entryName, > NULL, /* comment */ > extra, > (jlong) zipEntry.lastModTime, > (jlong) zipEntry.uncompressedSize, > (jlong) zipEntry.compressedSize, > (jlong) zipEntry.crc32, > zipEntry.compressionMethod, > (jlong) zipEntry.lastModDate, > (jlong) zipEntry.dataPointer)); > but in ZipEntry constructor we receive a value that is more than max integer > Something is wrong in JNI ? > Thanks, > Mikhail > ======== > Investigation shows that the problem is in the stub generated by > invoke_managed_func_int_t gen_invoke_managed_func (ini_em64t.cpp:60) > rcx value is being tested incorrectly -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira