< prev index next >
src/jdk.compiler/share/tools/org/openjdk/buildtools/symbolgenerator/CreateSymbols.java
Print this page
*** 21,36 ****
* Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
* or visit www.oracle.com if you need additional information or have any
* questions.
*/
! package build.tools.symbolgenerator;
! import build.tools.symbolgenerator.CreateSymbols
.ModuleHeaderDescription
.ProvidesDescription;
! import build.tools.symbolgenerator.CreateSymbols
.ModuleHeaderDescription
.RequiresDescription;
import java.io.BufferedInputStream;
import java.io.BufferedReader;
import java.io.ByteArrayInputStream;
--- 21,36 ----
* Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
* or visit www.oracle.com if you need additional information or have any
* questions.
*/
! package org.openjdk.buildtools.symbolgenerator;
! import org.openjdk.buildtools.symbolgenerator.CreateSymbols
.ModuleHeaderDescription
.ProvidesDescription;
! import org.openjdk.buildtools.symbolgenerator.CreateSymbols
.ModuleHeaderDescription
.RequiresDescription;
import java.io.BufferedInputStream;
import java.io.BufferedReader;
import java.io.ByteArrayInputStream;
*** 164,180 ****
*
* The content of platform "<base-platform-id>" is also automatically added to the content of
* platform "<platform-id2>", unless explicitly excluded in "<platform-id2>"'s .sym.txt files.
*
* To create the .sym.txt files, first run the history Probe for all the previous platforms:
! * <jdk-N>/bin/java build.tools.symbolgenerator.Probe <classes-for-N>
*
* Where <classes-for-N> is a name of a file into which the classes from the bootclasspath of <jdk-N>
* will be written.
*
* Then create the <platform-description-file> file and the .sym.txt files like this:
! * java build.tools.symbolgenerator.CreateSymbols build-description <target-directory> <path-to-a-JDK-root> <include-list-file>
* <platform-id1> <target-file-for-platform1> "<none>"
* <platform-id2> <target-file-for-platform2> <diff-against-platform2>
* <platform-id3> <target-file-for-platform3> <diff-against-platform3>
* ...
*
--- 164,180 ----
*
* The content of platform "<base-platform-id>" is also automatically added to the content of
* platform "<platform-id2>", unless explicitly excluded in "<platform-id2>"'s .sym.txt files.
*
* To create the .sym.txt files, first run the history Probe for all the previous platforms:
! * <jdk-N>/bin/java org.openjdk.buildtools.symbolgenerator.Probe <classes-for-N>
*
* Where <classes-for-N> is a name of a file into which the classes from the bootclasspath of <jdk-N>
* will be written.
*
* Then create the <platform-description-file> file and the .sym.txt files like this:
! * java org.openjdk.buildtools.symbolgenerator.CreateSymbols build-description <target-directory> <path-to-a-JDK-root> <include-list-file>
* <platform-id1> <target-file-for-platform1> "<none>"
* <platform-id2> <target-file-for-platform2> <diff-against-platform2>
* <platform-id3> <target-file-for-platform3> <diff-against-platform3>
* ...
*
*** 191,203 ****
* files. The <diff-against-platformN> for platform N should be determined as follows: if N < F, then
* <diff-against-platformN> should be N + 1. If F < N, then <diff-against-platformN> should be N - 1.
* If N is a custom/specialized sub-version of another platform N', then <diff-against-platformN> should be N'.
*
* To generate the .sym.txt files for OpenJDK 7 and 8:
! * <jdk-7>/bin/java build.tools.symbolgenerator.Probe OpenJDK7.classes
! * <jdk-8>/bin/java build.tools.symbolgenerator.Probe OpenJDK8.classes
! * java build.tools.symbolgenerator.CreateSymbols build-description make/data/symbols $TOPDIR make/data/symbols/include.list
* 8 OpenJDK8.classes '<none>'
* 7 OpenJDK7.classes 8
*
* Note: the versions are expected to be a single character.
*
--- 191,203 ----
* files. The <diff-against-platformN> for platform N should be determined as follows: if N < F, then
* <diff-against-platformN> should be N + 1. If F < N, then <diff-against-platformN> should be N - 1.
* If N is a custom/specialized sub-version of another platform N', then <diff-against-platformN> should be N'.
*
* To generate the .sym.txt files for OpenJDK 7 and 8:
! * <jdk-7>/bin/java org.openjdk.buildtools.symbolgenerator.Probe OpenJDK7.classes
! * <jdk-8>/bin/java org.openjdk.buildtools.symbolgenerator.Probe OpenJDK8.classes
! * java org.openjdk.buildtools.symbolgenerator.CreateSymbols build-description make/data/symbols $TOPDIR make/data/symbols/include.list
* 8 OpenJDK8.classes '<none>'
* 7 OpenJDK7.classes 8
*
* Note: the versions are expected to be a single character.
*
< prev index next >