Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
小 白蛋
Intellij Community
Commits
687fa76e
Commit
687fa76e
authored
10 years ago
by
Egor.Ushakov
Browse files
Options
Download
Email Patches
Plain Diff
no need for findClass if we have object already
parent
86d795a2
Branches unavailable
Tags unavailable
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
java/debugger/impl/src/com/intellij/debugger/engine/evaluation/expression/MethodEvaluator.java
+2
-2
...ebugger/engine/evaluation/expression/MethodEvaluator.java
with
2 additions
and
2 deletions
+2
-2
java/debugger/impl/src/com/intellij/debugger/engine/evaluation/expression/MethodEvaluator.java
+
2
-
2
View file @
687fa76e
...
...
@@ -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
;
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment
Menu
Projects
Groups
Snippets
Help