You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@harmony.apache.org by "Pavel Pervov (JIRA)" <ji...@apache.org> on 2007/05/23 16:41:16 UTC

[jira] Commented: (HARMONY-3909) [DRLVM][Thread] Problems with associating native thread with Java thread when using AttachCurrentThread[AsDaemon]

    [ https://issues.apache.org/jira/browse/HARMONY-3909?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12498253 ] 

Pavel Pervov commented on HARMONY-3909:
---------------------------------------

Concerning 2) Look here: http://java.sun.com/j2se/1.5.0/docs/guide/jni/spec/invocation.html#attach_current_thread
"When a thread is attached to the VM, the context class loader is the bootstrap loader."

> [DRLVM][Thread] Problems with associating native thread with Java thread when using AttachCurrentThread[AsDaemon]
> -----------------------------------------------------------------------------------------------------------------
>
>                 Key: HARMONY-3909
>                 URL: https://issues.apache.org/jira/browse/HARMONY-3909
>             Project: Harmony
>          Issue Type: Bug
>          Components: DRLVM
>         Environment: win/linux 32/64
>            Reporter: Li-Gang Wang
>
> There are two problems when associating native threads to Java ones with the threading API AttachCurrentThread[AsDaemon]:
> 1. The newly associated Java thread's group is not properly assigned. In Eclipse debugger all threads and thread groups can not be seen when turning on 'view thread groups'.
> 2. The newly associated Java threads are not assigned a context class loader.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.