The Ghost in the Machine: 5 Java Bytecode Mysteries Explained
Have you ever wondered what happens to your code once the compiler is done with it? We often treat the JVM as a black box, but if you peek inside the .class files using javap -c, you’ll find that the compiler is doing some very strange things behind your back.
From double exit signs to vanishing variables, here are 5 mysteries of Java bytecode.
How to Follow Along: The “Verify” Step
To see these mysteries yourself, you only need the JDK.

