Integrated: 8256154: Some TestNG tests require default constructors

Conor Cleary ccleary at openjdk.java.net
Mon Nov 23 11:52:59 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

This pull request has now been integrated.

Changeset: 5ed70448
Author:    Conor Cleary <ccleary at openjdk.org>
Committer: Lance Andersen <lancea at openjdk.org>
URL:       https://git.openjdk.java.net/jdk/commit/5ed70448
Stats:     13 lines in 2 files changed: 11 ins; 0 del; 2 mod

8256154: Some TestNG tests require default constructors

Reviewed-by: dfuchs, bpb

-------------

PR: https://git.openjdk.java.net/jdk/pull/1317


More information about the core-libs-dev mailing list