Skip to content

Commit

Permalink
Fix javadoc build
Browse files Browse the repository at this point in the history
  • Loading branch information
AlanBateman committed Mar 15, 2021
1 parent beefaaa commit d87fad7
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions src/java.base/share/classes/java/lang/ScopeLocal.java
Expand Up @@ -199,7 +199,7 @@ private ScopeLocal(Class<? super T> type, boolean isInheritable) {
*
* @param <T> the type of the scoped variable's value.
* @param <U> a supertype of {@code T}. It should either be {@code T} itself or, if T is a parameterized type, its generic type.
* @param type The {@Class} instance {@codeT.class}
* @param type The {@code Class} instance {@code T.class}
* @return a scope variable
*/
public static <U,T extends U> ScopeLocal<T> forType(Class<U> type) {
Expand All @@ -211,7 +211,7 @@ public static <U,T extends U> ScopeLocal<T> forType(Class<U> type) {
*
* @param <T> the type of the scoped variable's value.
* @param <U> a supertype of {@code T}. It should either be {@code T} itself or, if T is a parameterized type, its generic type.
* @param type The {@Class} instance {@codeT.class}
* @param type The {@code Class} instance {@code T.class}
* @return a scope variable
*/
public static <U,T extends U> ScopeLocal<T> inheritableForType(Class<U> type) {
Expand Down
2 changes: 1 addition & 1 deletion src/java.base/share/classes/java/lang/Thread.java
Expand Up @@ -153,7 +153,7 @@
*
* <h2><a id="inheritance">Inheritance</a></h2>
* Creating a {@code Thread} will inherit, by default, the initial values of {@code
* InheritableThreadLocal} variables, {@linkplain Scoped#inheritableForType(Class)
* InheritableThreadLocal} variables, {@linkplain ScopeLocal#inheritableForType(Class)
* inheritable-scoped-variables}, and a number of properties from the parent thread:
* <ul>
* <li> Platform threads inherit the daemon status, priority, and thread-group.
Expand Down

0 comments on commit d87fad7

Please sign in to comment.