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
* prims.cc (_Jv_NewObjectArray): Make sure byte size doesn't
[pf3gnuchains/gcc-fork.git]
/
libjava
/
testsuite
/
libjava.lang
/
Throw_1.java
1
// Some tests of `throw'.
2
3
public class Throw_1
4
{
5
public static Throwable get ()
6
{
7
return null;
8
}
9
10
public static void main (String[] args)
11
{
12
Throwable t = get ();
13
try
14
{
15
throw t;
16
}
17
catch (NullPointerException y)
18
{
19
}
20
catch (Throwable x)
21
{
22
System.out.println ("no");
23
}
24
}
25
}