Community
Participate
Working Groups
{
TI_JVM_FLAG = TI_PROBE_JVM_FLAG;
String VMArgs = launchConfiguration.getAttribute("executableArgs", "");
//255813 need to deal with the Remote Java Application use case
//where the specified classpath needs to be added to the bootclasspath
String classpath = launchConfiguration.getAttribute(IProfileLaunchConfigurationConstants.ATTR_CLASSPATH, (String)null);
if(classpath != null) {
String bootClassPath = "-Xbootclasspath/p:";
/* If this is a Windows operating system, add quotes to the beginning and end of
* the value passed to bootclasspath. This is done in case there are spaces in the
* path(s) specified. */
if (System.getProperty("os.name").toLowerCase().indexOf("windows") != -1)
bootClassPath = bootClassPath + "\"";
}
bootClassPath += classpath;
VMArgs += " " + bootClassPath;
TI_JVM_FLAG = VMArgs + " " + TI_JVM_FLAG ;
isCGProf = false;
break;