MCPcopy Create free account
hub / github.com/M66B/FairEmail / run

Method run

app/src/main/java/javax/mail/Session.java:218–228  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

216 dir = AccessController.doPrivileged(
217 new PrivilegedAction<String>() {
218 @Override
219 public String run() {
220 String home = System.getProperty("java.home");
221 String newdir = home + File.separator + "conf";
222 File conf = new File(newdir);
223 if (conf.exists())
224 return newdir + File.separator;
225 else
226 return home + File.separator +
227 "lib" + File.separator;
228 }
229 });
230 } catch (Exception ex) {
231 // ignore any exceptions

Callers

nothing calls this directly

Calls 11

toArrayMethod · 0.80
sizeMethod · 0.65
getPropertyMethod · 0.45
existsMethod · 0.45
getContextClassLoaderMethod · 0.45
getResourceAsStreamMethod · 0.45
listMethod · 0.45
getResourcesMethod · 0.45
isEmptyMethod · 0.45
getSystemResourcesMethod · 0.45
openStreamMethod · 0.45

Tested by

no test coverage detected