RFR: 6946: There should be an option to build the agent in the build script [v16]

Miroslav Wengner mwengner at openjdk.java.net
Tue Jan 12 18:59:54 UTC 2021


On Tue, 12 Jan 2021 15:56:25 GMT, Marcus Hirt <hirt at openjdk.org> wrote:

>> See previous comments.
>
> I get the following when running the script on Mac when using _JAVA_OPTIONS:
> try to execute an agent example
> ./build.sh: line 231: printf: Picked up _JAVA_OPTIONS: : invalid number
> Java Version:0
> 
> Perhaps just default to whatever can be found without validation if it fails to parse the version?

this is good question about "java:0", but which kind of version you will choose, arguments valid for 13 and higher ?

-------------

PR: https://git.openjdk.java.net/jmc/pull/183


More information about the jmc-dev mailing list