CS162 icon indicating copy to clipboard operation
CS162 copied to clipboard

A design problem raised by test case /test/testproj2/isprmgr.c, VAR8

Open thinkhy opened this issue 11 years ago • 0 comments

userproc/UserProcess.java: UserProcess.handleExcetion:


  default:
        Lib.debug(dbgProcess, "Unexpected exception: " +
              Processor.exceptionNames[cause]);

        /* Fix defect by isprmgr, Var7                            */
        handleExit(-1);                                     /*@BCA*/

        Lib.assertNotReached("Unexpected exception");

Is it reasonable to invoke 'handleExit' for unhandled exception?

thinkhy avatar May 02 '14 10:05 thinkhy