arrow
返回

A class loading sensitive approach to detection of runtime type errors in component-based Java programs

delete2014-09-01
delete0
PRE
AI
W
Wenbo Zhang *
X
Xiaowei Zhou
张
张建华 (Jianhua Zhang)
Z
Zhenyu Zhang
H
Hua Zhong
DOI:10.1016/j.infsof.2014.04.005delete
delete原文链接
delete原文求助
delete分享
delete收藏
摘要

摘要

En 中文
Context: The employment of class loaders in component-based Java programs may introduce runtime type errors, which may happen at any statement related to class loading, and may be wrapped into various types of exceptions raised by JVM. Traditional static analysis approaches are inefficient to detect them. Objective: Our previous work proposed a semi-static detection work based on points-to analysis to detect such runtime type errors. In this paper, we extend previous work by referencing the information obtained from class loading to detect runtime type errors in component-based Java programs, without the need to running them. Method: Our approach extends the typical points-to analysis by gathering the behavior information of Java class loaders and figuring out the defining class loader of the allocation sites. By doing that, we obtain the runtime types of objects a reference variable may point to, and make use of such information to facilitate runtime type error detecting. Results: Results on four case studies show that our approach is feasible, can effectively detect runtime errors missed by traditional static checking methods, and performs acceptably in both false negative test and scalability test. (C) 2014 Elsevier B.V. All rights reserved.
Keyword:
Runtime error detection
Class loading
Component-based
AI总结

AI总结

对已上传原文的论文进行重点信息的提取,主要内容包括:简要概述、研究摘要、背景介绍、关键亮点、图文解析、展望与总结。

期刊

Information and Software Technology 封面图
Information and Software Technology
IF:
4.3
论文数:
3.8K
被引数:
7.7K

机构

C
chinese academy of sciences
学者数:
56.7W
论文数: 45.0W
被引数: 704
引用论文

引用论文

err分享
err收藏
学者 查看更多内容