Unit tests for OpenJDK?

Stephen Colebourne scolebourne at joda.org
Mon Apr 28 09:43:57 UTC 2014

On 28 April 2014 09:13, Andrew Haley <aph at redhat.com> wrote:
> There are (at least) three kinds of Java tests.  There are the
> regression tests in OpenJDK which are fully open, the JCK which is
> licenced but free to use for OpenJDK users, and a some Oracle-only
> internal tests.
> The JCK tests an implementation for Java compatibility, so it'll not
> stress your FileSystemProvider.
> There are also some test suites that are external to OpenJDK itself,
> such as jcstress for concurrency.

Just to note that the java.time package developed TCK tests alongside
other tests and both are checked into OpenJDK. (The actual JCK for
java.time is officially part of the main JCK, but the original basis
is public). Personally, I'd like to see more areas of the JDK follow
this model.


More information about the discuss mailing list