Andraž Drčar (2014) Compiling java programs with inline bytecode. EngD thesis.
Abstract
Java is one of the top programming languages known for its platform independency, which is reached by using platform specific Java Virtual Machines (JVM). Each JVM follows strict rules how class files containing the bytecode are parsed and executed. However, there are no such rules for the compilation part and the programmer has no influence on the compiled code. The thesis describes the development of the extended compiler for Java. In addition to the standard commands this compiler also supports usage of blocks that contain Java bytecode. A brief presentation of the Java Virtual Machine and the composition of translated files is followed by description of requirements of the extended compiler as well as the description of the solution. The conclusion is drawn from the analysis of the final compiler and descriptions of some options to expand and upgrade the product.
Actions (login required)