sdedic commented on a change in pull request #2399:
URL: https://github.com/apache/netbeans/pull/2399#discussion_r495565459



##########
File path: 
javafx/javafx2.editor/src/org/netbeans/modules/javafx2/editor/FXMLCompletion2.java
##########
@@ -161,6 +161,8 @@ public void run(ResultIterator resultIterator) throws 
Exception {
                 }
                 Parser.Result result = resultIterator.getParserResult();
                 ci = CompilationInfo.get(result);
+                // following populates module info, partial fix for 
[NETBEANS-4832]
+                ci.getElements().getPackageElement("java.lang");

Review comment:
       I understand the trigger, but couldn't it be fixed right in the 
getPackagElement(), @jlahoda ?




----------------------------------------------------------------
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:
[email protected]



---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

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

Reply via email to