Automatic fault injection into a JAVA virtual machine (JVM)
AssigneeInternational Business Machines Corporation
InventorsJohn C. Sanchez, Jeffrey Phillip Snover
Life of this patent
Estimating the term…
Loading patent…
AssigneeInternational Business Machines Corporation
InventorsJohn C. Sanchez, Jeffrey Phillip Snover
Estimating the term…
A system and method of automatically injecting faults and errors into a JAVA application or program to test the reliable and proper handling of various faults and exceptions under various conditions. An automatic fault injector is coupled to the Java Virtual Machine (JVM). The JAVA program is initiated to inject the faults by determining locations within the JAVA program to where respective faults are to be injected. All the faults are found from the JAVA objects by traversing the class for each of the JAVA objects and searching for all exceptions from the classes, their methods, and their respective attributes. Determination is made of whether and when one of the respective faults should be injected. An exception is automatically and timely triggered to inject a respective fault by the automatic fault injector at a corresponding locations when the corresponding location has been reached and when it has determined that the respective fault should be injected at an appropriate time. The determination of whether and when a fault or error is to be automatically injected is based on the setting of an automatic fault injection option.
A method of automatically injecting faults into a JAVA virtual machine (JVM) when the JVM is executing a JAVA program that has JAVA objects wherein each of the JAVA objects has a class, at least one method, and at least one attribute, comprising the steps of:
A system of automatically injecting faults into a JAVA virtual machine (JVM) when the JVM is executing a JAVA program that has JAVA objects wherein each of the JAVA objects has a class, at least one method, and at least one attribute, comprising:
A program product for automatically injecting faults into a JAVA virtual machine (JVM) when the JVM is executing a JAVA program that has JAVA objects wherein each of the JAVA objects has a class, at least one method, and at least one attribute, comprising:
Dependencies are inferred from the claim text.