summaryrefslogtreecommitdiffstats
path: root/src/java/com/jogamp/common/net/AssetURLContext.java
diff options
context:
space:
mode:
authorSven Gothel <[email protected]>2014-09-08 11:57:29 +0200
committerSven Gothel <[email protected]>2014-09-08 11:57:29 +0200
commit0fa327e8a2c773d3e635e69bb87ec9a58baff388 (patch)
treebf77ca07708c655533bf632a3dc117b9f7d3fadb /src/java/com/jogamp/common/net/AssetURLContext.java
parent360c2d89e162616f5596dc83561601e0378bdb11 (diff)
parentdde91a061cb0bc209442fe0e74a532b91d1bb4b8 (diff)
Merge branch 'v2.3.0_branch'
Diffstat (limited to 'src/java/com/jogamp/common/net/AssetURLContext.java')
-rw-r--r--src/java/com/jogamp/common/net/AssetURLContext.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/java/com/jogamp/common/net/AssetURLContext.java b/src/java/com/jogamp/common/net/AssetURLContext.java
index 2ada3c6..af90c01 100644
--- a/src/java/com/jogamp/common/net/AssetURLContext.java
+++ b/src/java/com/jogamp/common/net/AssetURLContext.java
@@ -185,7 +185,7 @@ public abstract class AssetURLContext implements PiggybackURLContext {
try {
final File file = new File(path);
if(file.exists()) {
- url = IOUtil.toURISimple(file).toURL();
+ url = Uri.valueOf(file).toURL();
conn = open(url);
type = null != conn ? 3 : -1;
}