I have a requirement where I need to execute 3 javaagents in a specific order (It is a total hack I know). Java will execute the agents in the order specified on the command line. Sorting the java_opts makes this not work:
https://github.com/cloudfoundry/java-buildpack/blob/master/lib/java_buildpack/component/java_opts.rb#L73
I used to be able to just append all 3 into one java_opts but that is no longer possible in v2:
https://github.com/cloudfoundry/java-buildpack/blob/master/lib/java_buildpack/framework/java_opts.rb#L53
I have a requirement where I need to execute 3 javaagents in a specific order (It is a total hack I know). Java will execute the agents in the order specified on the command line. Sorting the java_opts makes this not work:
https://github.com/cloudfoundry/java-buildpack/blob/master/lib/java_buildpack/component/java_opts.rb#L73
I used to be able to just append all 3 into one java_opts but that is no longer possible in v2:
https://github.com/cloudfoundry/java-buildpack/blob/master/lib/java_buildpack/framework/java_opts.rb#L53