Fixes a bug where the module's source oracle was failing to refresh.

Review by: bruce (TBR)


git-svn-id: https://google-web-toolkit.googlecode.com/svn/trunk@2762 8db76d5a-ed1c-0410-87a9-c151d255dfc7
diff --git a/dev/core/src/com/google/gwt/dev/cfg/ModuleDef.java b/dev/core/src/com/google/gwt/dev/cfg/ModuleDef.java
index 9cddd07..b136f57 100644
--- a/dev/core/src/com/google/gwt/dev/cfg/ModuleDef.java
+++ b/dev/core/src/com/google/gwt/dev/cfg/ModuleDef.java
@@ -353,10 +353,11 @@
       throws UnableToCompleteException {
     PerfLogger.start("ModuleDef.refresh");
 
-    // Refresh the public path.
+    // Refresh resource oracles.
     lazyPublicOracle.refresh(logger);
+    lazySourceOracle.refresh(logger);
 
-    // Refreshes source internally.
+    // Update the compilation state to reflect the resource oracle changes.
     compilationState.refresh();
 
     // Refresh type oracle if needed.