Running the standard set of OpenJDK tests

This recipe is not much different from the one that describes a simple test execution. However, it will focus on how to run JDK tests. This knowledge might be required if someone is making changes to HotSpot or to any other part of OpenJDK.

Standard tests are available only in three root folders for JDK7 and in four folders for JDK8. These are hotspot, jdk, langtools, and nashorn (for jdk8 only). Although tests are not available for other areas such as CORBA, JDBC, JAXP, and so on, it doesn't mean that they are not tested at all. It just means that tests for them are not part of OpenJDK, that is, they are not provided by vendors.

The way tests are organized varies with the dependency of the area they are ...

Get OpenJDK Cookbook now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.