ISCAS OpenIR
A class loading sensitive approach to detection of runtime type errors in component-based Java programs
Zhang, Wenbo (1); Zhou, Xiaowei (1); Zhang, Jianhua (1); Zhang, Zhenyu (1); Zhong, Hua (1); Zhang, W.(zhangwenbo@otcaix.iscas.ac.cn)
2014
发表期刊Information and Software Technology
ISSN9505849
卷号56期号:9页码:1076-1085
摘要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. © 2014 Elsevier B.V. All rights reserved.; 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. © 2014 Elsevier B.V. All rights reserved.
收录类别SCI ; EI
关键词Runtime Error Detection Class Loading Component-based
部门归属(1) Technology Center of Software Engineering, Institute of Software, Chinese Academy of Sciences, Beijing 100190, China; (2) Graduate University, Chinese Academy of Sciences, Beijing 100190, China; (3) State Key Laboratory of Computer Science, Beijing 100190, China
语种英语
WOS记录号WOS:000337783000002
引用统计
内容类型期刊论文
URI标识http://ir.iscas.ac.cn/handle/311060/16834
专题中国科学院软件研究所
通讯作者Zhang, W.(zhangwenbo@otcaix.iscas.ac.cn)
推荐引用方式
GB/T 7714
Zhang, Wenbo ,Zhou, Xiaowei ,Zhang, Jianhua ,et al. A class loading sensitive approach to detection of runtime type errors in component-based Java programs[J]. Information and Software Technology,2014,56(9):1076-1085.
APA Zhang, Wenbo ,Zhou, Xiaowei ,Zhang, Jianhua ,Zhang, Zhenyu ,Zhong, Hua ,&Zhang, W..(2014).A class loading sensitive approach to detection of runtime type errors in component-based Java programs.Information and Software Technology,56(9),1076-1085.
MLA Zhang, Wenbo ,et al."A class loading sensitive approach to detection of runtime type errors in component-based Java programs".Information and Software Technology 56.9(2014):1076-1085.
条目包含的文件
条目无相关文件。
个性服务
推荐该条目
保存到收藏夹
查看访问统计
导出为Endnote文件
谷歌学术
谷歌学术中相似的文章
[Zhang, Wenbo (1)]的文章
[Zhou, Xiaowei (1)]的文章
[Zhang, Jianhua (1)]的文章
百度学术
百度学术中相似的文章
[Zhang, Wenbo (1)]的文章
[Zhou, Xiaowei (1)]的文章
[Zhang, Jianhua (1)]的文章
必应学术
必应学术中相似的文章
[Zhang, Wenbo (1)]的文章
[Zhou, Xiaowei (1)]的文章
[Zhang, Jianhua (1)]的文章
相关权益政策
暂无数据
收藏/分享
所有评论 (0)
暂无评论
 

除非特别说明,本系统中所有内容都受版权保护,并保留所有权利。