Skip to content

java_opts shouldn't sort before release #41

@youngm

Description

@youngm

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions