Java Source to Byte Code Transformation - The Hidden Story!
Presented at EclipseCon 2023 in Ludwigsburg, Germany by Manoj N Palat (IBM).
Ever wondered how a source code, X.Java gets converted into X.class, the class file? Can we figure out a correlation between byte code and the source code? What are some of the terms in the byte code mean? If you would like to get to know the byte code in some detail, this session is for you. Let me brave one more step - If you would like to know your source code more, again this session is for you - getting to know byte code would ultimately mean better understanding of the source code.
The talk would start from pre-cursor of the source code, discussing the spec briefly, and then move on to how the story unfolds from a "text" file, which is the source file. Further, we would discuss how a structure "evolves" from this "raw text" of source file to have an intermediary "tree". Untimately, the talk would discuss the various stages where the information gets accumulated ultimately leading to the complete byte code.
No familiarity of the byte code is assumed - the talk will cover all the essentials of the byte code snippet relevant to the discussion. Attendees are of course expected to have some familiarity with Java. Post session, attendees would have gained insights into the Java byte code, obtained some tips to correlate the byte code to the source code which would ultimately help in the overall programming.