/*
* @test
* @bug 7122796
* @summary Tests 7122796
* @author anthony.petrov@oracle.com
*/
public class MainAppContext {
public void run() {
test(true);
}
}).start();
// Sleep on the main thread so that the AWT Toolkit is initialized
// in a user AppContext first
test(false);
}
throw new RuntimeException("No EventQueue for the current app context! userAppContext: " + userAppContext);
}
}
}