equal
deleted
inserted
replaced
25 |
25 |
26 package sun.net.www; |
26 package sun.net.www; |
27 import java.net.URL; |
27 import java.net.URL; |
28 import java.io.*; |
28 import java.io.*; |
29 import java.util.StringTokenizer; |
29 import java.util.StringTokenizer; |
|
30 import sun.security.action.GetPropertyAction; |
30 |
31 |
31 class MimeLauncher extends Thread { |
32 class MimeLauncher extends Thread { |
32 java.net.URLConnection uc; |
33 java.net.URLConnection uc; |
33 MimeEntry m; |
34 MimeEntry m; |
34 String genericTempFileTemplate; |
35 String genericTempFileTemplate; |
180 execPath = str; |
181 execPath = str; |
181 return true; |
182 return true; |
182 } |
183 } |
183 |
184 |
184 String execPathList; |
185 String execPathList; |
185 execPathList = java.security.AccessController.doPrivileged( |
186 execPathList = GetPropertyAction.getProperty("exec.path"); |
186 new sun.security.action.GetPropertyAction("exec.path")); |
|
187 if (execPathList == null) { |
187 if (execPathList == null) { |
188 // exec.path property not set |
188 // exec.path property not set |
189 return false; |
189 return false; |
190 } |
190 } |
191 |
191 |