File tree Expand file tree Collapse file tree 1 file changed +7
-2
lines changed
test/functional/buildAndPackage/src/net/adoptium/test Expand file tree Collapse file tree 1 file changed +7
-2
lines changed Original file line number Diff line number Diff line change @@ -216,7 +216,8 @@ private static class SemeruPropertiesChecks implements VmPropertiesChecks {
216216
217217 @ Override
218218 public boolean supports (final String vendor ) {
219- return vendor .toLowerCase (Locale .US ).equals ("international business machines corporation" );
219+ String vendorLowerCase = vendor .toLowerCase (Locale .US );
220+ return vendorLowerCase .contains ("international business machines corporation" ) || vendorLowerCase .contains ("ibm corporation" );
220221 }
221222
222223 @ Override
@@ -226,7 +227,11 @@ public void javaVersion(final String value) {
226227
227228 @ Override
228229 public void javaVendor (final String value ) {
229- assertEquals (value , "International Business Machines Corporation" );
230+ if (value .toLowerCase (Locale .US ).contains ("ibm" )) {
231+ assertEquals (value , "IBM Corporation" );
232+ } else {
233+ assertEquals (value , "International Business Machines Corporation" );
234+ }
230235 }
231236
232237 @ Override
You can’t perform that action at this time.
0 commit comments