Class RtJar

java.lang.Object
com.ibm.wala.util.io.RtJar

public class RtJar extends Object
Utility class to find the file holding the classes for the core Java standard library.
  • Method Details

    • getRtJar

      public static @Nullable JarFile getRtJar(Iterator<JarFile> x)
      Returns the file holding the classes for the core Java standard library from the provided jar files. The file may be a jar file or a jmod file.
      Parameters:
      x - an iterator over jar files
      Returns:
      the file holding the classes for the core Java standard library, or null if not found
    • main

      public static void main(String[] args)