test/tools/javac/limits/FinallyNesting.java
Print this page
*** 27,37 ****
* @summary regression: javac generates too much bytecode for deply nested try-finally
* @author gafter
*
* @compile -source 1.4 -target 1.4 FinallyNesting.java
*/
!
class FinallyNesting {
public static void main(String[] args) {
int x;
try { x = 1; } finally {
try { x = 1; } finally {
--- 27,37 ----
* @summary regression: javac generates too much bytecode for deply nested try-finally
* @author gafter
*
* @compile -source 1.4 -target 1.4 FinallyNesting.java
*/
! // Source and target 1.4 are needed for the test to pass with default memory sizes.
class FinallyNesting {
public static void main(String[] args) {
int x;
try { x = 1; } finally {
try { x = 1; } finally {