8257636: Update usage of "type" terminology in java.lang.Class and java.lang.reflect

Reviewed-by: darcy
This commit is contained in:
Julia Boes 2020-12-17 11:32:58 +00:00
parent 04a1e5b75b
commit 952dc70402
14 changed files with 74 additions and 73 deletions

View file

@ -203,10 +203,11 @@ final class ProxyGenerator extends ClassWriter {
}
/**
* Return an array of the type names from an array of Classes.
* Return an array of the class and interface names from an array of Classes.
*
* @param classes an array of classes or interfaces
* @return the array of class names; or null if there are no classes
* @return the array of class and interface names; or null if classes is
* null or empty
*/
private static String[] typeNames(List<Class<?>> classes) {
if (classes == null || classes.size() == 0)