Liberica JDK 8u342+7 Release Notes


The full version string for this update release is 8u342-b7. The version number is 8.

Liberica JDK 8u342+7

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

Supported configurations

Supported Server and Desktop configurations

Liberica is supported on the following OSes:

  • Ubuntu Linux 14.04, 16.04, 18.04 (x86_64, x86, ARMv8*)
  • Debian Linux 8, 9 (x86_64, x86, ARMv8*)
  • Red Hat, Oracle Linux and CentOS 5.5+, 6.x, 7.x (x86_64, x86, ARMv8*)
  • Alpine Linux x86_64 version is build with musl support.
  • SUSE Linux Enterprise 12, 15 and tumbleweed (x86_64, ARMv8*)
  • Apple macOS 10.11+ (64 bit only)
  • Solaris 10.9+ (SPARC and x86_64)*
  • Microsoft Windows 2019, Windows 2016, Windows 2012 R2, Windows 10, Windows 8, Windows 7 (32 and 64 bit)

* - version doesn't have Client VM

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

Liberica JDK and JRE distribution

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

  • Use Liberica JDK if your application requires javac or other tools and services not present in a JRE, or you would like to use jlink to create a trimmed-down version of the Java Runtime for your particular needs.
  • Use Liberica JRE for all other purposes.

Liberica 8 introduces all new features supported by OpenJDK 8 on Linux x64

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. In a JRE it can be enabled in runtime with -minimal command line option.

Linux x86_64, Linux x86, Apple macOS x86_64, Microsoft Windows x86_64, Microsoft Windows x86 versions of Liberica 8 also contains LibericaFX. On macOS, LibericaFX works starting with 10.10+.

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.

Issues fixed

Issue Description
JDK-8285407 Improve Xalan supports
JDK-8284370 Improve zlib usage
JDK-8283190 Improve MIDI processing
JDK-8281866 Enhance MethodHandle invocations
JDK-8281859 Improve class compilation
JDK-8277608 Address IP Addressing
JDK-8272249 Better properties of loaded Properties
JDK-8272243 Improve DER parsing
JDK-8209771 jdk.test.lib.Utils::runAndCheckException error
JDK-8285591 [11] add signum checks in DSA.java engineVerify
JDK-8287537 8u JDK-8284620 backport broke AArch64 build
JDK-8031567 Better model for storing source revision information
JDK-8170385 JDK-8031567 broke source bundles
JDK-8170392 JDK-8031567 broke builds from source bundles
JDK-8202142 jfr/event/io/TestInstrumentation is unstable
JDK-8266187 Memory leak in appendBootClassPath()
JDK-8283350 (tz) Update Timezone Data to 2022a
JDK-8286989 Build failure on macOS after 8281814
JDK-8285727 [11u, 17u] Unify fix for JDK-8284920 with version from head
JDK-8284620 CodeBuffer may leak _overflow_arena
JDK-8285523 Improve test java/io/FileOutputStream/OpenNUL.java
JDK-8248876 LoadObject with bad base address created for exec file on linux
JDK-8278138 OpenJDK8 fails to start on Windows 8.1 after upgrading compiler to VS2017
JDK-8168926 C2: Bytecode escape analyzer crashes due to stack overflow
JDK-8221988 add possibility to build with Visual Studio 2019
JDK-8170530 bash configure output contains a typo in a suggested library name
JDK-8235211 serviceability/attach/RemovingUnixDomainSocketTest.java fails with AttachNotSupportedException: Unable to open socket file
JDK-8244973 serviceability/attach/RemovingUnixDomainSocketTest.java fails "stderr was not empty"
JDK-8282458 Update .jcheck/conf file for 8u move to git
JDK-8285445 cannot open file "NUL:"
JDK-8284772 8u GHA: Use GCC Major Version Dependencies Only
JDK-8190753 (zipfs): Accessing a large entry (> 2^31 bytes) leads to a negative initial size for ByteArrayOutputStream
JDK-8261107 ArrayIndexOutOfBoundsException in the ICC_Profile.getInstance(InputStream)
JDK-8253424 Add support for running pre-submit testing using GitHub Actions
JDK-8253865 Pre-submit testing using GitHub Actions does not detect failures reliably
JDK-8254054 Pre-submit testing using GitHub Actions should not use the deprecated set-env command
JDK-8254173 Add Zero, Minimal hotspot targets to submit workflow
JDK-8254175 Build no-pch configuration in debug mode for submit checks
JDK-8254282 Add Linux x86_32 builds to submit workflow
JDK-8255373 Submit workflow artifact name is always "test-results_.zip"
JDK-8255895 Submit workflow artifacts miss hs_errs/replays due to ZIP include mismatch
JDK-8256127 Add cross-compiled foreign architectures builds to submit workflow
JDK-8256277 Github Action build on macOS should define OS and Xcode versions
JDK-8256354 Github Action build on Windows should define OS and MSVC versions
JDK-8256414 add optimized build to submit workflow
JDK-8256393 Github Actions build on Linux should define OS and GCC versions
JDK-8256747 GitHub Actions: decouple the hotspot build-only jobs from Linux x64 testing
JDK-8257056 Submit workflow should apt-get update to avoid package installation errors
JDK-8259924 GitHub actions fail on Linux x86_32 with "Could not configure libc6:i386"
JDK-8260460 GitHub actions still fail on Linux x86_32 with "Could not configure libc6:i386"
JDK-8263667 Avoid running GitHub actions on branches named pr/*
JDK-8255305 Add Linux x86_32 tier1 to submit workflow
JDK-8255352 Archive important test outputs in submit workflow
JDK-8282225 GHA: Allow one concurrent run per PR only
JDK-8281814 Debuginfo.diz contains redundant build path after backport JDK-8025936
JDK-8255239 The timezone of the hs_err_pid log file is corrupted in Japanese locale
JDK-8274751 Drag And Drop hangs on Windows
JDK-8274658 ISO 4217 Amendment 170 Update
JDK-8132256 jaxp: Investigate removal of com/sun/org/apache/bcel/internal/util/ClassPath.java
JDK-8129572 Cleanup usage of getResourceAsStream in jaxp
JDK-8230865 [TESTBUG] jdk/jfr/event/io/EvilInstrument.java fails at-run shell MakeJAR.sh target
JDK-8223396 [TESTBUG] several jfr tests do not clean up files created in /tmp
JDK-8194154 System property user.dir should not be changed
JDK-8076190 Customizing the generation of a PKCS12 keystore
JDK-8279669 test/jdk/com/sun/jdi/TestScaffold.java uses wrong condition
JDK-8282552 Bump update version of OpenJDK: 8u342
JDK-8282458 Update .jcheck/conf file for 8u move to git
JDK-8277734 WebView: Update Public Suffix List to 3c213aa
JDK-8088420 JavaFX WebView memory leak via EventListener
JDK-8282054 Mediaplayer not working with HTTP Live Stream link with query parameter appended with file extension m3u8
JDK-8222211 Creating animated gif image from non FX App thread causes exception
JDK-8205915 [macOS] Accelerator assigned to button in dialog fires menuItem in owning stage
JDK-8286256 Update libxml2 to 2.9.14 8286257: Update libxslt to 1.1.35
JDK-8284184 Crash in GraphicsContextJava::drawLinesForText on https://us.yahoo.com/
JDK-8283869 Update attribution in webkit.md file
JDK-8283218 Update GStreamer to 1.20.1
JDK-8283403 Update Glib to 2.72.0
JDK-8282134 Certain regex can cause a JS trap in WebView
JDK-8281564 Update cmake to 3.22.3
JDK-8280841 Update SQLite to 3.37.2
JDK-8280840 Update libFFI to 3.4.2
JDK-8280275 JUnit5 tests using Assumptions API fail to compile in some cases
JDK-8280020 Underline and line-through not straight in WebView
JDK-8278759 PointerEvent: buttons property set to 0 when mouse down
JDK-8276142 Update gradle to version 7.3
JDK-8274274 Update JUnit to version 5.8.1
JDK-8273998 Clarify specification for Window properties controlled by the window manager
JDK-8270867 Debug build of WebKit 613.1 fails on Linux
JDK-8269115 WebView paste event contains old data
JDK-8255940 localStorage is null after window.close()
JDK-8203463 [Accessibility, Narrator] NPE in TableView
JDK-8090477 Customizable visibility timing for Tooltip
ON THIS PAGE