Relates :
|
Unfortunately, the fix for jdk8062608 does not go far enough. While jdk8062608 fixed the MethodGen constructor so that the LVT is no longer corrupted, and the LVTT is correctly duplicated when "cloning" a method, the rest of the MethodGen class still has no knowledge of the VLTT. So if we subsequently modify the instruction list, only bytecode offsets in the LVT are updated, and thus the LVTT offsets become out-of-sync with the LVT, resulting in verification error.
|