From 8f247ec6cecc50494a696b919fca679fb1a575fa Mon Sep 17 00:00:00 2001 From: Shevchik Date: Sun, 15 Dec 2013 15:28:06 +0400 Subject: [PATCH] Only 2 warnings left --- src/org/apache/bcel/generic/ReferenceType.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/org/apache/bcel/generic/ReferenceType.java b/src/org/apache/bcel/generic/ReferenceType.java index b61db28..8bb497a 100644 --- a/src/org/apache/bcel/generic/ReferenceType.java +++ b/src/org/apache/bcel/generic/ReferenceType.java @@ -265,9 +265,9 @@ public abstract class ReferenceType extends Type { // every ArrayType? } if (((this instanceof ObjectType) && ((ObjectType) this) - .referencesInterface()) + .referencesInterfaceExact()) || ((t instanceof ObjectType) && ((ObjectType) t) - .referencesInterface())) { + .referencesInterfaceExact())) { return Type.OBJECT; // TODO: The above line is correct comparing to the vmspec2. But one // could