1.) remove "-parameters" javac option (in CompileJavaModules.gmk) or document why it is needed in jpackage.
2.) in Modules.gmk, use the new macro isTargetOs() to check things like target OS. The new macro is called like this:
ifeq ($(call isTargetOs, windows macosx linux), false)
Same in Lib-jdk.jpackage.gmk and Launcher-jdk.jpackage.gmk:
ifeq ($(call isTargetOs, windows), true)
2.) in Modules.gmk, use the new macro isTargetOs() to check things like target OS. The new macro is called like this:
ifeq ($(call isTargetOs, windows macosx linux), false)
Same in Lib-jdk.jpackage.gmk and Launcher-jdk.jpackage.gmk:
ifeq ($(call isTargetOs, windows), true)