src/share/classes/com/sun/tools/sjavac/comp/JavaCompilerWithDeps.java

Print this page

        

@@ -100,8 +100,8 @@
                 javacService.logError("Error: The source file "+sym.sourcefile.getName()+
                                         " is located in the wrong package directory, because it contains the class "+
                                         sym.getQualifiedName());
             }
         }
-        deps.visitPubapi(sym);
+        deps.visitPubapiOfSource(sym);
     }
 }