Book Image

OpenJDK Cookbook

Book Image

OpenJDK Cookbook

Overview of this book

Table of Contents (20 chapters)
OpenJDK Cookbook
Credits
About the Authors
About the Reviewers
www.PacktPub.com
Preface
Index

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 testing, for example, hotspot and langtools are mostly grouped by functional areas they are testing and, then, by bugs (by their numbers). The jdk folder is mostly organized by the package name, as this set of tests covers the Java APIs.

Keep in mind...