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

Java Extra Option -Xdiag:resolver is missing JDK 9 OS X build

    Details

      Description

      FULL PRODUCT VERSION :
      java 9-ea
      Java(TM) SE Runtime Environment (build 9-ea+174)
      Java HotSpot(TM) 64-Bit Server VM (build 9-ea+174, mixed mode)

      ADDITIONAL OS VERSION INFORMATION :
      Darwin Vinayaks-MacBook-Pro.local 16.6.0 Darwin Kernel Version 16.6.0: Fri Apr 14 16:21:16 PDT 2017; root:xnu-3789.60.24~6/RELEASE_X86_64 x86_64


      A DESCRIPTION OF THE PROBLEM :
      I get the below error I try to run -Xdiag:resolver for jdk build 9-ea+174Vinayaks-MacBook-Pro:dev vinayak$ java -Xdiag:resolver --module-path lib/ -m hello
      Unrecognized option: -Xdiag:resolver
      Error: Could not create the Java Virtual Machine.
      Error: A fatal exception has occurred. Program will exit.

      STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
      run the below command
      java -Xdiag:resolver

      EXPECTED VERSUS ACTUAL BEHAVIOR :
      EXPECTED -
      console output showing the details of how the modules are resolved.
      ACTUAL -
      Vinayaks-MacBook-Pro:dev vinayak$ java -Xdiag:resolver --module-path lib/ -m hello
      Unrecognized option: -Xdiag:resolver
      Error: Could not create the Java Virtual Machine.
      Error: A fatal exception has occurred. Program will exit.

      ERROR MESSAGES/STACK TRACES THAT OCCUR :
      Vinayaks-MacBook-Pro:dev vinayak$ java -Xdiag:resolver --module-path lib/ -m hello
      Unrecognized option: -Xdiag:resolver
      Error: Could not create the Java Virtual Machine.
      Error: A fatal exception has occurred. Program will exit.

      REPRODUCIBILITY :
      This bug can be reproduced always.

        Attachments

          Activity

            People

            • Assignee:
              fmatte Fairoz Matte
              Reporter:
              webbuggrp Webbug Group
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: