Author: [EMAIL PROTECTED]
Date: Tue Sep 23 10:59:43 2008
New Revision: 3675
Modified:
changes/spoon/runAsync/dev/core/src/com/google/gwt/dev/resource/impl/ResourceOracleImpl.java
Log:
In ResourceOracleImpl, quietly ignore jar entries that are inaccessible
due to access restrictions.
Modified:
changes/spoon/runAsync/dev/core/src/com/google/gwt/dev/resource/impl/ResourceOracleImpl.java
==============================================================================
---
changes/spoon/runAsync/dev/core/src/com/google/gwt/dev/resource/impl/ResourceOracleImpl.java
(original)
+++
changes/spoon/runAsync/dev/core/src/com/google/gwt/dev/resource/impl/ResourceOracleImpl.java
Tue Sep 23 10:59:43 2008
@@ -28,6 +28,7 @@
import java.net.URISyntaxException;
import java.net.URL;
import java.net.URLClassLoader;
+import java.security.AccessControlException;
import java.util.ArrayList;
import java.util.Collections;
import java.util.HashMap;
@@ -162,6 +163,9 @@
if (entry != null) {
classPath.add(entry);
}
+ continue;
+ } catch (AccessControlException e) {
+ logger.log(TreeLogger.DEBUG, "Skipping URL due to access
restrictions: " + url);
continue;
} catch (URISyntaxException e) {
caught = e;
--~--~---------~--~----~------------~-------~--~----~
http://groups.google.com/group/Google-Web-Toolkit-Contributors
-~----------~----~----~----~------~----~------~--~---