harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Tim Ellison (JIRA)" <j...@apache.org>
Subject [jira] Closed: (HARMONY-3713) [classlib][launcher] DetachCurrentThread() is called before DestroyJavaVM()
Date Mon, 04 Jun 2007 17:22:38 GMT

     [ 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.


Mime
View raw message