Skip to content

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

Description

@thinkhy

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?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions