--- a/src/JavaMonitorsTests.st Thu Apr 12 09:57:19 2012 +0000
+++ b/src/JavaMonitorsTests.st Thu Apr 12 13:10:36 2012 +0000
@@ -368,19 +368,17 @@
- a __synchronized java method with that calls
- a java method throwing RuntimeException
- When first Java method returns, all monitors should be released
- "
+ When first Java method returns, all monitors should be released"
+
| javaTests |
-
self assert: (JavaVM enteredMonitorsOfProcess: thisProcess) isEmptyOrNil.
-
javaTests := JAVA stx libjava tests MonitorTests new.
javaTests test_releasing_01.
- self assert: (javaTests instVarNamed: #token) == 7.
-
+ self assert: (javaTests instVarNamed: #token) == 1101101.
self assert: (JavaVM enteredMonitorsOfProcess: thisProcess) isEmptyOrNil.
"Created: / 07-04-2012 / 08:22:19 / Jan Vrany <jan.vrany@fit.cvut.cz>"
+ "Modified: / 12-04-2012 / 15:11:47 / Marcel Hlopko <hlopkmar@fel.cvut.cz>"
!
test_releasing_02