Java and the Java Virtual Machine: Definition, Verification, by Prof. Dr. Robert F. Stärk, Dipl.-Inf. Joachim Schmid, Prof.

By Prof. Dr. Robert F. Stärk, Dipl.-Inf. Joachim Schmid, Prof. Dr. Egon Börger (auth.)

This e-book offers a high-level description, including a mathematical and an experimental research, of Java and of the Java digital desktop (JVM), together with a typical compiler of Java courses to JVM code and the safety serious bytecode verifier section of the JVM. the outline is based into language layers and computing device elements. It comes with a typical executable refinement which are used for checking out code. the tactic built for this objective is predicated on summary nation Machines (ASMs) and will be utilized to different digital machines and to different programming languages in addition. The ebook is written for complex scholars and for pros and practitioners in study and improvement who desire for his or her paintings a whole and obvious definition and an executable version of the language and of the digital laptop underlying its meant implementation.

Show description

Read or Download Java and the Java Virtual Machine: Definition, Verification, Validation PDF

Best programming: programming languages books

Java and the Java Virtual Machine: Definition, Verification, Validation

This ebook presents a high-level description, including a mathematical and an experimental research, of Java and of the Java digital computer (JVM), together with a typical compiler of Java courses to JVM code and the protection serious bytecode verifier element of the JVM. the outline is based into language layers and computing device parts.

Extra info for Java and the Java Virtual Machine: Definition, Verification, Validation

Example text

3 e ) T(a) is the declared type of loe and T((3) ~ T(a). "'tel: 8 e2) Let A = T(-y) and B = T(8) . 2 Type checking of Javaz Positions in the given program are denoted by small Greek letters a, /3, /, etc. The reader can think of positions either as positions in the source code of the program or as positions in an abstract syntax tree. Positions are displayed as superscripts, for example, as in exp or in stm. The set of positions of the given program is considered as a universe of the superuniverse of the ASM for Javay.

B is the power set of the set of non-negative integers N. - a'll I'll a *'B b Both states, Q( 0 N N\ a aUb anb (empty set) (full set) (set of all n E N such that n tj. B, are so-called Boolean algebras. Other examples of algebraic structures are: groups, rings, lattices, etc. 1. Formally, function names are interpreted in states as total functions. We view them, however, as being partial and define the domain of an n-ary function name fin Q( to be the set of all n-tuples (al, ... , an) E 12tl n such that f21 ( aI, ...

1. A package is a collection of classes and interfaces. 2. A Javac program is a set of packages. The usual way to tell the compiler to which package a class or interface belongs is to prep end a package statement to the file in which the class or interface is defined. A package statement has the following form: package PackageName; A package name is a sequence of identifiers separated by dots. The JLS proposes a unique way to name packages using Internet domains. staerk; 50 4. The procedural extension Javac of Javar Fig.

Download PDF sample

Java and the Java Virtual Machine: Definition, Verification, by Prof. Dr. Robert F. Stärk, Dipl.-Inf. Joachim Schmid, Prof.
Rated 4.21 of 5 – based on 50 votes