openjdk / babylon

https://openjdk.org/projects/babylon

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Welcome to the JDK!

For build instructions please see the online documentation, or either of these files:

See https://openjdk.org/ for more information about the OpenJDK Community and the JDK and see https://bugs.openjdk.org for JDK issue tracking.

Particulars related to Babylon

The Babylon JDK builds like any other JDK, see the build instructions above.

Code shared between java.base and jdk.compiler modules

A subset of code in java.base is copied with package renaming into the jdk.compiler module. This is the set of code required to build and serialize code models. Due to bootstrapping constraints, compiling the compiler it cannot depend on all code in java.base. In the future we may come up with a better solution. For now the build has been modified to copy the code, which leverages the script cr-util/copy-to-compiler.sh. If there are issues where code in java.base has been modified but is not being copied then doing make clean-gensrc should resolve the issue.

Testing

Specific compiler tests can be executed using jtreg, for example:

jtreg -jdk:./build/macosx-x86_64-server-release/jdk/ -ea -esa -avm -va test/langtools/tools/javac/reflect/

Specific runtime tests can be executed using jtreg, for example:

jtreg -jdk:./build/macosx-x86_64-server-release/jdk/ -ea -esa -avm -va test/jdk/java/lang/reflect/code/

In addition, the runtime tests can be executed using make with the test group jdk_lang_reflect_code as follows:

make test TEST=jdk_lang_reflect_code

About

https://openjdk.org/projects/babylon

License:GNU General Public License v2.0


Languages

Language:Java 74.8%Language:C++ 13.7%Language:C 7.1%Language:Assembly 2.8%Language:Objective-C 0.4%Language:HTML 0.3%Language:XSLT 0.2%Language:Roff 0.2%Language:Hack 0.2%Language:Shell 0.1%Language:M4 0.1%Language:Python 0.1%Language:JavaScript 0.0%Language:TypeScript 0.0%Language:Makefile 0.0%Language:Mathematica 0.0%Language:CMake 0.0%Language:DTrace 0.0%Language:Metal 0.0%Language:Awk 0.0%Language:Perl 0.0%Language:GDB 0.0%Language:CSS 0.0%Language:sed 0.0%Language:AppleScript 0.0%Language:Batchfile 0.0%Language:Red 0.0%Language:SourcePawn 0.0%