• Home
  • Search
  • Type-based Enforcement of Infinitary Trace Properties for Java
  • Open Access IconOpen Access
  • Cite Icon1
  • https://doi.org/10.1145/3479394.3479413Copy DOI Icon

Type-based Enforcement of Infinitary Trace Properties for Java

  • Sep 6, 2021
  • Serdar Erbatur +2 more
Show More
  • Abstract
  • Literature Map
  • References
  • Citations
  • Similar Papers
Abstract

A common approach to improve software quality is to use programming guidelines to avoid common kinds of errors. In this paper, we consider the problem of enforcing guidelines for Featherweight Java (FJ). We formalize guidelines as sets of finite or infinite execution traces and develop a region-based type and effect system for FJ that can enforce such guidelines. We build on the work by Erbatur, Hofmann and Z\u{a}linescu, who presented a type system for verifying the finite event traces of terminating FJ programs. We refine this type system, separating region typing from FJ typing, and use ideas of Hofmann and Chen to extend it to capture also infinite traces produced by non-terminating programs. Our type and effect system can express properties of both finite and infinite traces and can compute information about the possible infinite traces of FJ programs. Specifically, the set of infinite traces of a method is constructed as the greatest fixed point of the operator which calculates the possible traces of method bodies. Our type inference algorithm is realized by working with the finitary abstraction of the system based on B\"uchi automata.

Similar Papers
  • PDF
  • Research Article
  • Citations26

On Safety Properties and Their Monitoring

  • Jan 01, 2012
  • Scientific Annals of Computer Science
  • Grigore Rosu
  • Book Chapter

Type Inference in Java: Characteristics and Limitations

  • Jan 01, 2021
  • Neha Kumari +1
  • Conference Article
  • Citations30

Polymorphic type inference for machine code

  • Jun 02, 2016
  • Matt Noonan +2
  • Research Article
  • Citations10

Polymorphic type inference for machine code

  • Jun 02, 2016
  • ACM SIGPLAN Notices
  • Matt Noonan +2
  • Book Chapter
  • Citations227

Towards Type Inference for JavaScript

  • Jan 01, 2005
  • Christopher Anderson +2
  • Research Article
  • Citations60

Types and trace effects of higher order programs

  • Mar 01, 2008
  • Journal of Functional Programming
  • Christian Skalka +2
  • Conference Article
  • Citations14

Polymorphic type inference for scripting languages with object extensions

  • Oct 24, 2011
  • Tian Zhao
  • Research Article

A Flow-Sensitive Refinement Type System for Verifying eBPF Programs

  • Oct 09, 2025
  • Proceedings of the ACM on Programming Languages
  • Ameer Hamza +4
  • Supplementary Content

Co-Contextual Type Systems: Contextless Deductive Reasoning for Correct Incremental Type Checking

  • Mar 02, 2020
  • TUbilio (Technical University of Darmstadt)
  • Edlira Kuci
  • PDF
  • Book Chapter
  • Citations3

A first-order logic characterisation of safety and co-safety languages

  • Jan 01, 2022
  • Alessandro Cimatti +4
  • Conference Article
  • Citations21

Type inference for datalog and its application to query optimisation

  • Jun 09, 2008
  • Oege De Moor +3
  • Research Article
  • Citations3

Relating typability and expressiveness in finite-rank intersection type systems (extended abstract)

  • Sep 01, 1999
  • ACM SIGPLAN Notices
  • Assaf J Kfoury +3
  • Conference Article
  • Citations412

Refinement types for ML

  • Jan 01, 1991
  • Tim Freeman +1
  • Research Article

From ML type inference to stratified type inference

  • Sep 12, 2005
  • ACM SIGPLAN Notices
  • François Pottier
  • Conference Article

Types with semantics

  • Sep 27, 2005
  • Olha Shkaravska
Cactus Communications logo

Copyright 2026 Cactus Communications. All rights reserved.