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

Replace fthrow() calls with simpler method calls in classFileParser.cpp

    XMLWordPrintable

    Details

    • Subcomponent:
    • Resolved In Build:
      b20

      Description

      Add new classfile_icce_error() and classfile_ucve_error() functions to be used by classFileParser.cpp instead of fthrow().
      Sample change:

      - ResourceMark rm(THREAD);
      - Exceptions::fthrow(
      - THREAD_AND_LOCATION,
      - vmSymbols::java_lang_IncompatibleClassChangeError(),
      - "class %s has interface %s as super class",
      - _class_name->as_klass_external_name(),
      - _super_klass->external_name()
      - );
      - return;
      + classfile_icce_error("class %s has interface %s as super class", _super_klass, CHECK);

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              hseigel Harold Seigel
              Reporter:
              hseigel Harold Seigel
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: