--- a/JavaVM.st Thu Aug 26 10:16:16 1999 +0000
+++ b/JavaVM.st Fri Sep 10 16:17:09 1999 +0000
@@ -2358,7 +2358,11 @@
'JAVA: configure: need event' printCR.
]
].
- view origin:x@y extent:ext.
+ (x isNil or:[y isNil]) ifTrue:[
+ Transcript showCR:'bad args to reshape'.
+ ] ifFalse:[
+ view origin:x@y extent:ext.
+ ]
].
].
@@ -4125,7 +4129,7 @@
"/ Copy data from returned buffer into Java byte array.
-self halt.
+"/ self halt.
returnAsStream ifTrue:[
text := file contents asString.
data := text asByteArray.
@@ -5815,11 +5819,12 @@
Object messageNotUnderstoodSignal handle:[:ex |
"/ remap doesNotUnderstand with nil-receiver to
"/ a nullPointerException ...
- |con|
+ |con m|
con := ex suspendedContext.
con receiver isNil ifTrue:[
- con sender method isJavaMethod ifTrue:[
+ ((m := con sender method) notNil
+ and:[m isJavaMethod]) ifTrue:[
self throwNullPointerException.
AbortSignal raise. "/ ex proceed.
]
@@ -12050,6 +12055,6 @@
!JavaVM class methodsFor:'documentation'!
version
- ^ '$Header: /home/jv/Projects/SmalltalkX/repositories/cvs/stx/libjava/JavaVM.st,v 1.160 1999/08/26 10:16:16 cg Exp $'
+ ^ '$Header: /home/jv/Projects/SmalltalkX/repositories/cvs/stx/libjava/JavaVM.st,v 1.161 1999/09/10 16:17:09 cg Exp $'
! !
JavaVM initialize!