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

Method openStream

app/src/main/java/javax/mail/Session.java:1335–1348  ·  view source on GitHub ↗
(final URL url)

Source from the content-addressed store, hash-verified

1333 }
1334
1335 private static InputStream openStream(final URL url) throws IOException {
1336 try {
1337 return AccessController.doPrivileged(
1338 new PrivilegedExceptionAction<InputStream>() {
1339 @Override
1340 public InputStream run() throws IOException {
1341 return url.openStream();
1342 }
1343 }
1344 );
1345 } catch (PrivilegedActionException e) {
1346 throw (IOException)e.getException();
1347 }
1348 }
1349
1350 EventQueue getEventQueue() {
1351 return q;

Callers 2

loadAllResourcesMethod · 0.95
runMethod · 0.45

Calls 1

getExceptionMethod · 0.45

Tested by

no test coverage detected