Konrad Windszus created JCR-5154: ------------------------------------ Summary: Replace deprecated call of Class.newInstance() Key: JCR-5154 URL: https://issues.apache.org/jira/browse/JCR-5154 Project: Jackrabbit Content Repository Issue Type: Improvement Reporter: Konrad Windszus
Since Java 9 the method [Class.newInstance() is deprecated|https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/Class.html#newInstance()]. Those methods should be replaced by {code} clazz.getDeclaredConstructor().newInstance() {code} -- This message was sent by Atlassian Jira (v8.20.10#820010)