ibmruntimes / openj9-openjdk-jdk

Extensions for OpenJDK for Eclipse OpenJ9
GNU General Public License v2.0
17 stars 73 forks source link

Use JDK being built instead of BootJDK for OpenJCEPlus header files #824

Open KostasTsiounis opened 1 month ago

KostasTsiounis commented 1 month ago

When creating the header files from certain Java classes, the javah command from the BootJDK was used. However, some of the required classes have already been compiled by the current JDK at this point, causing an error if the BootJDK is two or more versions older.

To avoid that, the javah from the JDK being built is used, thus avoiding such problems.

Signed-off-by: Kostas Tsiounis kostas.tsiounis@ibm.com