--- a/JavaDecompiler.st Fri Aug 20 17:22:29 1999 +0000
+++ b/JavaDecompiler.st Sat Aug 21 10:53:35 1999 +0000
@@ -494,7 +494,8 @@
].
s emphasis:codeStyle.
- ((type := aField type) startsWith:pckgName) ifTrue:[
+ (((type := aField type) startsWith:pckgName)
+ or:[type startsWith:(pckgName copyReplaceAll:$/ with:$.)]) ifTrue:[
type := type copyFrom:(pckgName size + 1 + 1).
] ifFalse:[
(type startsWith:'java.lang.') ifTrue:[
@@ -549,7 +550,8 @@
].
s emphasis:codeStyle.
- ((type := aField type) startsWith:pckgName) ifTrue:[
+ (((type := aField type) startsWith:pckgName)
+ or:[type startsWith:(pckgName copyReplaceAll:$/ with:$.)]) ifTrue:[
type := type copyFrom:(pckgName size + 1 + 1).
].
type := type copy replaceAll:$/ with:$..
@@ -1207,6 +1209,6 @@
!JavaDecompiler class methodsFor:'documentation'!
version
- ^ '$Header: /home/jv/Projects/SmalltalkX/repositories/cvs/stx/libjava/JavaDecompiler.st,v 1.45 1999/08/20 17:22:16 cg Exp $'
+ ^ '$Header: /home/jv/Projects/SmalltalkX/repositories/cvs/stx/libjava/JavaDecompiler.st,v 1.46 1999/08/21 10:53:35 cg Exp $'
! !
JavaDecompiler initialize!
--- a/JavaMethod.st Fri Aug 20 17:22:29 1999 +0000
+++ b/JavaMethod.st Sat Aug 21 10:53:35 1999 +0000
@@ -15,9 +15,9 @@
instanceVariableNames:'accessFlags selector javaClass signature lineNumberTable
localVariableTable'
classVariableNames:'AbstractMethodInvokationSignal SignatureTypeCodes
- ForceByteCodeDisplay A_PUBLIC A_PRIVATE A_PROTECTED A_STATIC
- A_FINAL A_SYNCHRONIZED A_ABSTRACT A_NATIVE A_BREAKPOINT R_VOID
- R_LONG R_DOUBLE A_HASHANDLER'
+ ForceByteCodeDisplay UnresolvedClassSignal A_PUBLIC A_PRIVATE
+ A_PROTECTED A_STATIC A_FINAL A_SYNCHRONIZED A_ABSTRACT A_NATIVE
+ A_BREAKPOINT R_VOID R_LONG R_DOUBLE A_HASHANDLER'
poolDictionaries:''
category:'Java-Classes'
!
@@ -43,9 +43,13 @@
initialize
AbstractMethodInvokationSignal isNil ifTrue:[
- AbstractMethodInvokationSignal := ExecutionErrorSignal newSignalMayProceed:true.
- AbstractMethodInvokationSignal nameClass:self message:#abstractMethodInvokationSignal.
- AbstractMethodInvokationSignal notifierString:'attempt to execute abstract method'.
+ AbstractMethodInvokationSignal := ExecutionErrorSignal newSignalMayProceed:true.
+ AbstractMethodInvokationSignal nameClass:self message:#abstractMethodInvokationSignal.
+ AbstractMethodInvokationSignal notifierString:'attempt to execute abstract method'.
+
+ UnresolvedClassSignal := ExecutionErrorSignal newSignalMayProceed:true.
+ UnresolvedClassSignal nameClass:self message:#unresolvedClassSignal.
+ UnresolvedClassSignal notifierString:'unresolved class'.
].
A_PUBLIC := 16r0001.
@@ -118,6 +122,14 @@
^ AbstractMethodInvokationSignal
"Created: / 27.1.1998 / 21:50:05 / cg"
+!
+
+unresolvedClassSignal
+ "return the signal raised when an unresolved class is referenced"
+
+ ^ UnresolvedClassSignal
+
+ "Created: / 27.1.1998 / 21:50:05 / cg"
! !
!JavaMethod class methodsFor:'constants'!
@@ -1247,6 +1259,10 @@
"Modified: / 27.1.1998 / 21:50:19 / cg"
"Created: / 16.10.1998 / 11:27:21 / cg"
+!
+
+nullClassPointer
+ JavaVM throwClassNotFoundException
! !
!JavaMethod methodsFor:'methodref interchangability'!
@@ -1622,6 +1638,6 @@
!JavaMethod class methodsFor:'documentation'!
version
- ^ '$Header: /home/jv/Projects/SmalltalkX/repositories/cvs/stx/libjava/JavaMethod.st,v 1.85 1999/01/08 14:15:10 cg Exp $'
+ ^ '$Header: /home/jv/Projects/SmalltalkX/repositories/cvs/stx/libjava/JavaMethod.st,v 1.86 1999/08/21 10:53:24 cg Exp $'
! !
JavaMethod initialize!