Modular Transformation of Java']Java Exceptions Modulo Errors

被引:2
|
作者
Rubbens, Robert [1 ]
Lathouwers, Sophie [1 ]
Huisman, Marieke [1 ]
机构
[1] Univ Twente, Formal Methods & Tools, Enschede, Netherlands
关键词
Deductive verification; !text type='Java']Java[!/text; VerCors; Exceptions; Finally; Errors;
D O I
10.1007/978-3-030-85248-1_5
中图分类号
TP39 [计算机的应用];
学科分类号
081203 ; 0835 ;
摘要
Deductive verifiers are used more and more in both academia and industry to prevent costly bugs. Their capabilities of verifying concurrent programs are getting better, but they are still lagging behind with regard to many major programming language features such as exceptions. To improve the situation, this work presents a semantics of Java exceptions which reduces the annotation burden on the user, while still allowing verification of exceptions. This is accomplished by ignoring sources of errors which are irrelevant to functional verification. Additionally, to deal with the complex control flow introduced by finally, a transformation is proposed that simplifies verification of exceptional postconditions and finally into postconditions and goto. We implement the approach and evaluate it against several common exception patterns.
引用
收藏
页码:67 / 84
页数:18
相关论文
共 50 条
  • [41] Exploring the interaction between Java']Java's implicitly thrown exceptions and instruction scheduling
    Arnold, M
    Hsiao, M
    Kremer, U
    Ryder, BG
    INTERNATIONAL JOURNAL OF PARALLEL PROGRAMMING, 2001, 29 (02) : 111 - 137
  • [42] The design and implementation of a modular and extensible Java']Java Virtual Machine
    Doyle, P
    Cavanna, C
    Abdelrahman, TS
    SOFTWARE-PRACTICE & EXPERIENCE, 2004, 34 (03): : 287 - 313
  • [43] Modular VO Oriented Java']Java EE Service Deployer
    Marco, Molinaro
    Francesco, Cepparo
    Marco, De Marco
    Cristina, Knapic
    Pietro, Apollo
    Riccardo, Smareglia
    SOFTWARE AND CYBERINFRASTRUCTURE FOR ASTRONOMY III, 2014, 9152
  • [44] JGEA: a Modular Java']Java Framework for Experimenting with Evolutionary Computation
    Medvet, Eric
    Nadizar, Giorgia
    Manzoni, Luca
    PROCEEDINGS OF THE 2022 GENETIC AND EVOLUTIONARY COMPUTATION CONFERENCE COMPANION, GECCO 2022, 2022, : 2009 - 2018
  • [45] A modular Java']Java API for object-oriented databases
    Ege, RK
    Battikhi, Y
    Pardo, P
    Uppal, J
    Rishe, N
    TWENTY-SECOND ANNUAL INTERNATIONAL COMPUTER SOFTWARE & APPLICATIONS CONFERENCE - PROCEEDINGS, 1998, : 55 - 60
  • [46] JCOD: A lightweight modular compilation technology for embedded Java']Java
    Delsart, B
    Joloboff, V
    Paire, E
    EMBEDDED SOFTWARE, PROCEEDINGS, 2002, 2491 : 197 - 212
  • [47] Modular heterogeneous system development: A critical analysis of Java']Java
    Agha, GA
    Astley, M
    Sheikh, JA
    Varela, C
    SEVENTH HETEROGENEOUS COMPUTING WORKSHOP (HCW '98), 1998, : 144 - 155
  • [48] Memory Errors and Memory Safety: A Look at Java']Java and Rust
    van Oorschot, Paul C.
    IEEE SECURITY & PRIVACY, 2023, 21 (03) : 62 - 68
  • [49] Investigating Static Analysis Errors in Student Java']Java Programs
    Edwards, Stephen H.
    Kandru, Nischel
    Rajagopal, Mukund B. M.
    PROCEEDINGS OF THE 2017 ACM CONFERENCE ON INTERNATIONAL COMPUTING EDUCATION RESEARCH (ICER 17), 2017, : 65 - 73
  • [50] Native Language's Effect on Java']Java Compiler Errors
    Reestman, Kyle
    Dorn, Brian
    ICER '19 - PROCEEDINGS OF THE 2019 ACM CONFERENCE ON INTERNATIONAL COMPUTING EDUCATION RESEARCH, 2019, : 249 - 257