On Wed, 16 Dec 2020 15:17:57 GMT, Julia Boes <[email protected]> wrote:
> Another change to align with upcoming changes in the JLS terminology ('type'
> versus 'class and interface').
>
> For background see:
> https://download.java.net/java/early_access/jdk16/docs/specs/class-terminology-jls.html
>
> Where a class models types (as in the type of a variable or an expression),
> the change in terminology is mostly not applicable. For easier reviewing,
> paragraphs will only be reflowed before the PR is integrated.
Marked as reviewed by darcy (Reviewer).
src/java.base/share/classes/java/lang/reflect/ProxyGenerator.java line 209:
> 207: *
> 208: * @param classes an array of classes or interfaces
> 209: * @return the array of class and interface names; or null if
> classes is empty
Slightly better as "...or null if classes is null or empty".
-------------
PR: https://git.openjdk.java.net/jdk16/pull/36