17 # You should have received a copy of the GNU General Public License version
18 # 2 along with this work; if not, write to the Free Software Foundation,
19 # Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
20 #
21 # Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
22 # or visit www.oracle.com if you need additional information or have any
23 # questions.
24 #
25
26
27 # @test
28 # @bug 4944382
29 # @summary make sure we do not deadlock loading signed JAR with getInstance()
30 # @author Andreas Sterbenz
31 # @build Deadlock
32 # @run shell/timeout=30 Deadlock.sh
33
34 # set platform-dependent variables
35 OS=`uname -s`
36 case "$OS" in
37 SunOS )
38 PATHSEP=":"
39 FILESEP="/"
40 ;;
41 Linux )
42 PATHSEP=":"
43 FILESEP="/"
44 ;;
45 Darwin )
46 PATHSEP=":"
47 FILESEP="/"
48 ;;
49 AIX )
50 PATHSEP=":"
51 FILESEP="/"
52 ;;
53 CYGWIN* )
54 PATHSEP=";"
55 FILESEP="/"
56 ;;
57 Windows* )
58 PATHSEP=";"
59 FILESEP="\\"
60 ;;
|
17 # You should have received a copy of the GNU General Public License version
18 # 2 along with this work; if not, write to the Free Software Foundation,
19 # Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
20 #
21 # Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
22 # or visit www.oracle.com if you need additional information or have any
23 # questions.
24 #
25
26
27 # @test
28 # @bug 4944382
29 # @summary make sure we do not deadlock loading signed JAR with getInstance()
30 # @author Andreas Sterbenz
31 # @build Deadlock
32 # @run shell/timeout=30 Deadlock.sh
33
34 # set platform-dependent variables
35 OS=`uname -s`
36 case "$OS" in
37 Linux )
38 PATHSEP=":"
39 FILESEP="/"
40 ;;
41 Darwin )
42 PATHSEP=":"
43 FILESEP="/"
44 ;;
45 AIX )
46 PATHSEP=":"
47 FILESEP="/"
48 ;;
49 CYGWIN* )
50 PATHSEP=";"
51 FILESEP="/"
52 ;;
53 Windows* )
54 PATHSEP=";"
55 FILESEP="\\"
56 ;;
|