کد مقاله کد نشریه سال انتشار مقاله انگلیسی نسخه تمام متن
436232 1441788 2006 12 صفحه PDF دانلود رایگان
عنوان انگلیسی مقاله ISI
Safe instantiation in Generic Java
موضوعات مرتبط
مهندسی و علوم پایه مهندسی کامپیوتر نظریه محاسباتی و ریاضیات
پیش نمایش صفحه اول مقاله
Safe instantiation in Generic Java
چکیده انگلیسی

This paper introduces the “Safe Instantiation Principle”, a new design criterion for evaluating extensions of Java that support generic types. The paper initially focuses on the GJ and NextGen formulations of Generic Java and the implications of safe instantiation for both approaches. Then it applies the safe instantiation principle to the problem of adding mixins to Java as generic types. Finally, it shows that the hygienic formulation of mixins is the only way to maintain safe instantiation and type soundness in Java with mixins and to prevent the introduction of insidious bugs with no clearly defined point of blame.

ناشر
Database: Elsevier - ScienceDirect (ساینس دایرکت)
Journal: Science of Computer Programming - Volume 59, Issues 1–2, January 2006, Pages 26-37