MCPcopy Create free account
hub / github.com/LFYSec/MScan / implicitCaught

Method implicitCaught

src/test/resources/controlflow/Exceptions.java:15–27  ·  view source on GitHub ↗
(int i)

Source from the content-addressed store, hash-verified

13 }
14
15 void implicitCaught(int i) {
16 int x = i + i;
17 try {
18 int[] a = new int[x];
19 x = a[i];
20 f = x;
21 use(x);
22 } catch (Exception e) {
23 x = i;
24 } catch (Throwable t) {
25 x = x * x;
26 }
27 }
28
29 void implicitUncaught(int i) {
30 int x = i + i;

Callers

nothing calls this directly

Calls 1

useMethod · 0.95

Tested by

no test coverage detected