blob: 9a93b057b96b1d8511bc4533b5ed5a0e6fe9064c [file] [log] [blame]
/*******************************************************************************
* Copyright (c) 2007 IBM Corporation and others.
*
* This program and the accompanying materials
* are made available under the terms of the Eclipse Public License 2.0
* which accompanies this distribution, and is available at
* https://www.eclipse.org/legal/epl-2.0/
*
* SPDX-License-Identifier: EPL-2.0
*
* Contributors:
* IBM Corporation - initial API and implementation
*******************************************************************************/
package org.eclipse.debug.tests.targets;
public class ThreadStack {
public static void main(String[] args) {
Thread thread1 = new Thread(new Runnable(){
public void run() {
ClassOne one = new ClassOne();
one.method1();
}
});
thread1.start();
Thread thread2 = new Thread(new Runnable(){
public void run() {
ClassOne one = new ClassOne();
one.method1();
}
});
thread2.start();
Thread thread3 = new Thread(new Runnable(){
public void run() {
ClassTwo two = new ClassTwo();
two.method1();
}
});
thread3.start();
System.out.println("Done running ThreadStack.java");
}
}