--- a/JavaNativeMethod.st Wed May 01 18:25:53 2013 +0100
+++ b/JavaNativeMethod.st Thu May 02 00:07:31 2013 +0100
@@ -424,6 +424,7 @@
self error: 'Cannot install trampoline - no selector yet'.
^self.
].
+
MethodNode isNil ifTrue:[
self error: 'Cannot install trampoline - no MethodNode class'.
^self.
@@ -488,6 +489,12 @@
self byteCode: trampoline byteCode.
self literals: trampoline literals.
+%{
+ /* Now, try to bind to C-optimized native method */
+ __jbindnative(self);
+%}.
+
+
"Created: / 31-01-2013 / 12:44:16 / Jan Vrany <jan.vrany@fit.cvut.cz>"
"Modified: / 10-03-2013 / 01:39:49 / Jan Vrany <jan.vrany@fit.cvut.cz>"
! !