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

[JVMCI] Incorrect use of JVMCI_CHECK_ on return statement

    XMLWordPrintable

Details

    • b20

    Backports

      Description

        ./share/jvmci/jvmciEnv.hpp

        JVMCIObject create_string(Symbol* str, JVMCI_TRAPS) {
            return create_string(str->as_C_string(), JVMCI_CHECK_(JVMCIObject()));
          }

        You can't use CHECK macros on a return statement - they expand to include code after the return and so have no affect.

        Attachments

          Issue Links

            Activity

              People

                kvn Vladimir Kozlov
                dholmes David Holmes
                Votes:
                0 Vote for this issue
                Watchers:
                5 Start watching this issue

                Dates

                  Created:
                  Updated:
                  Resolved: