RFR: 8256154: Some TestNG tests require default constructors

Conor Cleary ccleary at openjdk.java.net
Fri Nov 20 09:36:05 UTC 2020


On Thu, 19 Nov 2020 15:09:30 GMT, Daniel Fuchs <dfuchs at openjdk.org> wrote:

> 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

Hi Daniel,

Yes, I was able to verify that the tests do indeed fail with TestNG 7.1

7.1 is the version that is currently specified with the latest Jtreg build, see L54 in https://github.com/openjdk/jtreg/blob/master/make/build-support/version-numbers

Tests failed across Mac, Linux and Windows platforms with `org.testng.TestNGException: An error occurred while instantiating class SomeTestClass. Check to make sure it can be instantiated
` 

However when modified as in this PR, they pass.

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

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


More information about the core-libs-dev mailing list