()
| 286 | // create a test launch thread |
| 287 | Runnable launchRunner = new Runnable() { |
| 288 | @Override |
| 289 | public void run() { |
| 290 | // prevent single VM in Vista and Linux |
| 291 | if (OSPRuntime.isVista() || OSPRuntime.isLinux()) { |
| 292 | return; |
| 293 | } |
| 294 | try { |
| 295 | Process proc = Runtime.getRuntime().exec("java"); //$NON-NLS-1$ |
| 296 | // if it made it this far, new VM is allowed (?) |
| 297 | newVMAllowed = true; |
| 298 | proc.destroy(); |
| 299 | } catch (Exception ex) { |
| 300 | /** empty block */ |
| 301 | } |
| 302 | } |
| 303 | |
| 304 | }; |
| 305 | try { |
nothing calls this directly
no test coverage detected