A model for Java']Java with wildcards

被引:0
|
作者
Cameron, Nicholas [1 ]
Drossopoulou, Sophia [1 ]
Ernst, Erik [2 ]
机构
[1] Imperial Coll London, London SW7 2AZ, England
[2] Univ Aarhus, DK-8000 Aarhus C, Denmark
关键词
D O I
暂无
中图分类号
TP31 [计算机软件];
学科分类号
081202 ; 0835 ;
摘要
Wildcards are a complex and subtle part of the Java type system, present since version 5.0. Although there have been various formalisations and partial type soundness results concerning wildcards, to the best of our knowledge, no system that includes all the key aspects of Java wildcards has been proven type sound. This paper establishes that Java wildcards are type sound. We describe a new formal model based on explicit existential types whose pack and unpack operations are handled implicitly, and prove it type sound. Moreover, we specify a translation from a subset of Java to our formal model, and discuss how several interesting aspects of the Java type system are handled.
引用
收藏
页码:2 / +
页数:4
相关论文
共 50 条
  • [41] Java']Java, Java']Java everywhere
    不详
    [J]. DATAMATION, 1996, 42 (11): : 11 - 11
  • [42] Java']Java Memory Model-Aware Model Checking
    Jin, Huafeng
    Yavuz-Kahveci, Tuba
    Sanders, Beverly A.
    [J]. TOOLS AND ALGORITHMS FOR THE CONSTRUCTION AND ANALYSIS OF SYSTEMS, TACAS 2012, 2012, 7214 : 220 - 236
  • [43] Java, Java, Java
    Sabharwal, Chaman L.
    [J]. IEEE Potentials, 1998, 17 (03): : 33 - 37
  • [44] The Tiny Java']Java Library for Maintaining Model Provenance
    Royer, Mark E.
    Chawathe, Sudarshan S.
    [J]. 2018 9TH IEEE ANNUAL UBIQUITOUS COMPUTING, ELECTRONICS & MOBILE COMMUNICATION CONFERENCE (UEMCON), 2018, : 102 - 108
  • [45] A real-time Java']Java component model
    Plsek, Ales
    Merle, Philippe
    Seinturier, Lionel
    [J]. ISORC 2008: 11TH IEEE SYMPOSIUM ON OBJECT/COMPONENT/SERVICE-ORIENTED REAL-TIME DISTRIBUTED COMPUTING - PROCEEDINGS, 2008, : 281 - 288
  • [46] A distributed object model for the Java']Java(TM) system
    Wollrath, A
    Riggs, R
    Waldo, J
    [J]. COMPUTING SYSTEMS, 1996, 9 (04): : 265 - 290
  • [47] Model checking JAVA programs using JAVA PathFinder
    Havelund K.
    Pressburger T.
    [J]. International Journal on Software Tools for Technology Transfer, 2000, 2 (4) : 366 - 381
  • [48] Not whether Java']Java but how Java']Java
    Wallace, C
    Martin, P
    [J]. ASIA PACIFIC SOFTWARE ENGINEERING CONFERENCE AND INTERNATIONAL COMPUTER SCIENCE CONFERENCE, PROCEEDINGS, 1997, : 517 - 518
  • [49] Probabilistic Model Checking of Randomized Java']Java Code
    Fatmi, Syyeda Zainab
    Chen, Xiang
    Dhamija, Yash
    Wildes, Maeve
    Tang, Qiyi
    van Breugel, Franck
    [J]. MODEL CHECKING SOFTWARE (SPIN 2021), 2021, 12864 : 157 - 174
  • [50] On validity of program transformations in the Java']Java Memory Model
    Sevcik, Jaroslav
    Aspinall, David
    [J]. ECOOP 2008 - OBJECT-ORIENTED PROGRAMMING, PROCEEDINGS, 2008, 5142 : 27 - 51