river-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From peter_firmst...@apache.org
Subject svn commit: r1361671 - /river/jtsk/trunk/src/com/sun/jini/start/SharedActivationPolicyPermission.java
Date Sun, 15 Jul 2012 09:37:34 GMT
Author: peter_firmstone
Date: Sun Jul 15 09:37:33 2012
New Revision: 1361671

URL: http://svn.apache.org/viewvc?rev=1361671&view=rev
Log:
Fixing windows URL / URI issues.

Modified:
    river/jtsk/trunk/src/com/sun/jini/start/SharedActivationPolicyPermission.java

Modified: river/jtsk/trunk/src/com/sun/jini/start/SharedActivationPolicyPermission.java
URL: http://svn.apache.org/viewvc/river/jtsk/trunk/src/com/sun/jini/start/SharedActivationPolicyPermission.java?rev=1361671&r1=1361670&r2=1361671&view=diff
==============================================================================
--- river/jtsk/trunk/src/com/sun/jini/start/SharedActivationPolicyPermission.java (original)
+++ river/jtsk/trunk/src/com/sun/jini/start/SharedActivationPolicyPermission.java Sun Jul
15 09:37:33 2012
@@ -157,6 +157,8 @@ public final class SharedActivationPolic
                     path = new File(new URI(path)).getPath();
                 } catch (URISyntaxException ex) {
                     path = uncanonicalPath.replace('/', File.separatorChar);
+                } catch (IllegalArgumentException ex){
+                    path = uncanonicalPath.replace('/', File.separatorChar);
                 }
                 uncanonicalPath = path;
             } else {



Mime
View raw message