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

throwing an array causes core dump

XMLWordPrintable

    • 1.0beta
    • sparc
    • solaris_2.4
    • Not verified

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

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

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: