Patches - how to create and submit them (webrev)

Before creating any patch, please have a read of this, some other resource that might help as well.

  • Ensure webrev.ksh is available or download it from.
  • Make the necessary OpenJDK changes
  • Check for these changes using the below command
$ hg status

And you will see the files added, deleted or changed in the process, a sample output can be:

A examples/
? examples/
M src/
? src/watcher/_watcher.c
D src/watcher/
? src/xyzzy.txt

It will create a folder .webrev which contains the artifacts and code-review material you will need to host somewhere and then post the link to that to the respective mailing lists.

Some help by using scripts to work with mercurial (hg) and creating webrevs:

Once you have a webrev ready, contact the relevant mailing list linked to the changes you made (see repo, module, folder or package in which you have made these changes in). On the mailing list request for a sponsor (if you are not a committer yet), you also be asked to cc more than one mailing lists in.

At this point you must at least signed the OCA or else sending the webrev for code review won’t yield anything (see Signing OCA).

There is a project in the making that will help replace this process with a more github like process.

results matching ""

    No results matching ""