Commit 687fa76e authored by Egor.Ushakov's avatar Egor.Ushakov
Browse files

no need for findClass if we have object already

parent 86d795a2
Branches unavailable Tags unavailable
No related merge requests found
Showing with 2 additions and 2 deletions
+2 -2
......@@ -83,8 +83,8 @@ public class MethodEvaluator implements Evaluator {
ReferenceType referenceType = null;
if(object instanceof ObjectReference) {
final ReferenceType qualifierType = ((ObjectReference)object).referenceType();
referenceType = debugProcess.findClass(context, qualifierType.name(), qualifierType.classLoader());
// it seems that if we have an object of the class, the class must be ready, so no need to use findClass here
referenceType = ((ObjectReference)object).referenceType();
}
else if(object instanceof ClassType) {
final ClassType qualifierType = (ClassType)object;
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment