[PATCH] Import java/lang/ThreadLocal.java from classpath, test.
Tom Tromey
tromey@redhat.com
Tue Jul 10 16:47:00 GMT 2001
>>>>> "Alex" == Alexandre Petit-Bianco <apbianco@cygnus.com> writes:
Alex> I need ThreadLocal for a package I'd like to build. I imported
Alex> ThreadLocal and wrote a test to make sure it functions minimally.
Alex> Test on x86/linux. OK to commit?
Yeah. Note however that ThreadLocal really requires WeakHashMap. We
"have" that, but it doesn't really work. I do have java.lang.ref.* in
a tree here, but I'm not quite ready to check it in yet. I will be
checking it in as soon as possible -- hopefully this month.
If you need InheritableThreadLocal then you also have to patch
Thread.java. I have this too. Sorry about holding these patches so
long. They really will go out soon.
Tom
More information about the Java-patches
mailing list