RELEASE NOTES: JDK openjdk8u232

Notes generated: Sun Dec 01 21:25:45 CET 2024

JEPs

None.

RELEASE NOTES

security-libs/javax.crypto:pkcs11

Issue Description
JDK-6913047

Memory Growth Issue in SunPKCS11 Fixed


A memory growth issue in the SunPKCS11 cryptographic provider that affects the NSS back-end has been fixed.

A system property, sun.security.pkcs11.disableKeyExtraction has been introduced to disable the fix. A "true" value disables the fix, while a "false" value (default) keeps it enabled.

When enabled, PKCS#11 attributes of the NSS native keys are copied to Java byte buffers after key creation. Once used, NSS keys are destroyed and native heap space is freed up. If NSS keys are required again, they are recreated with the previously saved attributes.

Further information and implementation details can be found in the CSR: JDK-8213430


FIXED ISSUES

client-libs

Priority Bug Summary
P2 JDK-8217676 Upgrade libpng to 1.6.37
P3 JDK-8214002 Cannot use italic font style if the font has embedded bitmap

client-libs/2d

Priority Bug Summary
P2 JDK-8216965 crash in freetypeScaler.c CopyBW2Grey8
P3 JDK-8146238 [macosx] Java2D Queue Flusher crash on OSX after switching between user accounts
P3 JDK-8217731 Font rendering and glyph spacing changed from jdk-8 to jdk-11
P3 JDK-8222108 Reduce minRefreshTime for updating remote printer list on Windows
P4 JDK-8215130 Fix errors in LittleCMS 2.9 reported by GCC 8
P4 JDK-8218854 FontMetrics.getMaxAdvance may be less than the maximum FontMetrics.charWidth
P4 JDK-8057986 freetype code to get glyph outline does not handle initial control point properly
P4 JDK-8213568 Typo in java/awt/GraphicsEnvironment/LoadLock/GE_init5.java
P4 JDK-8139178 Wrong fontMetrics when printing in Landscape (OpenJDK)

client-libs/java.awt

Priority Bug Summary
P3 JDK-8225101 Crash at sun.awt.X11.XlibWrapper.XkbGetUpdatedMap when change keybord map

client-libs/javax.accessibility

Priority Bug Summary
P3 JDK-8219914 Change the environment variable for Java Access Bridge logging to have a directory
P3 JDK-8196681 Java Access Bridge logging and debug flags dynamically controlled

client-libs/javax.swing

Priority Bug Summary
P1 JDK-8226964 [Yaru] GTK L&F: There is no difference between menu selected and de-selected
P3 JDK-8225505 ctrl-F1 does not show the tooltip of a menu item (JMenuItems)
P3 JDK-8225423 GTK L&F: JSplitPane: There is no divider shown
P3 JDK-8214702 Wrong text position for whitespaced string in printing Swing text

core-libs

Priority Bug Summary
P4 JDK-8220072 GCC 8.3 reports errors in java.base

core-libs/java.io

Priority Bug Summary
P4 JDK-8167646 Better invalid FilePermission
P4 JDK-8218280 LineNumberReader throws "Mark invalid" exception if CRLF straddles buffer.

core-libs/java.io:serialization

Priority Bug Summary
P3 JDK-6996807 FieldReflectorKey hash code computation can be improved

core-libs/java.lang

Priority Bug Summary
P2 JDK-8151486 Class.forName causes memory leak
P3 JDK-8075544 Add tiered testing definitions to the jdk repo
P3 JDK-8197930 JNI exception pending in initializeEncoding of jni_util.c

core-libs/java.lang:reflect

Priority Bug Summary
P4 JDK-8068736 Avoid synchronization on Executable/Field.declaredAnnotations

core-libs/java.net

Priority Bug Summary
P2 JDK-8225425 java.lang.UnsatisfiedLinkError: net.dll: Can't find dependent libraries
P3 JDK-8170494 JNI exception pending in PlainDatagramSocketImpl.c

core-libs/java.nio

Priority Bug Summary
P2 JDK-8230085 (fs) FileStore::isReadOnly is always true on macOS Catalina
P3 JDK-8202252 (aio) Closed AsynchronousSocketChannel keeps completion handler alive
P4 JDK-8168417 Pending exceptions in java.base/windows/native/libnio

core-libs/java.time

Priority Bug Summary
P3 JDK-8231098 (tz) Upgrade Timezone Data to tzdata2019c
P4 JDK-8228469 (tz) Upgrade Timezone Data to tzdata2019b

core-libs/java.util

Priority Bug Summary
P2 JDK-8073347 javadoc of Formattable messed up by JDK-8019857

core-libs/java.util.concurrent

Priority Bug Summary
P3 JDK-8227018 CompletableFuture should not call Runtime.availableProcessors on fast path

core-libs/java.util.jar

Priority Bug Summary
P3 JDK-8213561 ZipFile/MultiThreadedReadTest.java timed out in tier1

core-libs/java.util:collections

Priority Bug Summary
P4 JDK-8214687 Optimize Collections.nCopies().hashCode() and equals()

core-libs/java.util:i18n

Priority Bug Summary
P3 JDK-8222980 Upgrade IANA Language Subtag Registry to Version 2019-04-03
P3 JDK-8203324 Use out of scope in getMacOSXLocale of java_props_macosx.c:120

core-libs/javax.naming

Priority Bug Summary
P3 JDK-8139965 Hang seen when using com.sun.jndi.ldap.search.replyQueueSize

core-libs/jdk.nashorn

Priority Bug Summary
P4 JDK-8204290 Add check to limit number of capture groups
P4 JDK-8204288 Matching the end of a string followed by an empty greedy regex and a word boundary fails

globalization/locale-data

Priority Bug Summary
P3 JDK-8206879 Currency decimal marker incorrect for Peru

hotspot/compiler

Priority Bug Summary
P1 JDK-8217359 C2 compiler triggers SIGSEGV after transformation in ConvI2LNode::Ideal
P2 JDK-8080157 assert(allocates2(pc)) failed: not in CodeBuffer memory
P2 JDK-8218721 C1's CEE optimization produces safepoint poll with invalid debug information
P2 JDK-8202948 C2: assert(init_offset >= 0) failed: positive offset from object start
P2 JDK-8087128 C2: Disallow definition split on MachCopySpill nodes
P2 JDK-8215265 C2: range check elimination may allow illegal out of bound access
P3 JDK-8219517 assert(false) failed: infinite loop in PhaseIterGVN::optimize
P3 JDK-8228888 C2 compilation fails with assert "m has strange control"
P3 JDK-8219807 C2 crash in IfNode::up_one_dom(Node*, bool)
P3 JDK-8230363 C2: Let ConnectionGraph::not_global_escape(Node* n) return false if n is not in the CG
P3 JDK-8218201 Failures when vmIntrinsics::_getClass is not inlined
P3 JDK-8130341 GHASH 32bit intrinsics has AEADBadTagException
P3 JDK-8211232 GraphKit::make_runtime_call() sometimes attaches wrong memory state to call
P3 JDK-8224580 Matcher can cause oop field/array element to be reloaded
P4 JDK-8185979 PPC64: Implement SHA2 intrinsic
P4 JDK-8188868 PPC64: Support AES intrinsics on Big Endian
P4 JDK-8075136 Unnecessary sign extension for byte array access

hotspot/gc

Priority Bug Summary
P2 JDK-8147611 G1 - Missing memory barrier in start_cset_region_for_worker
P3 JDK-8048556 Unnecessary GCLocker-initiated young GCs
P4 JDK-8229020 Failure on CPUs allowing loads reordering: assert(_tasks[t] == 1) failed: What else?
P4 JDK-8229169 False failure of GenericTaskQueue::pop_local on architectures with weak memory model
P4 JDK-8217785 Padding ParallelTaskTerminator::_offered_termination variable

hotspot/jvmti

Priority Bug Summary
P2 JDK-8151066 assert(0 <= i && i < length()) failed: index out of bounds
P3 JDK-8178870 instrumentation.retransformClasses cause coredump
P3 JDK-8155951 VM crash in nsk/jvmti/RedefineClasses/StressRedefine: assert failed: Corrupted constant pool
P4 JDK-8223177 Data race on JvmtiEnvBase::_tag_map in double-checked locking
P4 JDK-8223227 Rename acquire_tag_map() to tag_map_acquire() in jvmtiEnvBase

hotspot/runtime

Priority Bug Summary
P3 JDK-8185900 hotspot build failed with gcc version Red Hat 4.4.7-3
P3 JDK-8226798 JVM crash in klassItable::initialize_itable_for_interface(int, InstanceKlass*, bool, Thread*)
P3 JDK-8152856 Xcode 7.3 -Wshift-negative-value compile failure on Mac OS X
P4 JDK-8231463 Fix runtime/RedefineTests/RedefineDoubleDelete.java test in 8u
P4 JDK-8141570 Fix Zero interpreter build for --disable-precompiled-headers
P4 JDK-8218558 NMT stack traces in output should show mt component for virtual memory allocations
P4 JDK-8202353 os::readdir should use readdir instead of readdir_r

hotspot/svc

Priority Bug Summary
P3 JDK-8038392 Generating prelink cache breaks JAVA 'jinfo' utility normal behaviour
P3 JDK-8206173 MallocSiteTable::initialize() doesn't take function descriptors into account

hotspot/svc-agent

Priority Bug Summary
P4 JDK-8225636 SA can't handle prelinked libraries

infrastructure/build

Priority Bug Summary
P4 JDK-8210761 libjsig is being compiled without optimization
P4 JDK-8217896 Make better use of LCPUs when building on AIX

other-libs/other

Priority Bug Summary
P3 JDK-8075573 Add jdk_other and jdk_svc to jdk tier 2 test definition

security-libs/java.security

Priority Bug Summary
P3 JDK-8231887 Test security/infra/java/security/cert/CertPathValidator/certification/ComodoCA.java fails because certificate was revoked
P4 JDK-8147502 Digest is incorrectly truncated for ECDSA signatures when the bit length of n is less than the field size

security-libs/javax.crypto

Priority Bug Summary
P2 JDK-8228440 TestAESCiphers tests fail with "access denied" trying to access ArrayUtil
P3 JDK-8073108 Use x86 and SPARC CPU instructions for GHASH acceleration
P4 JDK-8226543 Reduce GC pressure during message digest calculations in password-based encryption

security-libs/javax.crypto:pkcs11

Priority Bug Summary
P2 JDK-8216597 SIGBUS in Java_sun_security_pkcs11_wrapper_PKCS11_getNativeKeyInfo after JDK-6913047
P3 JDK-6946830 javax.crypto.Cipher.doFinal behavior differs depending on platform
P3 JDK-6913047 Long term memory leak when using PKCS11 and JCE exceeds 32 bit process address space
P4 JDK-8220513 Wrapper Key may get deleted when closing sessions in SunPKCS11 crypto provider

security-libs/javax.smartcardio

Priority Bug Summary
P3 JDK-8226607 Inconsistent info between pcsclite.md and MUSCLE headers
P3 JDK-8218780 Update MUSCLE PCSC-Lite header files

tools/javac

Priority Bug Summary
P3 JDK-8075546 Add tiered testing definitions to the langtools repo

tools/launcher

Priority Bug Summary
P4 JDK-8226392 Launcher should not enable legacy stdio streams on GNU/Linux (glibc)
P4 JDK-8226870 OpenJDK 8u JRE contains clhsdb and hsdb launchers