Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8153125

rmic from bootcycle build should launch with -m jdk.rmic/sun.rmi.rmic.Main

XMLWordPrintable

    • b113

      diff --git a/make/rmic/RmicCommon.gmk b/make/rmic/RmicCommon.gmk
      --- a/make/rmic/RmicCommon.gmk
      +++ b/make/rmic/RmicCommon.gmk
      @@ -31,7 +31,13 @@
       
       ##########################################################################################
       
      -RMIC := $(JAVA) $(INTERIM_OVERRIDE_MODULES_ARGS) sun.rmi.rmic.Main
      +ifeq ($(BOOT_JDK_MODULAR), true)
      + RMIC_MAIN_CLASS := -m jdk.rmic/sun.rmi.rmic.Main
      +else
      + RMIC_MAIN_CLASS := sun.rmi.rmic.Main
      +endif
      +
      +RMIC := $(JAVA) $(INTERIM_OVERRIDE_MODULES_ARGS) $(RMIC_MAIN_CLASS)
       
       CLASSES_DIR := $(JDK_OUTPUTDIR)/modules
       # NOTE: If the smart javac dependency management is reintroduced, these classes risk

            mchung Mandy Chung (Inactive)
            mchung Mandy Chung (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: