The officially supported boot jdk for JDK N is always JDK N-1. Using JDK
N should work in most cases, but depending on how old the JDK N build is
compared to the sources you are building, all sorts of issues may arise.
/Erik
On 2015-10-27 12:51, Bhanu Gopularam wrote:
Hi,
I am trying to build JDK-9 from dev repo with JDk-9 as BOOT_JDK. I am facing
some issues.
I have created JDK image with latest jdk-9-dev codebase from hg repo tagged as
jdk9-b88. I am using this jdk-image as BOOT_JDK for creating JDK-9 build once
again. The JDK-9 build is failing while locating a directory, the modules
directory is searched in jdk/lib/* instead of jdk/*.
I would like to know if it is possible to build JDK-9 using JDK-9 as BOOT_JDK ?
I came across few JBS bugs reporting issues with JDK-9 builds but I didn't see
any mention about version of BOOT_JDK supported for building JDK-9. Please let
me know if this is supported way to build JDK image.
Thanks,
Bhanu