# HG changeset patch # User Omair Majid # Date 1440436026 14400 # Node ID 22e60a5cb2129f563263bb229cbde013c7167304 # Parent 09a7b09c302a5368c5456ec615b897119ad4ffb9 Fix possibly-incorrect hardcoded path to profiler jar In order to account for a missing trailing slash when someone sets a custom value for the 'themrostat.home' property at build time, add a slash explicitly. Otherwise the directories may be joined together resulting in an invalid path and the profiler will fail to find its jars at runtime. PR 2829 Reviewed-by: jerboaa, neugens Review-thread: http://icedtea.classpath.org/pipermail/thermostat/2015-August/015499.html Review-thread: http://icedtea.classpath.org/pipermail/thermostat/2016-February/017630.html diff -r 09a7b09c302a -r 22e60a5cb212 vm-profiler/pom.xml --- a/vm-profiler/pom.xml Thu Jun 04 00:01:22 2015 -0500 +++ b/vm-profiler/pom.xml Mon Aug 24 13:07:06 2015 -0400 @@ -51,8 +51,8 @@ Thermostat VM CPU plugin - ${thermostat.home}plugins/vm-profiler/ - ${thermostat.home}plugins/vm-profiler/asm-all-${asm.version}.jar + ${thermostat.home}/plugins/vm-profiler/ + ${thermostat.home}/plugins/vm-profiler/asm-all-${asm.version}.jar