• Title of article

    Safe instantiation in Generic Java

  • Author/Authors

    Eric E. Allen، نويسنده , , Robert Cartwright، نويسنده ,

  • Issue Information
    دوهفته نامه با شماره پیاپی سال 2006
  • Pages
    12
  • From page
    26
  • To page
    37
  • Abstract
    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.
  • Keywords
    Type-checking , Generic Java , Mixins , Generics , Type systems
  • Journal title
    Science of Computer Programming
  • Serial Year
    2006
  • Journal title
    Science of Computer Programming
  • Record number

    1079832