diff options
author | William Deegan <bill@baddogconsulting.com> | 2018-11-13 18:58:06 (GMT) |
---|---|---|
committer | William Deegan <bill@baddogconsulting.com> | 2018-11-13 18:58:06 (GMT) |
commit | c2aba592affffdb12d2f95e251ccfc566b6dd674 (patch) | |
tree | 3f1719afc1ec7408135659f154f4b4072f8b44af /test/Java/java_version_image/src4/NestedExample.java | |
parent | ade84bc59db524fbccd670bfadefa786407c7c0b (diff) | |
parent | 648cf42a89845ccad012e02609ca8958e62ce272 (diff) | |
download | SCons-c2aba592affffdb12d2f95e251ccfc566b6dd674.zip SCons-c2aba592affffdb12d2f95e251ccfc566b6dd674.tar.gz SCons-c2aba592affffdb12d2f95e251ccfc566b6dd674.tar.bz2 |
Merge remote-tracking branch 'upstream/master' into subst_rewrite
Diffstat (limited to 'test/Java/java_version_image/src4/NestedExample.java')
-rw-r--r-- | test/Java/java_version_image/src4/NestedExample.java | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/test/Java/java_version_image/src4/NestedExample.java b/test/Java/java_version_image/src4/NestedExample.java new file mode 100644 index 0000000..531f2e9 --- /dev/null +++ b/test/Java/java_version_image/src4/NestedExample.java @@ -0,0 +1,31 @@ +// import java.util.*; + +public class NestedExample +{ + public NestedExample() + { + new Thread() { + public void start() + { + new Thread() { + public void start() + { + try {Thread.sleep(200);} + catch (Exception e) {} + } + }; + while (true) + { + try {Thread.sleep(200);} + catch (Exception e) {} + } + } + }; + } + + + public static void main(String argv[]) + { + new NestedExample(); + } +} |