OSDN Git Service
(root)
/
pf3gnuchains
/
gcc-fork.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
* libjava.lang/initexc.java: New file.
[pf3gnuchains/gcc-fork.git]
/
libjava
/
testsuite
/
libjava.lang
/
G19990310_01.java
1
public class G19990310_01
2
{
3
public static void main (String[] args)
4
{
5
int i = 0;
6
try
7
{
8
System.out.println ("pass 1");
9
i++;
10
}
11
finally
12
{
13
System.out.println ("pass 2");
14
i++;
15
}
16
if (i == 2)
17
System.out.println ("OK");
18
else
19
System.out.println ("NG i = " + i);
20
}
21
}