Liberica JDK 19.0.2+9 Release Notes


The full version string for this update release is 19.0.2+9. The version number is 19.

Liberica JDK 19.0.2+9

Liberica is a certified, Java SE 19-compliant distribution of OpenJDK 19.0.2 which works on server (Linux x86_64, Linux ARM64, Windows 64), desktop (Windows 64, Windows 32, Mac, Linux x86_64), and embedded devices (Linux ARM64, Linux ARMv7, including Raspberry Pi 2 & 3 (ARMv6 hardfloat)). It has the following notable additions:

  • Linux x86_64 version contains experimental support for ZGC.
  • Linux x86_64, ARMv8 and ARMv7 distributions include a choice of Client VM, Server VM and Minimal VM.
  • Alpine Linux x86_64 version is build with musl support.
  • Windows x86_64, Windows x86, Windows ARMv8, Mac, Linux x86_64, Linux x86 and Linux ARMv7 distributions contain OpenJFX 19.
  • Linux ARMv7 distribution contains Device IO API compiled for Raspberry Pi.

Please refer to the Oracle JDK 19.0.2 release notes for further information on JDK 19 features. This document further outlines the peculiarities of Liberica distribution as compared to Oracle JDK 19 distribution.

Supported Server and Desktop configurations

Liberica is supported on the following OSes:

  • Ubuntu Linux 16.04, 18.04, 20.04 (x86, x86_64, ARMv7, ARMv8)
  • Debian Linux 8, 9, 10 (x86, x86_64, ARMv7, ARMv8)
  • Red Hat, Oracle Linux and CentOS 8x, 6.x, 7.x (x86, x86_64, ARMv7, ARMv8)
  • Alpine Linux 3.7+ (x86_64, ARMv8)
  • SUSE Linux Enterprise 12, 15 and tumbleweed (x86_64, ARMv8)
  • Apple macOS 10.11+ (x86_64, ARMv8)
  • Microsoft Windows 2019, Windows 2016, Windows 2012 R2, Windows 10, Windows 8, Windows 7 (x86, x86_64, ARMv8)

It is also known to work on other Linux distributions and Windows versions.

Note: The minimum supported Linux kernel version is 2.6.18 and GLIBC version 2.6. LibericaFX works on all supported Ubuntu versions, Red Hat Linux family starting from 7.x and SUSE versions with GTK3 backend.

Supported Embedded configurations

Liberica is tested and certified on Raspberry Pi 2, 3 and 4 running the following OSes:

  • Raspbian OS (armhf)
  • OpenSUSE (armv8)

It is also known to work with Debian (armhf) and Ubuntu (armhf).

Liberica JDK 19.0.2 distribution

Liberica JDK 19.0.2 are distributed as .rpm, .zip, .deb and .tar.gz packages. Please select the one which is most appropriate for your purposes.

Liberica JDK 19.0.2 introduced all new features supported by OpenJDK 19.

With the introduction of the Jigsaw feature in JDK 9 and Minimal VM it is now possible to create a Runtime that is sufficient to run your application and trim down the size of the Runtime. To generate a Runtime with just the Minimal VM, add --vm=minimal to jlink options.

Liberica JDK continues to provide support for AOT and Graal JIT. Since in OpenJDK 19 builds these features are deemed experimental and deprecated, it is recommended to compile native executables with Liberica Native Image Kit to avoid errors.

By default, the Liberica uses Server VM. Server VM and Client VM can be enabled with -server and -client command line options, respectively. In case the deployment requires to minimize the footprint, it may be beneficial to use Minimal VM, which emphasises on a minimal footprint. It has C1 JIT compiler only, Serial GC and no serviceability features.

LibericaFX for the Raspberry Pi

Liberica JDK 19 come with a bundled LibericaFX implementation, which is based on OpenJFX. The following tables lists Java FX modules status of Liberica distribution

  • Java FX Graphics - works.
  • Java FX Controls - works.
  • Java FX Media - does not work.
  • Java FX Webkit - does not work.

The following pipelines are known to work: EGL, SW (direct framebuffer) and GTK. By default, Liberica tries to use the accelerated EGL pipeline, which requires the presence of EGL libraries. If they are not found, the implementation falls back to software rendering.

Use the following command line options to specify the rendering pipeline:

  • -Dprism.order=sw forces the use of software rendering pipeline. *
  • -Dprism.order=es2 forces the use of EGL pipeline and hardware acceleration. *
  • -Djavafx.platform=gtk if you would like to launch a LibericaFX application using Liberica from X11.

* Not supported on Raspberry Pi 4.

Please refer to the following wiki for more information.

Device IO API for the Raspberry Pi

Liberica JDK 19 comes with a bundled OpenJDK Device I/O (DIO) API implementation module. DIO provides a Java API for accessing Raspberry PI GPIO pins and for communicating with peripheral devices:

  • General Purpose Input/Output (GPIO).
  • Inter-Integrated Circuit Bus (I2C), Serial Peripheral Interface (SPI).
  • Universal Asynchronous Receiver/Transmitter (UART).

Please refer to the following wiki for more information.

Security Baselines

BellSoft Liberica follows the security baselines for Oracle Java SE. Please refer to the Oracle documentation for a list of issues fixed in a given release.

Known Issues

LibericaFX and EGL on Raspbian

As of 2017, the default location of Broadcom libEGL.so and libGLESv2.so has changed in Raspbian OS. If you'd like to leverage hardware EGL acceleration available from Broadcom video drivers in LibericaFX while running a recent Raspbian OS, run the following command:

cd /opt/vc/lib
sudo ln -s libbrcmEGL.so libEGL.so
sudo ln -s libbrcmGLESv2.so libGLESv2.so

CVEs

This is the list of the security issues fixed in this release. CVSS scores are provided using the CVSS version 3.1 scoring system.

CVE ID Score Component Module Attack vector Complexity Privileges User interaction Scope Confidentiality Integrity Availability
CVE-2023-21835 5.3 security-libs javax.net.ssl network low none none unchanged none none low
CVE-2023-21843 3.7 client-libs javax.sound network high none none unchanged none low none

Issues fixed

Issue Description
JDK-8299628 BMP top-down images fail to load after JDK-8289336
JDK-8294779 Improve FX pages
JDK-8292112 Better DragView handling
JDK-8292105 Improve Robot functionality
JDK-8292097 Better video decoding
JDK-8289336 Better platform image support
JDK-8289343 Better GL support
JDK-8295723 security/infra/wycheproof/RunWycheproof.java fails with Assertion Error
JDK-8295687 Better BMP bounds
JDK-8293742 Better Banking of Sounds
JDK-8293734 Improve BMP image handling
JDK-8293717 Objective view of ObjectView
JDK-8293598 Enhance InetAddress address handling
JDK-8293554 Enhanced DH Key Exchanges
JDK-8288516 Enhance font creation
JDK-8287411 Enhance DTLS performance
JDK-8286496 Improve Thread labels
JDK-8286070 Improve UTF8 representation
JDK-8295447 NullPointerException with invalid pattern matching construct in constructor call
JDK-8296904 Improve handling of macos xcode toolchain
JDK-8297309 Memory leak in ShenandoahFullGC
JDK-8290164 compiler/runtime/TestConstantsInError.java fails on riscv
JDK-8297451 ProcessHandleImpl should assert privilege when modifying reaper thread
JDK-8296463 Memory leak in JVM_StartThread with the integration of Virtual threads
JDK-8297476 Increase InlineSmallCode default from 1000 to 2500 for RISC-V
JDK-8297147 UnexpectedSourceImageSize test times out on slow machines when fastdebug is used
JDK-8295264 Fix PaX check on RISC-V
JDK-8296602 RISC-V: improve performance of copy_memory stub
JDK-8297241 Update sun/java2d/DirectX/OnScreenRenderingResizeTest/OnScreenRenderingResizeTest.java
JDK-8297153 sun/java2d/DirectX/OnScreenRenderingResizeTest/OnScreenRenderingResizeTest.java fails again
JDK-8296945 PublicMethodsTest is slow due to dependency verification with debug builds
JDK-8296957 One more cast in SAFE_SIZE_NEW_ARRAY2
JDK-8022403 sun/java2d/DirectX/OnScreenRenderingResizeTest/OnScreenRenderingResizeTest.java fails
JDK-8294538 missing is_unloading() check in SharedRuntime::fixup_callers_callsite()
JDK-8290964 C2 compilation fails with assert "non-reduction loop contains reduction nodes"
JDK-8285835 SIGSEGV in PhaseIdealLoop::build_loop_late_post_work
JDK-8287217 C2: PhaseCCP: remove not visited nodes, prevent type inconsistency
JDK-8292780 misc tests failed "assert(false) failed: graph should be schedulable"
JDK-8293996 C2: fix and simplify IdealLoopTree::do_remove_empty_loop
JDK-8296771 RISC-V: C2: assert(false) failed: bad AD file
JDK-8295414 [Aarch64] C2: assert(false) failed: bad AD file
JDK-8296632 Write a test to verify the content change of TextArea sends TextEvent
JDK-8285604 closed sun/java2d/GdiRendering/ClipShapeRendering.java failed with "Incorrect color ffeeeeee instead of ff0000ff in pixel (100, 100)"
JDK-8178698 javax/sound/midi/Sequencer/MetaCallback.java failed with timeout
JDK-8296448 RISC-V: Fix temp usages of heapbase register killed by MacroAssembler::en/decode_klass_not_null
JDK-8295926 RISC-V: C1: Fix LIRGenerator::do_LibmIntrinsic
JDK-8296970 Remove sysThreadAvailableStackWithSlack from hotspot-symbols
JDK-8286624 Regression Test CoordinateTruncationBug.java fails on OL8.3
JDK-8296083 javax/swing/JTree/6263446/bug6263446.java fails intermittently on a VM
JDK-8296480 java/security/cert/pkix/policyChanges/TestPolicy.java is failing
JDK-8296733 JFR: File Read event for RandomAccessFile::write(byte[]) is incorrect
JDK-8296496 Overzealous check in sizecalc.h prevents large memory allocation
JDK-8296108 (tz) Update Timezone Data to 2022f
JDK-8296715 CLDR v42 update for tzdata 2022f
JDK-8296485 BuildEEBasicConstraints.java test fails with SunCertPathBuilderException
JDK-8288132 Update test artifacts in QuoVadis CA interop tests
JDK-8295469 S390X: Optimized builds are broken
JDK-8279941 sun/security/pkcs11/Signature/TestDSAKeyLength.java fails when NSS version detection fails
JDK-8292159 TYPE_USE annotations on generic type arguments of record components discarded
JDK-8295554 Move the "sizecalc.h" to the correct location
JDK-8294840 langtools OptionalDependencyTest.java use File.pathSeparator
JDK-8293701 jdeps InverseDepsAnalyzer runs into NoSuchElementException: No value present
JDK-8292695 SIGQUIT and jcmd attaching mechanism does not work with signal chaining library
JDK-8292899 CustomTzIDCheckDST.java testcase failed on AIX platform
JDK-8277970 Test jdk/sun/security/ssl/SSLSessionImpl/NoInvalidateSocketException.java fails with "tag mismatch"
JDK-8292385 assert(ctrl == kit.control()) failed: Control flow was added although the intrinsic bailed out
JDK-8293816 CI: ciBytecodeStream::get_klass() is not consistent
JDK-8292158 AES-CTR cipher state corruption with AVX-512
JDK-8295268 Optimized builds are broken due to incorrect assert_is_rfp shortcuts
JDK-8294307 ISO 4217 Amendment 173 Update
JDK-8029633 Raw inner class constructor ref should not perform diamond inference
JDK-8295173 (tz) Update Timezone Data to 2022e
JDK-8290900 Build failure with Clang 14+ due to function warning attribute
JDK-8294357 (tz) Update Timezone Data to 2022d
JDK-8292969 Bad Thread Utilization in ForkJoinPool
JDK-8291633 Build failures with GCC 11, Alpine 3 due to incompatible casts from nullptr
JDK-8290529 C2: assert(BoolTest(btest).is_canonical()) failure
JDK-8294517 Update jdk19u fix version to 19.0.2
JDK-8288377 [REDO] DST not applying properly with zone id offset set with TZ env variable
JDK-8293834 Update CLDR data following tzdata 2022c update
JDK-8291508 Fix some tests with "requires vm.jvmti & vm.continuations"
JDK-8290496 riscv: Fix build warnings-as-errors with GCC 11
JDK-8286314 Trampoline not created for far runtime targets outside small CodeCache
JDK-8288992 AArch64: CMN should be handled the same way as CMP
JDK-8290246 test fails "assert(init != __null) failed: initialization not found"
JDK-8290451 Incorrect result when switching to C2 OSR compilation from C1
JDK-8290711 assert(false) failed: infinite loop in PhaseIterGVN::optimize
JDK-8290705 StringConcat::validate_mem_flow asserts with "unexpected user: StoreI"
JDK-8293044 C1: Missing access check on non-accessible class
JDK-8291775 C2: assert(r != __null && r->is_Region()) failed: this phi must have a region
JDK-8291599 Assertion in PhaseIdealLoop::skeleton_predicate_has_opaque after JDK-8289127
JDK-8290781 Segfault at PhaseIdealLoop::clone_loop_handle_data_uses
JDK-8292756 java.lang.AssertionError at at jdk.compiler/com.sun.tools.javac.code.Scope$ScopeImpl.leave(Scope.java:386)
JDK-8293348 A false cyclic inheritance error reported
JDK-8293578 Duplicate ldc generated by javac
JDK-8293100 RISC-V: Need to save and restore callee-saved FloatRegisters in StubGenerator::generate_call_stub
ON THIS PAGE