Package com.ibm.wala.util
Class PlatformUtil
java.lang.Object
com.ibm.wala.util.PlatformUtil
Platform-specific utility functions.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic String[]
get the jars in the boot classpath.static boolean
onIKVM()
are we running on IKVM? see http://www.ikvm.netstatic boolean
onLinux()
are we running on Linux?static boolean
onMacOSX()
are we running on Mac OS X?static boolean
are we running on Windows?
-
Constructor Details
-
PlatformUtil
public PlatformUtil()
-
-
Method Details
-
onMacOSX
public static boolean onMacOSX()are we running on Mac OS X? -
onLinux
public static boolean onLinux()are we running on Linux? -
onWindows
public static boolean onWindows()are we running on Windows? -
onIKVM
public static boolean onIKVM()are we running on IKVM? see http://www.ikvm.net -
getBootClassPathJars
get the jars in the boot classpath. TODO test on more JVMs- Throws:
IllegalStateException
- if boot classpath cannot be found
-