首页>
外国专利>
Automatic fault injection into a JAVA virtual machine (JVM)
Automatic fault injection into a JAVA virtual machine (JVM)
展开▼
机译:自动将故障注入到JAVA虚拟机(JVM)中
展开▼
页面导航
摘要
著录项
相似文献
摘要
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.
展开▼