matthiasblaesing commented on code in PR #7489:
URL: https://github.com/apache/netbeans/pull/7489#discussion_r1644843910


##########
profiler/profiler.oql/src/org/netbeans/modules/profiler/oql/engine/api/impl/hat.js:
##########
@@ -27,6 +27,8 @@ var PrimitiveArrayInstance = 
Java.type("org.netbeans.lib.profiler.heap.Primitive
 var Field = Java.type("org.netbeans.lib.profiler.heap.Field");
 var FieldValue = Java.type("org.netbeans.lib.profiler.heap.FieldValue");
 var GCRoot = Java.type("org.netbeans.lib.profiler.heap.GCRoot");
+// Injected by environment (type lookup not possible in GraalJS
+// var ArrayDump = Java.type("org.netbeans.lib.profiler.heap.ArrayDump");

Review Comment:
   Actually I replaced a reference to 
`org.netbeans.lib.profiler.heap.ArrayDump` in an `instanceof` check with a 
variable `ArrayDump`. This comment is a reminder, that there is an injected 
variable, that needs to be taken care of by the environment. The block where I 
added it would be the place where I would expect the import and so from there I 
can look in the environment.



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists

Reply via email to