(final URL url)
| 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; |
no test coverage detected