mirror of
https://github.com/openjdk/jdk.git
synced 2025-09-21 19:44:41 +02:00
6943289: Project Coin: Improved Exception Handling for Java (aka 'multicatch')
Reviewed-by: jjg, darcy
This commit is contained in:
parent
3c813135d9
commit
de2b567108
32 changed files with 773 additions and 33 deletions
|
@ -354,6 +354,10 @@ public class TreeScanner<R,P> implements TreeVisitor<R,P> {
|
|||
return r;
|
||||
}
|
||||
|
||||
public R visitDisjointType(DisjointTypeTree node, P p) {
|
||||
return scan(node.getTypeComponents(), p);
|
||||
}
|
||||
|
||||
public R visitTypeParameter(TypeParameterTree node, P p) {
|
||||
R r = scan(node.getAnnotations(), p);
|
||||
r = scanAndReduce(node.getBounds(), p, r);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue