mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-15 13:49:42 +02:00
8361730: The CodeBuilder.trying(BlockCodeBuilder,CatchBuilder) method generates corrupted bytecode in certain cases
Reviewed-by: asotona
This commit is contained in:
parent
dccca0fb7a
commit
c5cbcac828
1 changed files with 5 additions and 0 deletions
|
@ -175,6 +175,11 @@ public sealed interface CodeBuilder
|
|||
* A builder for blocks of code. Its {@link #startLabel()} and {@link
|
||||
* #endLabel()} do not enclose the entire method body, but from the start to
|
||||
* the end of the block.
|
||||
* <p>
|
||||
* The location where a block of code merges back to its parent block, as
|
||||
* represented by the {@link #breakLabel()}, is expected to be reachable,
|
||||
* either from this block or the parent block. The built code may be
|
||||
* malformed if there is no executable code at that location.
|
||||
*
|
||||
* @since 24
|
||||
*/
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue