Commits

Tomas Zezula  committed a7b7199 Draft

#235620:AssertionError: isSameType UNKNOWN

  • Participants
  • Parent commits c29b116

Comments (0)

Files changed (1)

File java.editor/src/org/netbeans/modules/java/editor/imports/ClipboardHandler.java

         boolean finished = runQuickly(js, new Task<CompilationController>() {
             @Override
             public void run(final CompilationController cc) throws Exception {
-                cc.toPhase(JavaSource.Phase.ELEMENTS_RESOLVED);
+                cc.toPhase(JavaSource.Phase.RESOLVED);
 
                 final TreePath tp = cc.getTreeUtilities().pathFor(caret);
                 final Scope context = cc.getTrees().getScope(tp);