git-svn-id: https://svn.code.sf.net/p/jode/code/trunk@826 379699f6-c40d-0410-875b-85095c16579e
stable
jochen 25 years ago
parent 0b299aecb7
commit 9894638f6c
  1. 4
      jode/jode/jvm/SimpleRuntimeEnvironment.java

@ -188,7 +188,9 @@ public class SimpleRuntimeEnvironment implements RuntimeEnvironment {
throws InterpreterException, NegativeArraySizeException {
Class clazz;
try {
clazz = Class.forName(type);
/* get the base class (strip leading "[") */
clazz = Type.tType(type.substring(dimensions.length))
.getTypeClass();
} catch (ClassNotFoundException ex) {
throw new InterpreterException
("Class "+ex.getMessage()+" not found");

Loading…
Cancel
Save