Why not just clazz.getConstructor().newInstance()?
> + * can be replaced by
> + *
> + * <pre>{@code
> + * clazz.getConstructor(new Class<?>[0]).newInstance((Object[])null);
> + * }</pre>- JDK 9 RFR of JDK-8159330: Improve deprecation text for Class.n... joe darcy
- Re: JDK 9 RFR of JDK-8159330: Improve deprecation text fo... Wang Weijun
