JavaNativeMethod.st
branchdevelopment
changeset 2841 6fa1bcf9c997
parent 2731 13f5be2bf83b
child 3196 d617b4590431
--- a/JavaNativeMethod.st	Tue Oct 08 19:16:39 2013 +0100
+++ b/JavaNativeMethod.st	Thu Oct 10 00:08:11 2013 +0100
@@ -378,7 +378,7 @@
         "14" '_:_:_:_:_:_:_:_:_:_:_:_:_:_:'
     ) at: numArgs + 1.
 
-    newStyleSel := ('_' , ((javaClass name copyReplaceAll:$/ with:$_) replaceAll:$$ with:$_), '_' , nm , ':' , args) asSymbol.    
+    newStyleSel := ('_' , ((javaClass binaryName copyReplaceAll:$/ with:$_) replaceAll:$$ with:$_), '_' , nm , ':' , args) asSymbol.    
     (JavaVM natives class canUnderstand: newStyleSel) ifTrue:[
         "Good, a JavaVM understands new style native selectors"
         "No checke whether the descriptor is the same."
@@ -403,7 +403,7 @@
     ^newStyleSel
 
     "Created: / 19-01-2013 / 22:11:40 / Jan Vrany <jan.vrany@fit.cvut.cz>"
-    "Modified: / 06-05-2013 / 22:03:08 / Jan Vrany <jan.vrany@fit.cvut.cz>"
+    "Modified: / 09-10-2013 / 01:43:56 / Jan Vrany <jan.vrany@fit.cvut.cz>"
 ! !
 
 !JavaNativeMethod methodsFor:'private-compiler interface'!