Strange translation of finally blocks
jan.lahoda at oracle.com
Mon Sep 22 10:24:38 UTC 2014
On 21.9.2014 23:39, Martin Schaef wrote:
> Hi there,
> I’m working on a static analysis tool for bytecode and I have this issue where the compiler generates strange code with looping catch blocks which kills my tool.
> I attached an example Java file and the bytecode. If you look at the exception table, there is a line:
> 79 81 79 any
What version of JDK do you use? It appears this may be already resolved
(by Maurizio) in JDK 8:
> which gives me some headache.
> Is this correct? If so, what does it mean?
> I found a similar problem with try-with-resources earlier and reported it on stackoverflow:
More information about the compiler-dev