src/JavaVM.st
branchjk_new_structure
changeset 1030 9f87a1830611
parent 1029 c04221e26a79
child 1033 a31de6a4cfa4
--- a/src/JavaVM.st	Thu Oct 20 07:18:06 2011 +0000
+++ b/src/JavaVM.st	Thu Oct 20 12:38:32 2011 +0000
@@ -2526,7 +2526,7 @@
      - If T is an interface type, then S must implement interface T.
     "
     (s isJavaArrayClass not and: [ s isInterface not ]) ifTrue: [
-         (s includesBehavior: t) ifTrue: [^true] ifFalse:[self breakPoint:#mh].
+         (s includesBehavior: t) ifTrue: [^true] ifFalse:[self breakPoint:#mh.^false.].
     ].
      "
      - If S is an interface type, then:
@@ -16525,7 +16525,7 @@
         real (Java) class."
     
     | javaClassObj |
-self breakPoint:#mh.
+
     self assert: aClass isBehavior message: 'aClass is not behavior'.
     self assert: aClass ~~ Array
         message: 'aClass should not be Array (old impl)'.