https://bz.apache.org/ooo/show_bug.cgi?id=128455
Issue ID: 128455
Issue Type: DEFECT
Summary: update JUnit4 from 4.12 to latest 4.13.2
Product: QA
Version: 4.2.0-dev
Hardware: All
OS: All
Status: CONFIRMED
Severity: Normal
Priority: P5 (lowest)
Component: framework
Assignee: [email protected]
Reporter: [email protected]
Target Milestone: ---
Issue to track work on updating JUnit from 4.12 to latest JUnit4 4.13.2.
Previous updating from 4.10 to 4.12 was under issue 128452 [1].
This update will require changes to NamedRequest.java [2] due to a change in
JUnit 4.13 ParentRunner.java [3] where a second constructor was added which now
throws an error when instantiating the inner class Suite with a null arg.
[javac]
<path-to>/openoffice/test/testcommon/source/org/openoffice/test/common/NamedRequest.java:161:
error: reference to ParentRunner is ambiguous, both constructor
ParentRunner(Class<?>) in ParentRunner and constructor ParentRunner(TestClass)
in ParentRunner match
[javac] super(null);
[javac] ^
[javac] Note: Some input files use or override a deprecated API.
[javac] Note: Recompile with -Xlint:deprecation for details.
[javac] 1 error
[javac] 1 warning
BUILD FAILED
/home/carl/dev-git/openoffice/test/build.xml:80: Compile failed; see the
compiler error output for details.
[1] https://bz.apache.org/ooo/show_bug.cgi?id=128452
[2]
https://github.com/apache/openoffice/blob/trunk/test/testcommon/source/org/openoffice/test/common/NamedRequest.java
[3]
https://github.com/junit-team/junit4/blob/main/src/main/java/org/junit/runners/ParentRunner.java
--
You are receiving this mail because:
You are the assignee for the issue.