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

[TESTBUG] 'compiler/print/PrintInlining.java' should specify -XX:+UnlockDiagnosticVMOptions

    Details

    • Subcomponent:
    • Resolved In Build:
      b56
    • CPU:
      generic
    • OS:
      generic

      Backports

        Description

        Test compiler/print/PrintInlining.java runs Java with -XX:+PrintInlining specified and do just System.out.println("Passed").
        A run on b111 failed with error.
        So as the comments below says test should run java with additional flag "-XX:+UnlockDiagnosticVMOptions"

        ./jdk1.8.0/bin/java -XX:+PrintInlining -version
        Improperly specified VM option 'PrintInlining'
        Error: Could not create the Java Virtual Machine.
        Error: A fatal exception has occurred. Program will exit.

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  iignatyev Igor Ignatyev
                  Reporter:
                  rmatafon Roman Matafonov (Inactive)
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  7 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved: