langtools/src/share/classes/com/sun/tools/javadoc/ClassDocImpl.java
changeset 19669 03e91f2de12c
parent 18915 dcc9c8265f65
child 19912 4b1a79163f9c
equal deleted inserted replaced
19668:6b6009d00484 19669:03e91f2de12c
   126     static long getFlags(ClassSymbol clazz) {
   126     static long getFlags(ClassSymbol clazz) {
   127         while (true) {
   127         while (true) {
   128             try {
   128             try {
   129                 return clazz.flags();
   129                 return clazz.flags();
   130             } catch (CompletionFailure ex) {
   130             } catch (CompletionFailure ex) {
   131                 // quietly ignore completion failures
   131                 /* Quietly ignore completion failures.
       
   132                  * Note that a CompletionFailure can only
       
   133                  * occur as a result of calling complete(),
       
   134                  * which will always remove the current
       
   135                  * completer, leaving it to be null or
       
   136                  * follow-up completer. Thus the loop
       
   137                  * is guaranteed to eventually terminate.
       
   138                  */
   132             }
   139             }
   133         }
   140         }
   134     }
   141     }
   135 
   142 
   136     /**
   143     /**