Bugfixes in naives - Object.notify() and Object.waint(). development
authorJan Vrany <jan.vrany@fit.cvut.cz>
Wed, 24 Apr 2013 00:11:10 +0100
branchdevelopment
changeset 2550 833d22a3cde3
parent 2549 6ef03f1baa82
child 2563 ccb1057ab559
Bugfixes in naives - Object.notify() and Object.waint(). Cause by semi-automatic refactoring of natives.
JavaNativeMethodImpl_OpenJDK6.st
--- a/JavaNativeMethodImpl_OpenJDK6.st	Wed Apr 24 00:07:32 2013 +0100
+++ b/JavaNativeMethodImpl_OpenJDK6.st	Wed Apr 24 00:11:10 2013 +0100
@@ -10143,10 +10143,11 @@
     <javanative: 'java/lang/Object' name: 'notify()V'>
     "wakeup"
 
-    self notify: this.
+    JavaVM notify: this.
 
     "Created: / 06-01-1998 / 21:09:26 / cg"
     "Modified: / 22-11-2011 / 13:24:12 / Marcel Hlopko <hlopkmar@fel.cvut.cz>"
+    "Modified: / 24-04-2013 / 00:09:49 / Jan Vrany <jan.vrany@fit.cvut.cz>"
 !
 
 _java_lang_Object_notifyAll: this 
@@ -10175,7 +10176,7 @@
     handle := this.
     tmo := a1.
     tmo < 0 ifTrue:[
-        Reflection throwIllegalArgumentException:'1'
+        JavaVM throwIllegalArgumentException:'1'
     ].
     JavaVM
         waitOn: handle forTimeout: tmo
@@ -10183,7 +10184,7 @@
 
     "Modified: / 30-12-1998 / 19:20:43 / cg"
     "Modified: / 22-11-2011 / 13:17:51 / Marcel Hlopko <hlopkmar@fel.cvut.cz>"
-    "Modified: / 16-01-2013 / 19:47:40 / Jan Vrany <jan.vrany@fit.cvut.cz>"
+    "Modified: / 24-04-2013 / 00:08:51 / Jan Vrany <jan.vrany@fit.cvut.cz>"
 !
 
 _java_lang_Package_getSystemPackage0: this _:a1