-
-
Notifications
You must be signed in to change notification settings - Fork 68
Description
Summary
Do any tests require tools.jar to function? Can we delete that dependency, and simply use:
- JDK8: The tools.jar in the jdk.
- JDK9+: Nothing (in Java 9, tools.jar classes were merged into modules).
Details
One of the dependency files used by the aqa system tests is tools.jar.
This file exists in JDK8 only, as the classes were integrated into modules for JDK9+.
In the jenkins job systemtest.getDependency, we download the latest Temurin JDK for xLinux and we extract the tools.jar, storing it as a jenkins artifact.
When the system test jobs are run, we download the artifacts from that job and put them in the systemtest_prereqs directory for use in some of the tests.
We need to investigate whether the tools.jar is actually required at run time, to remove a layer of complexity and maintenance from the project.
Note: JDK8 may need to keep tools.jar on the classpath, but we should explore the option of using the one included in the JDK.
Links