Return-Path: Delivered-To: apmail-harmony-commits-archive@www.apache.org Received: (qmail 25259 invoked from network); 4 Jun 2007 17:23:00 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 4 Jun 2007 17:23:00 -0000 Received: (qmail 34729 invoked by uid 500); 4 Jun 2007 17:23:04 -0000 Delivered-To: apmail-harmony-commits-archive@harmony.apache.org Received: (qmail 34703 invoked by uid 500); 4 Jun 2007 17:23:03 -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 34694 invoked by uid 99); 4 Jun 2007 17:23:03 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 04 Jun 2007 10:23:03 -0700 X-ASF-Spam-Status: No, hits=-100.0 required=10.0 tests=ALL_TRUSTED 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; Mon, 04 Jun 2007 10:22:59 -0700 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 71596714191 for ; Mon, 4 Jun 2007 10:22:39 -0700 (PDT) Message-ID: <27388236.1180977759025.JavaMail.jira@brutus> Date: Mon, 4 Jun 2007 10:22:38 -0700 (PDT) From: "Tim Ellison (JIRA)" To: commits@harmony.apache.org Subject: [jira] Closed: (HARMONY-3713) [classlib][launcher] DetachCurrentThread() is called before DestroyJavaVM() In-Reply-To: <18183110.1177064535482.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 [ https://issues.apache.org/jira/browse/HARMONY-3713?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Tim Ellison closed HARMONY-3713. -------------------------------- No response, assuming ok. > [classlib][launcher] DetachCurrentThread() is called before DestroyJavaVM() > --------------------------------------------------------------------------- > > Key: HARMONY-3713 > URL: https://issues.apache.org/jira/browse/HARMONY-3713 > Project: Harmony > Issue Type: Bug > Components: Classlib > Reporter: Eugene S. Ostrovsky > Assignee: Tim Ellison > Attachments: H3713-Fix.patch > > > Spec ( http://java.sun.com/j2se/1.5.0/docs/guide/jni/spec/invocation.html#wp16553 ) says: > "The main thread cannot detach itself from the VM. Instead, it must call DestroyJavaVM() to unload the entire VM" > In current launcher implementation (main.c) we have: > ... > (*jvm)->DetachCurrentThread(jvm); > (*jvm)->DestroyJavaVM (jvm); > ... > This bug affects jvmti: HARMONY-3532 -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.