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

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

XMLWordPrintable

    • b20

      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);

            hseigel Harold Seigel (Inactive)
            hseigel Harold Seigel (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: