summaryrefslogtreecommitdiffstats
path: root/test/Java/java_version_image/src4/NestedExample.java
diff options
context:
space:
mode:
authorWilliam Deegan <bill@baddogconsulting.com>2018-10-15 18:56:39 (GMT)
committerGitHub <noreply@github.com>2018-10-15 18:56:39 (GMT)
commite422f8fa002b9cbe6fb5785c301cfc63d8843a99 (patch)
treea987fed537a6a8ac1bb6cc4fc09def0dc8830e47 /test/Java/java_version_image/src4/NestedExample.java
parent55c4cebac66372da7a27c7b1e00d435dc2abe27c (diff)
parentcd1971093ec238e57770e72998caa3055e7af449 (diff)
downloadSCons-e422f8fa002b9cbe6fb5785c301cfc63d8843a99.zip
SCons-e422f8fa002b9cbe6fb5785c301cfc63d8843a99.tar.gz
SCons-e422f8fa002b9cbe6fb5785c301cfc63d8843a99.tar.bz2
Merge pull request #3206 from bdbaddog/fix_java_tests_path_with_spaces
Revamp Java tools to search in reasonable paths.
Diffstat (limited to 'test/Java/java_version_image/src4/NestedExample.java')
-rw-r--r--test/Java/java_version_image/src4/NestedExample.java31
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();
+ }
+}