equal
deleted
inserted
replaced
52 ;; |
52 ;; |
53 Linux ) |
53 Linux ) |
54 PATHSEP=":" |
54 PATHSEP=":" |
55 FILESEP="/" |
55 FILESEP="/" |
56 ;; |
56 ;; |
|
57 Darwin ) |
|
58 PATHSEP=":" |
|
59 FILESEP="/" |
|
60 ;; |
57 CYGWIN* ) |
61 CYGWIN* ) |
58 PATHSEP=";" |
62 PATHSEP=";" |
59 FILESEP="/" |
63 FILESEP="/" |
60 ;; |
64 ;; |
61 Windows* ) |
65 Windows* ) |
73 mkdir provider |
77 mkdir provider |
74 fi |
78 fi |
75 |
79 |
76 # compile the test program |
80 # compile the test program |
77 ${TESTJAVA}${FILESEP}bin${FILESEP}javac \ |
81 ${TESTJAVA}${FILESEP}bin${FILESEP}javac \ |
78 -d ${TESTCLASSES}${FILESEP} \ |
82 -d ${TESTCLASSES}${FILESEP} \ |
79 ${TESTSRC}${FILESEP}ClassLoaderDeadlock.java |
83 ${TESTSRC}${FILESEP}ClassLoaderDeadlock.java |
80 |
84 |
81 ${TESTJAVA}${FILESEP}bin${FILESEP}javac \ |
85 ${TESTJAVA}${FILESEP}bin${FILESEP}javac \ |
82 -d ${TESTCLASSES}${FILESEP}provider${FILESEP} \ |
86 -d ${TESTCLASSES}${FILESEP}provider${FILESEP} \ |
83 ${TESTSRC}${FILESEP}provider${FILESEP}HashProvider.java |
87 ${TESTSRC}${FILESEP}provider${FILESEP}HashProvider.java |
84 |
88 |
85 # run the test |
89 # run the test |
86 ${TESTJAVA}${FILESEP}bin${FILESEP}java \ |
90 ${TESTJAVA}${FILESEP}bin${FILESEP}java \ |
87 -classpath "${TESTCLASSES}${PATHSEP}${TESTSRC}${FILESEP}Deadlock.jar" \ |
91 -classpath "${TESTCLASSES}${PATHSEP}${TESTSRC}${FILESEP}Deadlock.jar" \ |
88 ClassLoaderDeadlock |
92 -Djava.awt.headless=true \ |
|
93 ClassLoaderDeadlock |
89 |
94 |
90 STATUS=$? |
95 STATUS=$? |
91 |
96 |
92 # clean up |
97 # clean up |
93 rm -f 'ClassLoaderDeadlock.class' 'ClassLoaderDeadlock$1.class' \ |
98 rm -f 'ClassLoaderDeadlock.class' 'ClassLoaderDeadlock$1.class' \ |