[java] Tls implementation
[java] WeakMap fix