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

Creating a code review


OpenJDK uses webrev as the code review tool. The process of creating a code review and handling lies on the shoulders of the AdoptOpenJDK community, which developed a web tool called Betterrev. Review Board along with the Mercurial plugin can be used as well. It automatically generates code reviews, synchronizes with Oracle repository, and performs other useful tasks.

Getting ready

We will need a computer capable of building OpenJDK and which can handle a large amount of code. Also, we will need a development environment installed, as described in Chapter 8, Hacking OpenJDK. We will also need Internet access.

How to do it...

We will create a code review using the Betterrev tool, by following the given steps:

  1. First, let's clone a repository from Bitbucket.

  2. Go to the Betterrev Bitbucket at https://bitbucket.org/adoptopenjdk/betterrev/src:

  3. Fork it, using the highlighted button:

  4. Specify the repository name in the Name field, and add a description if needed.

  5. Check the This is a...