From ecf68a75b4064c87f67451c4475a0a72e016ff25 Mon Sep 17 00:00:00 2001 From: jochen Date: Fri, 9 Apr 1999 08:13:26 +0000 Subject: [PATCH] call tMethod instead of new MethodType git-svn-id: https://svn.code.sf.net/p/jode/code/trunk@548 379699f6-c40d-0410-875b-85095c16579e --- jode/jode/bytecode/MethodInfo.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/jode/jode/bytecode/MethodInfo.java b/jode/jode/bytecode/MethodInfo.java index 7608104..0dfd851 100644 --- a/jode/jode/bytecode/MethodInfo.java +++ b/jode/jode/bytecode/MethodInfo.java @@ -18,6 +18,7 @@ */ package jode.bytecode; +import jode.Type; import jode.MethodType; import java.io.*; import java.lang.reflect.Modifier; @@ -32,7 +33,7 @@ public class MethodInfo extends BinaryInfo { DataInputStream input, int howMuch) throws IOException { modifier = input.readUnsignedShort(); name = constantPool.getUTF8(input.readUnsignedShort()); - type = new MethodType(constantPool.getUTF8(input.readUnsignedShort())); + type = Type.tMethod(constantPool.getUTF8(input.readUnsignedShort())); readAttributes(constantPool, input, howMuch); }