Kroppeb
Kroppeb
WARNING: HIGHLY EXPERIMENTAL. THERE IS NO GUARANTEE THAT THIS WILL NOT DESTROY YOUR WORLD. Most likely incompatible with Starlight, Phosphor, maybe Lithium, Hydrogen, Ferritecore, or other mods that might touch...
code: [https://gist.github.com/Kroppeb/3807099a50262cd99eba32866bae2d0f](https://gist.github.com/Kroppeb/3807099a50262cd99eba32866bae2d0f)
see jasm test `TestSelfIterableLoop`.
Source: ```java public void test() { boolean vvv1 = true, vvv2 = false; try { if (vvv2) { throw new RuntimeException(); } vvv2 = vvv1; } finally { char vvv31;...
90% of the lines changed are tests.
I gotta fix the linenumbers in the tests
Currently we have no one in the team who understands what exactly is going on to resugar finally statements. Furthermore, it seems to be produce incorrect result or just crashes...
eg ```java void test(String s){ registerCallback(event -> event.appendLogMessage(s)); } ``` decompiles something like this when the synthetic flag of the static lambda method gets removed ```java static void test$lambda0(Event event,...