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

throwing an array causes core dump

    XMLWordPrintable

    Details

    • Subcomponent:
    • Resolved In Build:
      1.0beta
    • CPU:
      sparc
    • OS:
      solaris_2.4
    • Verification:
      Not verified

      Description

      > What am I doing wrong?

      The following code in exceptionDescribe only expects objects. I'll fix it
      tomorrow. Submit it as a bug so I'll remember. . . .

      -- Frank


      if (is_instance_of(exc, FindClass(ee, JAVAPKG "Exception", FALSE), ee)) {
      /* Object is an exception. */
      execute_java_dynamic_method(ee, exc, "printStackTrace", "()V");
      } else {
      char buf[128];
      printf("Uncaught exception of type %s\\n",
      classname2string(classname(obj_classblock(exc)), buf, sizeof(buf)));

        Attachments

          Activity

            People

            Assignee:
            fyellinsunw Frank Yellin (Inactive)
            Reporter:
            ahoffsunw Arthur Hoff (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: