This is the mail archive of the java-patches@gcc.gnu.org mailing list for the Java project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: [PATCH] Import java/lang/ThreadLocal.java from classpath, test.


>>>>> "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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]