Lines Matching full:jdk
47 * Output a jar file containing all classes on the platform classpath of the given JDK release.
49 * <p>usage: {@code DumpPlatformClassPath <output jar> <path to target JDK>}
55 System.err.println("usage: DumpPlatformClassPath <output jar> <path to target JDK>"); in main()
71 // JDK 8 bootclasspath handling.
72 // * JDK 8 represents a bootclasspath as a search path of jars (rt.jar, etc.).
80 // JDK > 8 --host_javabase bootclasspath handling.
81 // (The default --host_javabase is currently JDK 9.)
85 // JDK 9 and newer support cross-compiling to older platform versions using the --system in dumpJDK9AndNewerBootClassPath()
87 // * --system takes the path to a JDK root for JDK 9 and up, and causes the compilation in dumpJDK9AndNewerBootClassPath()
88 // to target the APIs from that JDK. in dumpJDK9AndNewerBootClassPath()
90 // the host JDK (in lib/ct.sym). in dumpJDK9AndNewerBootClassPath()
92 // Since --system only supports JDK >= 9, first check if the target JDK defines a JDK 8 in dumpJDK9AndNewerBootClassPath()
174 /** Returns paths to the entries of a JDK 8-style bootclasspath. */
209 // When targeting JDK >= 10, patch the major version so it will be accepted by javac 9 in addEntry()
236 * Returns the major version of the host Java runtime (e.g. '8' for JDK 8), using {@link
246 // Runtime.version() isn't available on JDK 8; continue below in hostMajorVersion()