ECOOP 2024
Mon 16 - Fri 20 September 2024 Vienna, Austria
co-located with ISSTA/ECOOP 2024
Mon 16 Sep 2024 13:30 - 13:45 at EI 7 - Types 1 Chair(s): Emilio Tuosto

We provide support for polymorphism in static typestate analysis for object-oriented languages with upcasts and downcast. Recent work has shown how typestate analysis can be embedded in the development of Java programs to obtain safer behaviour at runtime, e.g., absence of null pointer errors and protocol completion. In that approach, inheritance is supported at the price of limiting casts in source code, thus only allowing those at the beginning of the protocol, i.e., immediately after objects creation, or at the end, and in turn seriously affecting the applicability of the analysis.

In this paper, we provide a solution to this open problem in typestate analysis by introducing a theory based on a richer data structure, named typestate tree, which supports upcast and downcast operations at any point of the protocol by leveraging union and intersection types. The soundness of the typestate tree-based approach has been mechanised in Coq.

The theory can be applied to most object-oriented languages statically analysable through typestates, thus opening new scenarios for acceptance of programs exploiting inheritance and casting. To defend this thesis, we show an application of the theory, by embedding the typestate tree mechanism in a Java-like object-oriented language, and proving its soundness.

Mon 16 Sep

Displayed time zone: Amsterdam, Berlin, Bern, Rome, Stockholm, Vienna change

13:30 - 15:00
Types 1Technical Papers at EI 7
Chair(s): Emilio Tuosto Gran Sasso Science Institute, L'Aquila, Italy
13:30
15m
Talk
Behavioral up/down casting for statically typed languages
Technical Papers
Lorenzo Bacchiani University of Bologna, Mario Bravetti Università di Bologna, Marco GIUNTI University of Oxford, João Mota NOVA School of Science and Technology, António Ravara Nova University of Lisbon
13:45
15m
Talk
Regrading Policies for Flexible Information Flow Control in Session-Typed Concurrency
Technical Papers
Farzaneh Derakhshan Illinois Institute of Technology, Stephanie Balzer Carnegie Mellon University, Yue Yao Carnegie Mellon University
14:00
15m
Talk
Ozone: Fully Out-of-Order Choreographies
Technical Papers
Dan Plyukhin University of Southern Denmark, Marco Peressotti University of Southern Denmark, Fabrizio Montesi University of Southern Denmark
Pre-print
14:15
15m
Talk
Information Flow Control in Cyclic Process Networks
Technical Papers
Bas van den Heuvel Karlsruhe University of Applied Sciences, University of Freiburg, Farzaneh Derakhshan Illinois Institute of Technology, Stephanie Balzer Carnegie Mellon University
14:30
15m
Talk
Formalizing, Mechanizing, and Verifying Class-based Refinement Types
Technical Papers
Ke Sun Peking University, Di Wang Peking University, Sheng Chen UL Lafayette, Meng Wang University of Bristol, Dan Hao Peking University
14:45
15m
Talk
Pure methods for roDOT
Technical Papers
Vlastimil Dort Charles University, Yufeng Li University of Waterloo, Ondřej Lhoták University of Waterloo, Pavel Parizek Charles University

Information for Participants
Mon 16 Sep 2024 13:30 - 15:00 at EI 7 - Types 1 Chair(s): Emilio Tuosto
Info for room EI 7:

Map: https://tuw-maps.tuwien.ac.at/?q=CDEG13

Room tech: https://raumkatalog.tiss.tuwien.ac.at/room/15417