Backporting OpenJDK v9 patches to OpenJDK v8

In the scope of one of the initiatives for the improvement of the source code structure (https://bugs.openjdk.java.net/browse/JDK-8051619) there are some significant changes in the way how the source files are located in OpenJDK v9. It means that if someone is making a patch for OpenJDK v9 and wants these changes to be applied to OpenJDK v8, he/she has to follow a special procedure. That procedure will do the required transformation in the path of changed files.

Getting ready

We need a computer which can run bash shell, that is, a Linux or Windows computer with Cygwin and the source code of OpenJDK v9 and OpenJDK v8.

How to do it…

Following these steps, a developer can learn how to port changes from OpenJDK ...

Get OpenJDK Cookbook now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.