diff -r cdb00120c2fd -r ddcff50a1fdc JavaByteCodeProcessor.st --- a/JavaByteCodeProcessor.st Fri Feb 20 19:52:09 2015 +0100 +++ b/JavaByteCodeProcessor.st Mon Mar 02 17:50:49 2015 +0100 @@ -1,3 +1,5 @@ +"{ Encoding: utf8 }" + " COPYRIGHT (c) 1996-2015 by Claus Gittinger @@ -20,6 +22,8 @@ " "{ Package: 'stx:libjava' }" +"{ NameSpace: Smalltalk }" + Object subclass:#JavaByteCodeProcessor instanceVariableNames:'byteCode pc method constantPool context receiver sp retVal instrPointer op wide numArgs numVars leaveProcessor' @@ -270,6 +274,7 @@ OpSwitchTable at: 1 + 183 put: #invnonvirt. OpSwitchTable at: 1 + 184 put: #invstatic. OpSwitchTable at: 1 + 185 put: #invinterface. + OpSwitchTable at: 1 + 186 put: #invdynamic. OpSwitchTable at: 1 + 187 put: #new. OpSwitchTable at: 1 + 188 put: #newarray. OpSwitchTable at: 1 + 189 put: #anewarray. @@ -294,7 +299,7 @@ "Created: / 17-03-2011 / 14:56:13 / Marcel Hlopko " "Modified: / 17-03-2011 / 16:43:17 / Marcel Hlopko " - "Modified: / 21-03-2011 / 20:23:44 / Jan Vrany " + "Modified: / 25-02-2015 / 19:35:22 / Jan Vrany " ! ! !JavaByteCodeProcessor class methodsFor:'accessing'! @@ -307,9 +312,10 @@ !JavaByteCodeProcessor class methodsFor:'private-logging'! -log: aMessage -Verbose ifTrue: [ - ('JAVA [info]: ' , aMessage) infoPrintCR.]. +log: aString + Verbose ifTrue: [ + Logger log: aString severity: Logger severityDEBUG facility: #JVM + ] "Created: / 17-03-2011 / 14:59:24 / Marcel Hlopko " ! ! @@ -1519,7 +1525,7 @@ ^ self subclassResponsibility " Description - The must be an index into the local variable array of the current frame (§3.6). + The must be an index into the local variable array of the current frame (§3.6). The local variable at must contain an int. The value of the local variable at is pushed onto the operand stack. @@ -1540,7 +1546,7 @@ " Description - The must be an index into the local variable array of the current frame (§3.6). + The must be an index into the local variable array of the current frame (§3.6). The local variable at must contain an int. The value of the local variable at is pushed onto the operand stack. @@ -1621,6 +1627,14 @@ "Created: / 17-03-2011 / 16:51:13 / Marcel Hlopko " ! +invdynamic + "raise an error: must be redefined in concrete subclass(es)" + + ^ self subclassResponsibility + + "Created: / 25-02-2015 / 19:35:51 / Jan Vrany " +! + invinterface "raise an error: must be redefined in concrete subclass(es)" @@ -1697,7 +1711,7 @@ ^ self subclassResponsibility " Description - The must be an index into the local variable array of the current frame (§3.6). + The must be an index into the local variable array of the current frame (§3.6). The value on the top of the operand stack must be of type int. It is popped from the operand stack, and the value of the local variable at is set to value. @@ -1717,7 +1731,7 @@ " Description - The must be an index into the local variable array of the current frame (§3.6). + The must be an index into the local variable array of the current frame (§3.6). The value on the top of the operand stack must be of type int. It is popped from the operand stack, and the value of the local variable at is set to value. @@ -2589,11 +2603,11 @@ !JavaByteCodeProcessor class methodsFor:'documentation'! version - ^ '$Header: /cvs/stx/stx/libjava/JavaByteCodeProcessor.st,v 1.7 2015-01-28 02:10:49 vrany Exp $' + ^ '$Header: /cvs/stx/stx/libjava/JavaByteCodeProcessor.st,v 1.8 2015-03-02 16:50:49 vrany Exp $' ! version_CVS - ^ '$Header: /cvs/stx/stx/libjava/JavaByteCodeProcessor.st,v 1.7 2015-01-28 02:10:49 vrany Exp $' + ^ '$Header: /cvs/stx/stx/libjava/JavaByteCodeProcessor.st,v 1.8 2015-03-02 16:50:49 vrany Exp $' ! version_HG