OSDN Git Service

Modified Thread to copy the context class loader from parent to child threads. Re...
authorcrazybob <crazybob@google.com>
Tue, 16 Jun 2009 17:01:05 +0000 (12:01 -0500)
committercrazybob <crazybob@google.com>
Tue, 16 Jun 2009 17:01:05 +0000 (12:01 -0500)
commit77a0d8ed528e8f3f4dbaed9e1c81761293c15c35
tree08f7de3a6f2258e8a4accb8b0d548753af91869c
parent729c70568dac17c7178bbeccdde39fc21b9d5c1c
Modified Thread to copy the context class loader from parent to child threads. Re-enabled test that covers this. Removed security-related code from test since it was invalid (the security check
    doesn't occur if the calling code's class loader is an ancestor of the context class loader).
libcore/luni-kernel/src/main/java/java/lang/Thread.java
libcore/luni/src/test/java/org/apache/harmony/luni/tests/java/lang/ThreadTest.java