JML2B: Checking JML Specifications with B Machines

  • Fabrice Bouquet
  • Frédéric Dadeau
  • Julien Groslambert
Conference paper
Part of the Lecture Notes in Computer Science book series (LNCS, volume 4355)


This paper introduces a tool, named JML2B, destined to check the consistency of JML specifications. JML2B is a solution to the lack of tool-support for the JML models verification. Our tool translates JML specifications into the B abstract machines notation. The generated B machines can then be checked to ensure their correctness. When the proof fails, it is possible to retrieve the mistakes in the original JML specification.


Proof Obligation Abstract Machine Java Code Attribute Balance Industrial Case Study 
These keywords were added by machine and not by the authors. This process is experimental and the keywords may be updated as the learning algorithm improves.


Unable to display preview. Download preview PDF.

Unable to display preview. Download preview PDF.


  1. 1.
    Burdy, L., Cheon, Y., Cok, D., Ernst, M., Kiniry, J., Leavens, G.T., Leino, K.R.M., Poll, E.: An overview of JML tools and applications. In: FMICS 2003. ENTCS, vol. 80, pp. 73–89. Elsevier, Amsterdam (2003)Google Scholar
  2. 2.
    Bouquet, F., Dadeau, F., Groslambert, J.: Checking JML specifications with B machines. In: Treharne, H., King, S., C. Henson, M., Schneider, S. (eds.) ZB 2005. LNCS, vol. 3455, pp. 435–454. Springer, Heidelberg (2005)Google Scholar
  3. 3.
    Bouquet, F., Dadeau, F., Groslambert, J., Julliand, J.: Safety property driven test generation from JML specifications. In: Havelund, K., Núñez, M., Roşu, G., Wolff, B. (eds.) FATES 2006 and RV 2006. LNCS, vol. 4262, pp. 225–239. Springer, Heidelberg (2006)CrossRefGoogle Scholar
  4. 4.
    Bouquet, F., Dadeau, F., Legeard, B., Utting, M.: Symbolic animation of JML specifications. In: Fitzgerald, J.S., Hayes, I.J., Tarlecki, A. (eds.) FM 2005. LNCS, vol. 3582, Springer, Heidelberg (2005)Google Scholar
  5. 5.
    Leavens, G.T., Baker, A.L., Ruby, C.: JML: A notation for detailed design. In: Behavioral Specifications of Businesses and Systems, pp. 175–188. Kluwer, Dordrecht (1999)Google Scholar

Copyright information

© Springer-Verlag Berlin Heidelberg 2006

Authors and Affiliations

  • Fabrice Bouquet
    • 1
  • Frédéric Dadeau
    • 1
  • Julien Groslambert
    • 1
  1. 1.Laboratoire d’Informatique (LIFC)Université de Franche-Comté, CNRS – INRIA Cassis ProjectBesançon cedexFrance

Personalised recommendations