Liberica JDK 8u302+8 Release Notes

The full version string for this update release is 8u302-b8. The version number is 8.

Liberica JDK 8u302+8

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
6878250 (so) IllegalBlockingModeException thrown when reading from a closed SocketChannel's InputStream
6990210 [TEST_BUG] EventDispatchThread/HandleExceptionOnEDT/ fails on gnome
7059970 Test case: javax/imageio/plugins/png/ is not closing a file
7106851 Test should not use System.exit
8019470 Changes needed to compile JDK 8 on MacOS with clang compiler
8028618 [TEST BUG] javax/swing/JScrollBar/bug4202954/ fails
8030123 java/beans/Introspector/ fails
8032050 Clean up for java/rmi/activation/Activatable/shutdownGracefully/
8033289 clang: clean up unused function warning
8034856 gcc warnings compiling src/solaris/native/sun/security/pkcs11
8035000 clean up ActivationLibrary.DestroyThread
8035054 JarFacade.c should not include ctype.h
8035287 gcc warnings compiling various libraries files
8036095 RMI tests using testlibrary.RMID and testlibrary.JavaVM do not pass through vmoptions
8037825 Fix warnings and enable "warnings as errors" in serviceability native libraries
8042891 Format issues embedded in macros for two g1 source files
8043264 hsdis library not picked up correctly on expected paths
8043646 libosxapp.dylib fails to build on Mac OS 10.9 with clang
8047939 [TESTBUG] Rewrite test/runtime/8001071/
8055754 filemap.cpp does not compile with clang
8064909 got OutOfMemoryError
8066508 JTReg tests timeout on slow devices when run using JPRT
8066807 langtools/test/Makefile should use -agentvm not -samevm
8071374 -XX:+PrintAssembly -XX:+PrintSignatureHandlers crash fastdebug VM with assert(limit == __null || limit <= nm->code_end()) in RelocIterator::initialize
8074836 Resolve disabled warnings for libosxkrb5
8075071 [TEST_BUG] OOME: Java heap space: MaxHeap shrinked by MaxRAMFraction
8077364 "if( !this )" construct prevents build on Xcode 6.3
8078855 [TEST_BUG] javax/swing/JComboBox/8032878/ fails in WindowsClassicLookAndFeel
8081764 [TEST_BUG] Test javax/swing/plaf/aqua/ fails on Windows, Solaris Sparcv9 and Linux but passes on MacOSX
8129511 PlatformMidi.c:83 uses malloc without malloc header
8130308 Too low memory usage in
8130430 [TEST_BUG] remove unnecessary internal calls from javax/swing/JRadioButton/8075609/
8132148 G1 hs_err region dump legend out of sync with region values
8132709 [TESTBUG] gc/g1/ might fail on embedded
8134672 [TEST_BUG] Some tests should check isDisplayChangeSupported
8134883 C1 hard crash in range check elimination in Nashorn test262parallel
8136592 [TEST_BUG] Fix 2 platform-specific closed regtests for jigsaw
8138820 JDK Hotspot build fails with Xcode 7.0.1
8151786 [TESTBUG] java/beans/XMLEncoder/ timed out intermittently
8159898 Negative array size in java/beans/Introspector/
8166046 [TESTBUG] compiler/stringopts/ fails with OOME
8166724 gc/g1/ fails with OOME
8172188 JDI tests fail due to "permission denied" when creating temp file
8177809 File.lastModified() is losing milliseconds (always ends in 000)
8178403 DirectAudio in JavaSound may hang and leak
8180478 tools/launcher/ fails on Windows because of extra-''
8183910 gc/arguments/ fails intermittently
8185854 NPE on non-editable ComboBox in TabPane with custom Skin
8190332 PngReader throws NegativeArraySizeException/OOM error when IHDR width is very large
8190679 java/util/Arrays/ fails with "Initial heap size set to a larger value than the maximum heap size"
8191955 AArch64: incorrect prefetch distance causes an internal error
8196092 javax/swing/JComboBox/8032878/ fails
8198402 ToggleButton.setToggleGroup causes memory leak when button is removed via ToggleGroup.getToggles()
8199265 java/util/Arrays/ fails with OOM
8200550 Xcode 9.3 produce warning -Wexpansion-to-defined
8201261 Ability to override the dependency repositories used by gradle
8202299 Java Keystore fails to load PKCS12/PFX certificates created in WindowsServer2016
8203196 C1 emits incorrect code due to integer overflow in _tableswitch keys
8203345 Memory leak in VirtualFlow when screen reader is
8205014 com/sun/jndi/ldap/ failed with "Read timed out"
8206243 java -XshowSettings fails if memory.limit_in_bytes overflows LONG.max
8206925 Support the certificate_authorities extension
8209996 [PPC64] Fix JFR profiling
8214345 infinite recursion while checking super class
8217230 assert(t == t_no_spec) failure in NodeHash::check_no_speculative_types()
8217348 assert(thread->is_Java_thread()) failed: just checking
8225081 Remove Telia Company CA certificate expiring in April 2021
8225116 Test intermittently fails
8228757 Fail fast if the handshake type is unknown
8230428 Cleanup dead CastIP node code in formssel.cpp
8231631 sun/net/ftp/ fails intermittently with NPE
8231841 AArch64: debug.cpp help() is missing an AArch64 line for pns
8231949 [PPC64, s390]: Make async profiling more reliable
8232063 Upgrade gradle to version 6.0
8234011 (zipfs) Memory leak in ZipFileSystem.releaseDeflater()
8239053 [8u] clean up undefined-var-template warnings
8239400 [8u] clean up undefined-var-template warnings
8240539 Upgrade gradle to version 6.3
8241649 Optimize Character.toString
8241829 Cleanup the code for PrinterJob on windows
8242565 Policy initialization issues when the denyAfter constraint is enabled
8243559 Remove root certificates with 1024-bit keys
8247350 [aarch64] assert(false) failed: wrong size of mach node
8249142 java/awt/FontClass/CreateFont/ is unstable
8249278 Revert JDK-8226253 which breaks the spec of AccessibleState.SHOWING for JList
8250876 Fix issues with cross-compile on macos
8251555 Remove unused focusedWindow field in glass Window to avoid leak
8252883 AccessDeniedException caused by delayed file deletion on Windows
8253375 OSX build fails with Xcode 12.0 (12A7209)
8254631 Better support ALPN byte wire values in SunJSSE
8255086 Update the root locale display names
8255734 VM should ignore SIGXFSZ on ppc64, s390 too
8256157 Improve bytecode assembly
8256283 IndexOutOfBoundsException when sorting a TreeTableView
8256491 Better HTTP transport
8256818 SSLSocket that is never bound or connected leaks socket resources
8257039 [8u] GenericTaskQueue destructor is incorrect
8257670 sun/security/ssl/SSLSocketImpl/ reports leaks
8257884 Re-enable sun/security/ssl/SSLSocketImpl/ as automatic test
8257997 sun/security/ssl/SSLSocketImpl/ again reports leaks after JDK-8257884
8257999 Parallel GC crash in gc/parallel/ new region is not in covered_region
8258419 RSA cipher buffer cleanup
8258432 Improve file transfers
8258669 fastdebug jvm crashes when do event based tracing for monitor inflation
8258753 StartTlsResponse.close() hangs due to synchronization issues
8258986 getColor throws IOOBE when PixelReader reads the
8259046 ViewPainter.ROOT_PATHS holds reference to Scene causing memory leak
8259271 gc/parallel/ still fails "assert(covered_region.contains(new_memregion)) failed: new region is not in covered_region"
8259356 MediaPlayer's seek freezes video
8259555 Webkit crashes on Apple Silicon
8259619 C1: 3-arg StubAssembler::call_RT stack-use condition is incorrect
8259886 Improve SSL session cache performance and scalability
8260029 aarch64: fix typo in verify_oop_array
8260236 better init AnnotationCollector _contended_group
8260245 Update ICU4C to version 68.2
8260246 Ensemble: Update version of Lucene to 7.7.3
8260255 C1: LoopInvariantCodeMotion constructor can leave some fields uninitialized
8260453 Improve Font Bounding
8260484 / fail with jtreg 4.2
8260704 ParallelGC: oldgen expansion needs release-store for _end
8260960 Signs of jarsigner signing
8260967 Better jar file validation
8261355 No data buffering in SunPKCS11 Cipher encryption when the underlying mechanism has no padding
8261867 Backport relevant test changes & additions from JDK-8130125
8262110 DST starts from incorrect time in 2038
8262276 Debug build of WebKit fails
8262366 Update glib to version 2.66.7
8262380 Enhance XML processing passes
8262403 Enhanced data transfers
8262410 Enhanced rules for zones
8262446 DragAndDrop hangs on Windows
8262477 Enhance String Conclusions
8262726 AArch64: C1 StubAssembler::call_RT can corrupt stack
8262730 Enable jdk8u MacOS external debug symbols
8262864 No debug symbols in image for Windows --with-native-debug-symbols=external
8262967 Improve Zip file support
8263061 copy wrong unpack200 debuginfo to bin directory after 8252395
8263111 Enhance String Conclusions
8263169 [macos] JavaFX windows open as tabs when system preference for documents is set
8263504 Some OutputMachOpcodes fields are uninitialized
8263600 change rmidRunning to a simple lookup
8263788 JavaFX application freezes completely after some time when using the WebView
8264066 Enhance compiler validation
8264079 Improve abstractions
8264460 Improve NTLM support
8264509 jdk8u MacOS zipped debug symbols won't build
8264562 assert(verify_field_bit(1)) failed: Attempting to write an uninitialized event field: type
8264640 CMS ParScanClosure misses a barrier
8264816 Weak handles leak causes GC to take longer
8264990 WebEngine crashes with segfault when not loaded through system classloader
8265462 Handle multiple slots in the NSS Internal Module from SunPKCS11's Secmod
8265666 Enable AIX build platform to make external debug symbols
8265832 runtime/StackGap/ fails to compile in 8u
8265988 Fix sun/text/IntHashtable/Bug4170614 for JDK 8u
8266191 Missing aarch64 parts of JDK-8181872(C1: possible overflow when strength reducing integer multiply by constant)
8266723 JFR periodic events are causing extra allocations
8266929 Unable to use algorithms from 3p providers
8266966 Wrong CSS properties are applied to other nodes after fix for JDK-8204568
8267235 [macos_aarch64] InterpreterRuntime::throw_pending_exception messing up LR results in crash
8267426 MonitorVmStartTerminate test timed out on Embedded VM
8267545 [8u] Enable Xcode 12 builds on macOS
8267689 [aarch64] Crash due to bad shift in indirect addressing mode
8268152 gstmpegaudioparse does not provides timestamps for HLS MP3 streams
8268444 keytool -v -list print is incorrect after backport JDK-8141457
8269388 Default build of OpenJDK 8 fails on newer GCCs with warnings as errors on format-overflow
8269468 JDK-8269388 breaks the build on older GCCs
8270533 AArch64: size_fits_all_mem_uses should return false if its output is a CAS