RFR: 6946: There should be an option to build the agent in the build script [v10]
Miroslav Wengner
mwengner at openjdk.java.net
Mon Jan 11 16:36:03 UTC 2021
On Wed, 6 Jan 2021 18:53:02 GMT, Alex Macdonald <aptmac at openjdk.org> wrote:
>> Miroslav Wengner has updated the pull request incrementally with two additional commits since the last revision:
>>
>> - 6946: typo correction
>> - 6946: runAgentByClass improvements
>
> build.sh line 295:
>
>> 293:
>> 294: function checkJava() {
>> 295: if ! command -v java &> /dev/null ; then
>
> maven looks up JAVA_HOME instead of system java installations, should it look up the env variable instead for verification of java?
i've changed the commands order inside the 'checkPredcoditions' method. 1st check is JAVA_HOME.
-------------
PR: https://git.openjdk.java.net/jmc/pull/183
More information about the jmc-dev
mailing list