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

Marcus Hirt hirt at openjdk.java.net
Tue Jan 12 15:58:54 UTC 2021


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

>> Miroslav Wengner has updated the pull request incrementally with one additional commit since the last revision:
>> 
>>   6946: win os update
>
> 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?

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

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


More information about the jmc-dev mailing list