You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@netbeans.apache.org by GitBox <gi...@apache.org> on 2019/07/02 21:09:00 UTC

[GitHub] [netbeans] jlahoda opened a new pull request #1352: [NETBEANS-2240] (partial) Switch DeferredComplationFailureHandler to …

jlahoda opened a new pull request #1352: [NETBEANS-2240] (partial) Switch DeferredComplationFailureHandler to …
URL: https://github.com/apache/netbeans/pull/1352
 
 
   …javac move before running JavacTaskImpl.enter(), to ensure CompletionFailures are handled properly.
   
   If the errors are not handled properly during enter, they then cause attr to be skipped, leading to (among other things) the NPE from PostFlowAnalysis->Type.erasure. When javac is doing something, the DeferredComplationFailureHandler should be in the "javac" mode. Normally javac's API methods will switch the mode, but JavacTaskImpl.enter is not an API method, so it is not doing the switch.

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@netbeans.apache.org
For additional commands, e-mail: notifications-help@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists