Skip to content

Commit 9e91a1e

Browse files
committed
GH-538 use LAUNCHER_SYSPROP_ID system property to recognize standalone graalvm language
1 parent efca017 commit 9e91a1e

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

visualvm/graalvm/src/org/graalvm/visualvm/graalvm/application/type/GraalVMApplicationTypeFactory.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,8 @@ private boolean isGraalVM(Jvm jvm, String mainClass) {
102102

103103
if (sysProp != null) {
104104
if (sysProp.getProperty(GRAAL_SYSPROP_ID) != null
105-
|| sysProp.getProperty(GRAAL_SYSPROP1_ID) != null) {
105+
|| sysProp.getProperty(GRAAL_SYSPROP1_ID) != null
106+
|| sysProp.getProperty(LAUNCHER_SYSPROP_ID) != null) {
106107
return true;
107108
}
108109
}

0 commit comments

Comments
 (0)