The class java.lang.ThreadLocal got a new method in Java 1.5: remove().
I'd suggest to integrate this class needed to retroweave Apache Myfaces Trinidad into retroweaver. For details see:
http://wiki.apache.org/myfaces/Trinidad_and_JDK_1%2e4
(bottom of the page)
greets,
Christian