diff --git a/src/java/com/threerings/resource/Handler.java b/src/java/com/threerings/resource/Handler.java index d2477263f..bbd1c9e1b 100644 --- a/src/java/com/threerings/resource/Handler.java +++ b/src/java/com/threerings/resource/Handler.java @@ -29,6 +29,8 @@ import java.net.URL; import java.net.URLConnection; import java.net.URLStreamHandler; +import java.security.Permission; + import javax.imageio.ImageIO; import javax.imageio.stream.ImageInputStream; @@ -108,6 +110,15 @@ public class Handler extends URLStreamHandler return _stream; } + // documentation inherited + public Permission getPermission () + throws IOException + { + // We allow anything in the resource bundle to be loaded + // without any permission restrictions. + return null; + } + protected InputStream _stream; }; }