harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "dafeng (Created) (JIRA)" <j...@apache.org>
Subject [jira] [Created] (HARMONY-6690) java.lang.InheritableThreadLocal didn't set java.lang.Thread
Date Sun, 30 Oct 2011 07:57:32 GMT
java.lang.InheritableThreadLocal didn't set java.lang.Thread 
-------------------------------------------------------------

                 Key: HARMONY-6690
                 URL: https://issues.apache.org/jira/browse/HARMONY-6690
             Project: Harmony
          Issue Type: Bug
          Components: Classlib
    Affects Versions: 5.0M15
         Environment: all
            Reporter: dafeng
            Priority: Minor


/harmony/enhanced/java/trunk/drlvm/vm/vmcore/src/kernel_classes/javasrc/java/lang/ThreadLocal.java
uses localValues field of thread.  InheritableThreadLocal should use inheritableValues in
initValues() and 
values() method.

=============
Thread:
157 	/*
158 	* ThreadLocal values: local and inheritable
159 	*
160 	*/
161 	ThreadLocal.Values localValues;
162 	ThreadLocal.Values inheritableValues; 
================
ThreadLocal:
100 	/**
101 	* Creates Values instance for this thread and variable type.
102 	*/
103 	Values initializeValues(Thread current) {
104 	return current.localValues = new Values();
105 	}
106 	
107 	/**
108 	* Gets Values instance for this thread and variable type.
109 	*/
110 	Values values(Thread current) {
111 	return current.localValues;
112 	} 

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message