equal
deleted
inserted
replaced
1 #!/bin/sh |
1 #!/bin/sh |
2 |
2 |
3 # |
3 # |
4 # Copyright (c) 2002, 2014 Oracle and/or its affiliates. All rights reserved. |
4 # Copyright (c) 2002, 2014, Oracle and/or its affiliates. All rights reserved. |
5 # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. |
5 # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. |
6 # |
6 # |
7 # This code is free software; you can redistribute it and/or modify it |
7 # This code is free software; you can redistribute it and/or modify it |
8 # under the terms of the GNU General Public License version 2 only, as |
8 # under the terms of the GNU General Public License version 2 only, as |
9 # published by the Free Software Foundation. |
9 # published by the Free Software Foundation. |
73 } catch (Exception ee) { |
73 } catch (Exception ee) { |
74 System.out.println("a2: Exception caught"); |
74 System.out.println("a2: Exception caught"); |
75 } |
75 } |
76 System.out.println("a2: done"); |
76 System.out.println("a2: done"); |
77 } |
77 } |
78 |
78 |
79 public void a3() throws Exception { |
79 public void a3() throws Exception { |
80 int a3local = 3; |
80 int a3local = 3; |
81 String a3string = "a3"; |
81 String a3string = "a3"; |
82 System.out.println("a3: @@ delete this line"); // If this line is deleted, the test passes! |
82 System.out.println("a3: @@ delete this line"); // If this line is deleted, the test passes! |
83 System.out.println("a3: @1 breakpoint here a3"); |
83 System.out.println("a3: @1 breakpoint here a3"); |
103 TESTSRC=. |
103 TESTSRC=. |
104 fi |
104 fi |
105 |
105 |
106 for ii in . $TESTSRC $TESTSRC/.. ; do |
106 for ii in . $TESTSRC $TESTSRC/.. ; do |
107 if [ -r "$ii/ShellScaffold.sh" ] ; then |
107 if [ -r "$ii/ShellScaffold.sh" ] ; then |
108 . $ii/ShellScaffold.sh |
108 . $ii/ShellScaffold.sh |
109 break |
109 break |
110 fi |
110 fi |
111 done |
111 done |
112 } |
112 } |
113 |
113 |