-
Bug
-
Resolution: Fixed
-
P3
-
16
-
b26
Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-8279665 | 11.0.15-oracle | Gauri Patil | P3 | Resolved | Fixed | b02 |
JDK-8279851 | 11.0.15 | Goetz Lindenmaier | P3 | Resolved | Fixed | b01 |
Some tests use a non-standard pattern of static test methods, such that they have not hitherto required an instance object, and these tests do not have a default constructor that can be invoked by TestNG.
In TestNG 7, it is required that TestNG can create a test object: a test will now fail if a test object cannot be created, even if it is not required by the test method.
In core-libs, there are two such tests:
test/jdk/java/lang/Package/GetPackages.java
test/jdk/java/lang/StackWalker/Basic.java
In TestNG 7, it is required that TestNG can create a test object: a test will now fail if a test object cannot be created, even if it is not required by the test method.
In core-libs, there are two such tests:
test/jdk/java/lang/Package/GetPackages.java
test/jdk/java/lang/StackWalker/Basic.java
- backported by
-
JDK-8279665 Some TestNG tests require default constructors
- Resolved
-
JDK-8279851 Some TestNG tests require default constructors
- Resolved
- links to
-
Commit openjdk/jdk11u-dev/1c7af7ec
-
Commit openjdk/jdk/5ed70448
-
Review openjdk/jdk11u-dev/747
-
Review openjdk/jdk/1317
(1 links to)