@arina-ielchiieva 
Strangely enough, the instance check worked for the IBM JDK as well.
However, if I were to extract the object's classname ( 
`operatingSystemMXBean.getClass()` ) , I get the following:
Oracle JDK: `sun.management.OperatingSystemImpl`
IBM JDK: `com.ibm.lang.management.internal.UnixExtendedOperatingSystem`

I can do a check for the former, instead of the HotSpot name (though, I prefer 
the latter).

[ Full content available at: https://github.com/apache/drill/pull/1437 ]
This message was relayed via gitbox.apache.org for [email protected]

Reply via email to