src/jdk.compiler/share/classes/com/sun/tools/javac/comp/Attr.java
changeset 58018 a3c63a9dfb2c
parent 57963 ed7eb20871c5
child 58109 ee07de0d2c16
child 58350 e23e560afbcb
--- a/src/jdk.compiler/share/classes/com/sun/tools/javac/comp/Attr.java	Thu Sep 05 09:59:43 2019 +0200
+++ b/src/jdk.compiler/share/classes/com/sun/tools/javac/comp/Attr.java	Thu Sep 05 12:39:48 2019 +0200
@@ -2774,6 +2774,8 @@
             resultInfo.checkContext.report(that, cause);
             result = that.type = types.createErrorType(pt());
             return;
+        } catch (CompletionFailure cf) {
+            chk.completionError(that.pos(), cf);
         } catch (Throwable t) {
             //when an unexpected exception happens, avoid attempts to attribute the same tree again
             //as that would likely cause the same exception again.