commit | 3832039dc7f98b3a2d9bc8d5b6f174065f3afc93 | [log] [tgz] |
---|---|---|
author | Karl Pauls <pauls@apache.org> | Thu May 03 20:35:22 2012 +0000 |
committer | Karl Pauls <pauls@apache.org> | Thu May 03 20:35:22 2012 +0000 |
tree | 9276ef88f417014049fb078285e1c6959afb4fd8 | |
parent | 1791999858a19befa0cc8c1c0c7c2c74c1e6a499 [diff] |
Override getHostAddress and return null for bundle stream handler as it doesn't have a host address (FELIX-3262). git-svn-id: https://svn.apache.org/repos/asf/felix/trunk@1333609 13f79535-47bb-0310-9956-ffa450edef68
diff --git a/framework/src/main/java/org/apache/felix/framework/URLHandlersBundleStreamHandler.java b/framework/src/main/java/org/apache/felix/framework/URLHandlersBundleStreamHandler.java index e701477..091f682 100644 --- a/framework/src/main/java/org/apache/felix/framework/URLHandlersBundleStreamHandler.java +++ b/framework/src/main/java/org/apache/felix/framework/URLHandlersBundleStreamHandler.java
@@ -117,6 +117,11 @@ return result.toString(); } + protected java.net.InetAddress getHostAddress(URL u) + { + return null; + } + private boolean checkPermission(URL u) { SecurityManager sm = System.getSecurityManager(); @@ -146,4 +151,4 @@ } return false; } -} \ No newline at end of file +}