--- 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)'.