Mitigating known software defects
AssigneeInternational Business Machines Corporation
InventorsPAUL FRANKLIN MCMAHAN, DOUGLAS BRIAN MUELLER
Life of this patent
Estimating the term…
Abstract
A method, system, and computer program product for mitigating known software defects are provided in the illustrative embodiments. A code containing the defect is executed in a data processing system. An error caused by the defect is detected. A function implemented external to the code is called, where the function is a part of a library accessible to the code, and where the function is called for the code for a purpose other than to correct the error. A corrective code embedded in the function is executed, the corrective code attempting to correct the error. Executing the code is continued after the corrective code has corrected the error.
Claims20
A computer implemented method for mitigating a known software defect, the method comprising:
- executing a code containing the defect in a data processing system;
- detecting an error caused by the defect;
- calling a function implemented external to the code, wherein the function is a part of a library accessible to the code, and wherein the function is called for the code for a purpose other than to correct the error;
- executing a corrective code embedded in the function, the corrective code attempting to correct the error;
- and
- continuing executing the code after the corrective code has corrected the error.
A computer usable program product comprising a computer usable storage medium including computer usable code for mitigating a known software defect, the computer usable code comprising:
- computer usable code for executing a code containing the defect in a data processing system;
- computer usable code for detecting an error caused by the defect;
- computer usable code for calling a function implemented external to the code, wherein the function is a part of a library accessible to the code, and wherein the function is called for the code for a purpose other than to correct the error;
- computer usable code for executing a corrective code embedded in the function, the corrective code attempting to correct the error;
- and
- computer usable code for continuing executing the code after the corrective code has corrected the error.
A data processing system for mitigating a known software defect, the data processing system comprising:
- a storage device including a storage medium, wherein the storage device stores computer usable program code;
- and
- a processor, wherein the processor executes the computer usable program code, and wherein the computer usable program code comprises:
- computer usable code for executing a code containing the defect in a data processing system;
- computer usable code for detecting an error caused by the defect;
- computer usable code for calling a function implemented external to the code, wherein the function is a part of a library accessible to the code, and wherein the function is called for the code for a purpose other than to correct the error;
- computer usable code for executing a corrective code embedded in the function, the corrective code attempting to correct the error;
- and
- computer usable code for continuing executing the code after the corrective code has corrected the error.
Dependencies are inferred from the claim text.