gwtproject / gwt

GWT Open Source Project
http://www.gwtproject.org
1.5k stars 371 forks source link

ThreadLocal does not implement initialValue() #9627

Open ronshapiro opened 5 years ago

ronshapiro commented 5 years ago

ThreadLocal is missing the initialValue() method from the JDK. I'd like to add it.

Current GWT code: https://github.com/gwtproject/gwt/blob/4825d47eee7505346de372a159db55b18b006a2a/user/super/com/google/gwt/emul/java/lang/ThreadLocal.java

JDK API: https://docs.oracle.com/javase/7/docs/api/java/lang/ThreadLocal.html#initialValue()

jnehlmeier commented 5 years ago

https://gwt-review.googlesource.com/c/gwt/+/21160

niloc132 commented 4 years ago

If we're still aiming to land this in 2.9, please follow up on the review feedback.