Skip to content
Advertisement

Tag: bytecode

Java bytecode – Why is offset being skipped?

I have this very simple class That i compiled with javac and then decompiled with javap to see its bytecode. Lets check offsets 0 – is reserved for “this” reference 1 – is the method parameter 2 – skipped ? 3 – variable “d” 4 – skipped ? 5 – variable “k” Why were offsets 2 and 4 skipped? Is

Advertisement