View Javadoc
1   /*
2    * Licensed to the Apache Software Foundation (ASF) under one or more
3    * contributor license agreements.  See the NOTICE file distributed with
4    * this work for additional information regarding copyright ownership.
5    * The ASF licenses this file to You under the Apache License, Version 2.0
6    * (the "License"); you may not use this file except in compliance with
7    * the License.  You may obtain a copy of the License at
8    *
9    *      http://www.apache.org/licenses/LICENSE-2.0
10   *
11   *  Unless required by applicable law or agreed to in writing, software
12   *  distributed under the License is distributed on an "AS IS" BASIS,
13   *  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14   *  See the License for the specific language governing permissions and
15   *  limitations under the License.
16   */
17  package org.apache.bcel.generic;
18  
19  final class LargeJump {
20      public static void methodWithLargeJump(final int i) {
21          for (; i == 0;) {
22              try {
23                  x();
24              } finally {
25                  switch (i) {
26                      case 1:
27                          try {
28                              x();
29                          } finally {
30                              switch (i) {
31                                  case 1:
32                                      try {
33                                          x();
34                                      } finally {
35                                          switch (i) {
36                                              case 1:
37                                                  try {
38                                                      x();
39                                                  } finally {
40                                                      switch (i) {
41                                                          case 1:
42                                                              try {
43                                                                  x();
44                                                              } finally {
45                                                                  switch (i) {
46                                                                      case 1:
47                                                                          try {
48                                                                              x();
49                                                                          } finally {
50                                                                              switch (i) {
51                                                                                  case 1:
52                                                                                      try {
53                                                                                          x();
54                                                                                      } finally {
55                                                                                          switch (i) {
56                                                                                              case 1:
57                                                                                                  try {
58                                                                                                      x();
59                                                                                                  } finally {
60                                                                                                      switch (i) {
61                                                                                                          case 1:
62                                                                                                              try {
63                                                                                                                  x();
64                                                                                                              } finally {
65                                                                                                                  switch (i) {
66                                                                                                                      case 1:
67                                                                                                                          try {
68                                                                                                                              x();
69                                                                                                                          } finally {
70                                                                                                                              switch (i) {
71                                                                                                                                  case 1:
72                                                                                                                              }
73                                                                                                                          }
74                                                                                                                  }
75                                                                                                              }
76                                                                                                      }
77                                                                                                  }
78                                                                                          }
79                                                                                      }
80                                                                              }
81                                                                          }
82                                                                  }
83                                                              }
84                                                      }
85                                                  }
86                                          }
87                                      }
88                              }
89                          }
90                  }
91              }
92          }
93      }
94  
95      private static void x() {
96      }
97  }