Skip to content

Commit d6a2012

Browse files
committed
use jfluid-server-15 for JDK 5+
1 parent e8840dd commit d6a2012

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

visualvm/libs.profiler/lib.profiler/src/org/graalvm/visualvm/lib/jfluid/TargetAppRunner.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -707,8 +707,8 @@ private boolean startTargetVM(String[] jvmArgs, String mainClassName, String[] m
707707
|| jdkVer.equals(JDK_120_STRING)
708708
|| jdkVer.equals(JDK_130_STRING)
709709
|| jdkVer.equals(JDK_140_STRING)) {
710-
// for now the 1.6 and 1.7 and 1.8 and 9 and 10+ profiling uses the same agent as 1.6
711-
jdkVer = JDK_16_STRING;
710+
// for now the 1.6 and 1.7 and 1.8 and 9 and 10+ profiling uses the same jfluid-server as 1.5
711+
jdkVer = JDK_15_STRING;
712712
}
713713

714714
jdkVer = jdkVer.substring(3); // Convert e.g. "jdk15" into just "15"

0 commit comments

Comments
 (0)