Skip to content

Commit aa3576d

Browse files
committed
GH-355 compare string with string
1 parent d2c0c10 commit aa3576d

File tree

1 file changed

+1
-1
lines changed
  • visualvm/libs.profiler/profiler.oql/src/org/graalvm/visualvm/lib/profiler/oql/engine/api/impl

1 file changed

+1
-1
lines changed

visualvm/libs.profiler/profiler.oql/src/org/graalvm/visualvm/lib/profiler/oql/engine/api/impl/hat.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -200,7 +200,7 @@ function JavaClassProto() {
200200
var tmp = jclass(this);
201201
var otherid = objectid(other);
202202
while (tmp != null) {
203-
if (otherid.equals(tmp.javaClassId)) {
203+
if (otherid.equals(String(tmp.javaClassId))) {
204204
return true;
205205
}
206206
tmp = tmp.superClass;

0 commit comments

Comments
 (0)