کد مقاله کد نشریه سال انتشار مقاله انگلیسی نسخه تمام متن
550246 872570 2014 10 صفحه PDF دانلود رایگان
عنوان انگلیسی مقاله ISI
A class loading sensitive approach to detection of runtime type errors in component-based Java programs
ترجمه فارسی عنوان
رویکرد حساس به بارگذاری کلاس برای تشخیص خطاهای نوع زمان اجرا در برنامه های جاوا مبتنی بر مولفه
کلمات کلیدی
تشخیص خطا در زمان اجرا بارگذاری کلاس، مبتنی بر کامپوننت
موضوعات مرتبط
مهندسی و علوم پایه مهندسی کامپیوتر تعامل انسان و کامپیوتر
چکیده انگلیسی


• A novel approach to detect type errors related to custom class loaders in Java.
• A static approach to predict runtime errors by referencing class loader information.
• A general method based on popular points-to analysis problem setting.

ContextThe 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.ObjectiveOur 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.MethodOur 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.ResultsResults 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.

ناشر
Database: Elsevier - ScienceDirect (ساینس دایرکت)
Journal: Information and Software Technology - Volume 56, Issue 9, September 2014, Pages 1076–1085
نویسندگان
, , , , ,