Testing the Code Prior to Pushing
Developers are expected to test their code prior to integrating it to avoid breaking the build or otherwise impacting other developers with badly broken code. At a minimum, developers must run the unit tests for their area, and verify that Ensemble8 runs. If you are making interface changes or other potentially broad changes, you need to run a "clean" build. For example:
bash gradlew clean sdk apps test
For most developers these tests are enough but for even better coverage:
bash gradlew -PFULL_TEST=true -PUSE_ROBOT=true test
Committing the Code into the Repository
The following applies to Mercurial repositories.
All commits require an associated JBS bug. The commit message must use the following template as described on the OpenJDK Producing a Changeset page.
Note that you use the 7-digit bug ID excluding the "JDK-" prefix.
Developers are strongly encouraged to use jcheck to verify the format of a changeset prior to pushing any changeset.