# OpenJDK6 Release Process

Project page: http://openjdk.java.net/projects/jdk6/

## Acknowledgements

Much of this information comes from Joe Darcy's informal notes with edits from Lana Steuck.

## Sources

Sources are kept in Mercurial repositories at: http://hg.openjdk.java.net/jdk6/jdk6. Mercurial tags are used to mark the state of each repository with a name jdk6-bNN where NN is a 2 or 3 digit build number.
Once the process is final, source bundles will be made available at http://download.java.net/openjdk/jdk6/

## Release Steps

The following steps represent the current process that should be followed prior to tagging the repositories.
NOTE: Some steps may be done in parallel.

1. Send out email to "jdk6-dev at openjdk.java.net" requesting any additional changes for this release and announcing the start of the release process.
2. Perform full build and test on Linux, e.g. `make all && make test`.
   Resolve test failures and repeat as necessary.
3. Recommended: Perform same full build and test for all supported platforms and architectures. Leverage any available Build and Test systems.
4. Recommended: Run TCK tests. Posting results is limited to saying: "all the tests pass so the build in question is Java(TM) compatible."
5. Request that formal builds be done by Oracle Release Engineering as a verification, but also to have the official source bundles created and posted.
6. Tag all the OpenJDK6 repositories and push those changesets into the public repositories as soon as the source bundles from Release Engineering are publicly posted. The tags can be created with the following command:

   > `sh ./make/scripts/hgforest.sh tag -f jdk6-bNN`

7. Generate a Change Summary page.
8. Send out official email to "jdk6-dev at openjdk.java.net" on this OpenJDK6 release, including test results, source bundle location, and the Change Summary page.
9. Post a blog entry summarizing all release information.

## References

- OpenJDK6 Build 21 Blog Examples: Regression Test Results, Source Bundle Availability, Change Summary
- Scripts needed should all be located at: http://hg.openjdk.java.net/jdk6/jdk6/file/tip/make/scripts/
- Joe Darcy's talk about OpenJDK 6 at FOSDEM http://blogs.sun.com/darcy/tags/openjdk6 and slides http://blogs.sun.com/darcy/resource/FOSDEM/FOSDEM-2011-OpenJDK6.pdf