adobe / adobe/phased-testing

Resolve issue witth the deprecation of newInstance()

Open
#22 0 comments 0 reactions 0 assignees View on GitHub
enhancement
Dominant language
Java
Stars
9
Forks
4
Avg merge
2d 5h
Merged PRs (30d)
7

Description

Since moving to java11 we seem to be getin deprecated formats. Example:

Object[][] com.adobe.campaign.tests.integro.phased.PhasedTestManager.fetchDataProviderValues(Class in_phasedTestClass)

we have he code:
`return (Object[][]) m.invoke(l_dataProviderClass.newInstance(), new Object[0]);`

we get the following errror:
`The method newInstance() from the type Class is deprecated since version 9`

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.