On Tue, 15 Feb 2022 01:13:43 GMT, Joe Darcy <da...@openjdk.org> wrote:

> Retrofitting of Parameter to implement Member, an interface already 
> implemented by similar reflective modeling classes.
> 
> Since Parameter is final, there is little compatibility impact from adding a 
> new method.
> 
> Please also review the corresponding CSR:
> 
> https://bugs.openjdk.java.net/browse/JDK-8281767
> 
> I'll update the copyright year before pushing; I judged this as trivial 
> enough to not require a regression test.

src/java.base/share/classes/java/lang/reflect/Parameter.java line 30:

> 28: import java.util.HashMap;
> 29: import java.util.Map;
> 30: import java.util.Set;

`java.util.Set` doesn’t seem to be referenced from anywhere else in this class.

-------------

PR: https://git.openjdk.java.net/jdk/pull/7468

Reply via email to