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.
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.
Following these steps, a developer can learn how to port changes from OpenJDK v9 to OpenJDK v8:
There is a special script that was created to help to port patches from OpenJDK v9 to OpenJDK v8. This script is located in
common/bin/unshuffle_patch.sh
. Run this script with the--help
argument to see its usage:[user@localhost...