DIPARTIMENTO   DI   INFORMATICA
Università di Torino

THE GROUP'S LOGO
Research on "Formal Methods in Computing"

A State Abstraction for Coordination in Java-like Languages

Ferruccio DAMIANI , Elena GIACHINO, Paola GIANNINI , Nick CAMERON, and Sophia DROSSOPOULOU

Work partially supported by MIUR PRIN'04 EOS and EC FET IST-2005-015905 MOBIOUS projects.

ABSTRACT. Objects' state, intended as some abstraction over the value of fields, is always in the mind of a COOL (Concurrent Object-Oriented Language) programmer. In fact, as the state of an object changes so does its coordination behaviour.
We introduce a language feature for expressing the notion of state in Java-like languages. The proposed feature takes the form of state class, a new kind of class, equipped with a static type and effect system guaranteeing that during the execution of a method on a receiver o: (1) Even though the state of o may vary through states with different parameters, no attempt will be made to access non-existing parameters, and (2) No method invoked on a receiver different from this may cause (through method calls on o) a change in the state of o.

BIBTEX.

@inproceedings{tipoW-DamiGiacGianCameDros:FTfJP-06,
author    = {F. Damiani and E. Giachino and P. Giannini and N. Cameron and S. Drossopoulou},
title     = {A State Abstraction for Coordination in Java-like Languages},
booktitle = {Electronic proceedings of FTfJP'06
             (http://www.cs.ru.nl/ftfjp/)},
year      = {2006}
}


["Formal Methods in Computing" group] [Department's HOME]

Last update: Jun 14, 2006