RFR: 8256154: Some TestNG tests require default constructors
Daniel Fuchs
dfuchs at openjdk.java.net
Thu Nov 19 15:12:01 UTC 2020
On Thu, 19 Nov 2020 13:50:30 GMT, Conor Cleary <ccleary at openjdk.org> wrote:
> In TestNG 7, it is a requirement that TestNG is able to create a Test object using a default constructor.
>
> This simple fix addresses two such classes so that this requirement is satisfied by inserting default construtors. Example: `public GetPackages() { ... }`
>
> test/jdk/java/lang/Package/GetPackages.java
> test/jdk/java/lang/StackWalker/Basic.java
Hi Conor,
Were you able to verify that the two tests passed properly (and non trivially) with both the current version of TestNG as well as the new version?
best regards,
-- daniel
-------------
PR: https://git.openjdk.java.net/jdk/pull/1317
More information about the core-libs-dev
mailing list