langtools/test/tools/javac/diags/Example.java
changeset 6710 b14e6fe7b290
parent 6349 f80dfbda8f27
child 8226 8c2fd7e7bcf3
equal deleted inserted replaced
6709:ade773eb432d 6710:b14e6fe7b290
   399                 if (o instanceof JCDiagnostic) {
   399                 if (o instanceof JCDiagnostic) {
   400                     scanForKeys((JCDiagnostic) o, keys);
   400                     scanForKeys((JCDiagnostic) o, keys);
   401                 }
   401                 }
   402             }
   402             }
   403             for (JCDiagnostic sd: d.getSubdiagnostics())
   403             for (JCDiagnostic sd: d.getSubdiagnostics())
   404                 scanForKeys(d, keys);
   404                 scanForKeys(sd, keys);
   405         }
   405         }
   406     }
   406     }
   407 
   407 
   408     /**
   408     /**
   409      * Run the test using the standard simple entry point.
   409      * Run the test using the standard simple entry point.