CheerpJ Runtime Environment

Changes to the OpenJDK runtime

Last reviewed: January 23, 2020

Terms and conditions

The CheerpJ Runtime Library (“CheerpJ Runtime”) is generated automatically via the CheerpJ Ahead-of-Time Compiler (Java bytecode) and the Cheerp compiler (C source code), from a build of the OpenJDK Runtime Library (master revision from the OpenJDK 8 repository at http://hg.openjdk.java.net/jdk8u/jdk8u).

No modifications to the Java source code of OpenJDK were made to generate the CheerpJ Runtime. Minor changes to the C code were made to the following source files:

  • src/share/native/java/util/zip/zip_util.c
  • src/share/native/java/util/zip/zip_util.h
  • src/share/native/sun/font/AccelGlyphCache.h
  • src/share/native/sun/font/fontscalerdefs.h
  • src/share/native/sun/font/freetypeScaler.c
  • src/share/native/sun/font/sunFont.c
  • src/share/native/sun/font/sunfontids.h
  • src/share/native/sun/java2d/SurfaceData.c
  • src/share/native/sun/java2d/loops/Blit.c
  • src/share/native/sun/java2d/loops/BlitBg.c
  • src/share/native/sun/java2d/loops/MaskBlit.c
  • src/share/native/sun/java2d/loops/ScaledBlit.c
  • src/share/native/sun/java2d/loops/TransformHelper.c
  • src/share/native/sun/java2d/pipe/Region.c

The changes are collected in a single patch, downloadable at this address.