cbeust / jcommander

Command line parsing framework for Java
Apache License 2.0
1.96k stars 334 forks source link

Remove calls to java.lang.Class#newInstance() #442

Open lorenzleutgeb opened 6 years ago

lorenzleutgeb commented 6 years ago

The method [java.lang.Class#newInstance](https://docs.oracle.com/javase/10/docs/api/java/lang/Class.html#newInstance()) is deprecated since Java 9.

It is being used in JCommander. Please refactor JCommander to avoid calling this deprecated API. Thank you.