Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Migrated to Confluence 5.3

Building on Windows

Get the sources and patches just like on any other platform:

No Format
titlepull sources and patches
mkdir davinci
cd davinci
hg fclone http://hg.openjdk.java.net/jdk7/jdk7 sources
hg fclone http://hg.openjdk.java.net/mlvm/mlvm patches

The Junction tool can be used to create the filesystem links for the patches directories.

No Format
titlelink patch repos into source repos
junction sources\hotspot\.hg\patches patches\hotspot
junction sources\jdk\.hg\patches patches\jdk

The patches in the patch repository are guarded so that only patches that satisfy certain conditions are applied. One of the guards is the most recent release tag from the source repository, it is the last entry in sources\.hgtags.

No Format
titleselect patch guards
cd sources\jdk
hg qselect --reapply buildable testable jdk7-b25
cd ..\hotspot
hg qselect --reapply buildable testable jdk7-b25

You can look at the series files in the patches directories to see which guards are available.

After this is done patches can be applied like this:

No Format
cd sources\jdk
hg qpush

hg qpush -a can be used to apply all available patches.