diff -r fa61a37ed42b -r c17100862d86 jdk/src/share/classes/java/lang/ThreadLocal.java --- a/jdk/src/share/classes/java/lang/ThreadLocal.java Wed Jul 03 19:47:15 2013 -0400 +++ b/jdk/src/share/classes/java/lang/ThreadLocal.java Wed Jul 03 17:08:14 2013 -0700 @@ -131,12 +131,13 @@ * Creates a thread local variable. The initial value of the variable is * determined by invoking the {@code get} method on the {@code Supplier}. * + * @param the type of the thread local's value * @param supplier the supplier to be used to determine the initial value * @return a new thread local variable * @throws NullPointerException if the specified supplier is null * @since 1.8 */ - public static ThreadLocal withInitial(Supplier supplier) { + public static ThreadLocal withInitial(Supplier supplier) { return new SuppliedThreadLocal<>(supplier); }