diff options
| author | William Deegan <bill@baddogconsulting.com> | 2018-09-30 18:20:39 (GMT) |
|---|---|---|
| committer | William Deegan <bill@baddogconsulting.com> | 2018-09-30 18:20:39 (GMT) |
| commit | 6c916c5723add8bd00f891d1bad165b79696400a (patch) | |
| tree | f7bb4c55587712dc07b6e77850f87ebd6404530b /test/Java/java_version_image/src4/NestedExample.java | |
| parent | 748b05d34deacb718a57b2463aa9a1f10958740c (diff) | |
| download | SCons-6c916c5723add8bd00f891d1bad165b79696400a.zip SCons-6c916c5723add8bd00f891d1bad165b79696400a.tar.gz SCons-6c916c5723add8bd00f891d1bad165b79696400a.tar.bz2 | |
change method of finding javac from using full path (which fails when it has a space in it), to appending the path to javac to env['ENV']['PATH']. (Which is basically what msvc/msvs do)
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(); + } +} |
