skip to main content
10.1145/1449814.1449906acmconferencesArticle/Chapter ViewAbstractPublication PagessplashConference Proceedingsconference-collections
research-article

Checking API protocol compliance in java

Published:19 October 2008Publication History

ABSTRACT

Reusable APIs often define usage protocols. The author previously developed a sound and modular type system that checks compliance to typestate-based protocols while affording a great deal of aliasing flexibility. This paper focuses on making these ideas available in tools for mainstream object-oriented languages and evaluating their practical effectiveness.

References

  1. M. Barnett, R. DeLine, M. Fahndrich, K. R. M. Leino, and W. Schulte. Verification of object-oriented programs with invariants. phJournal of Object Technology, 3 (6): 27--56, June 2004.Google ScholarGoogle Scholar
  2. K. Bierhoff and J. Aldrich. Modular typestate checking of aliased objects. In OOPSLA, pages 301--320. ACM Press, Oct. 2007. Google ScholarGoogle ScholarDigital LibraryDigital Library
  3. K. Bierhoff and J. Aldrich. PLURAL: Checking protocol compliance under aliasing. In ICSE-30 Companion, pages 971--972. ACM Press, May 2008. Google ScholarGoogle Scholar
  4. J. Boyland. Checking interference with fractional permissions. In SAS, pages 55--72. Springer, 2003. Google ScholarGoogle ScholarDigital LibraryDigital Library
  5. R. DeLine and M. Fahndrich. Typestates for objects. In ECOOP, pages 465--490. Springer, 2004.Google ScholarGoogle ScholarCross RefCross Ref
  6. R. E. Strom and S. Yemini. Typestate: A programming language concept for enhancing software reliability. IEEE Transactions on Software Engineering, 12: 157--171, 1986. Google ScholarGoogle ScholarDigital LibraryDigital Library

Index Terms

  1. Checking API protocol compliance in java

            Recommendations

            Comments

            Login options

            Check if you have access through your login credentials or your institution to get full access on this article.

            Sign in
            • Published in

              cover image ACM Conferences
              OOPSLA Companion '08: Companion to the 23rd ACM SIGPLAN conference on Object-oriented programming systems languages and applications
              October 2008
              306 pages
              ISBN:9781605582207
              DOI:10.1145/1449814

              Copyright © 2008 ACM

              Permission to make digital or hard copies of all or part of this work for personal or classroom use is granted without fee provided that copies are not made or distributed for profit or commercial advantage and that copies bear this notice and the full citation on the first page. Copyrights for components of this work owned by others than ACM must be honored. Abstracting with credit is permitted. To copy otherwise, or republish, to post on servers or to redistribute to lists, requires prior specific permission and/or a fee. Request permissions from [email protected]

              Publisher

              Association for Computing Machinery

              New York, NY, United States

              Publication History

              • Published: 19 October 2008

              Permissions

              Request permissions about this article.

              Request Permissions

              Check for updates

              Qualifiers

              • research-article

              Upcoming Conference

            PDF Format

            View or Download as a PDF file.

            PDF

            eReader

            View online with eReader.

            eReader