RFR: JDK-8189094: Change required boot jdk to JDK 9

mandy chung mandy.chung at oracle.com
Tue Oct 17 15:47:01 UTC 2017

Hi Erik,

On 10/16/17 6:12 AM, Erik Joelsson wrote:
> To generate the new modules, I copy the module-info.java files to a 
> new gensrc dir and sed replace the module names. I also generate a new 
> ToolProvider.java so that the default tools are taken from the interim 
> modules.
> :
> Webrev: http://cr.openjdk.java.net/~erikj/8189094/webrev.01

65 java.compiler_EXTRA_FILES := 
66 TARGETS += $(java.compiler_EXTRA_FILES)

What issue did you run into without patching ToolProvider?  I have assumed
the build always launches javac/javadoc main class and not using

580 JAVAC_MAIN_CLASS = -m jdk.compiler.interim/com.sun.tools.javac.Main
jdk.javadoc.interim/jdk.javadoc.internal.tool.Main Mandy

More information about the build-dev mailing list