mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-27 23:04:50 +02:00
8283234: Improve @jls usage in java.base
Reviewed-by: iris
This commit is contained in:
parent
9b8afce379
commit
0cf291bc31
5 changed files with 21 additions and 21 deletions
|
@ -1,5 +1,5 @@
|
|||
/*
|
||||
* Copyright (c) 2003, 2020, Oracle and/or its affiliates. All rights reserved.
|
||||
* Copyright (c) 2003, 2022, Oracle and/or its affiliates. All rights reserved.
|
||||
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
||||
*
|
||||
* This code is free software; you can redistribute it and/or modify it
|
||||
|
@ -30,8 +30,8 @@ package java.lang.reflect;
|
|||
* A type variable is created the first time it is needed by a reflective
|
||||
* method, as specified in this package. If a type variable t is referenced
|
||||
* by a type (i.e, class, interface or annotation type) T, and T is declared
|
||||
* by the nth enclosing class of T (see JLS 8.1.2), then the creation of t
|
||||
* requires the resolution (see JVMS 5) of the ith enclosing class of T,
|
||||
* by the n<sup>th</sup> enclosing class of T (see JLS {@jls 8.1.2}), then the creation of t
|
||||
* requires the resolution (see JVMS {@jvms 5}) of the i<sup>th</sup> enclosing class of T,
|
||||
* for i = 0 to n, inclusive. Creating a type variable must not cause the
|
||||
* creation of its bounds. Repeated creation of a type variable has no effect.
|
||||
*
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue