equal
deleted
inserted
replaced
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 /** |