Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add jdk vendor in TKG #142

Merged
merged 1 commit into from
Jan 23, 2021
Merged

Add jdk vendor in TKG #142

merged 1 commit into from
Jan 23, 2021

Conversation

renfeiw
Copy link
Contributor

@renfeiw renfeiw commented Jan 19, 2021

  • TKG will check if JDK_VENDOR matches vendor defined in playlist

Signed-off-by: renfeiw renfeiw@ca.ibm.com

@renfeiw renfeiw requested review from smlambert and llxia January 19, 2021 20:20
@renfeiw
Copy link
Contributor Author

renfeiw commented Jan 19, 2021

tested in Grinder_TKG/1130,Grinder_TKG/1132 (randomly specified vendors in tests)

- TKG will check if JDK_VENDOR matches vendor defined in playlist

Signed-off-by: renfeiw <renfeiw@ca.ibm.com>
@karianna karianna added the enhancement New feature or request label Jan 20, 2021
@karianna karianna added this to the January 2021 milestone Jan 20, 2021
Copy link
Contributor

@smlambert smlambert left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

thanks @renfeiw !

} else if (vendorLC.contains("oracle")) {
return "oracle";
} else {
System.out.println("Warning: cannot determine vendor, use System.getProperty('java.vendor')=" + vendor + " directly.\n");
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I like in particular how you handled this (versus my hard fail version), it means ones we may have missed can still proceed to use this.

Copy link
Contributor

@llxia llxia left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@llxia
Copy link
Contributor

llxia commented Jan 22, 2021

This is an enhancement and we will merge it after the release.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants