RELEASE NOTES: JDK 8u131

Notes generated: Mon Nov 08 19:32:00 CET 2021

JEPs

None.

RELEASE NOTES

javafx/web

Issue Description
JDK-8169204

Fixed memory leak when Java objects are passed into JavaScript


The bug fix for JDK-8089861, which was first integrated in JDK 8u102, fixes a memory leak when Java objects are passed into JavaScript. Prior to JDK 8u102, the WebView JavaScript runtime held a strong reference to such bound objects, which prevented them from being garbage collected. After the fix for JDK-8089861, the WebView JavaScript runtime uses weak references to refer to bound Java objects. The specification was updated to make it clear that this is the intended behavior.

Applications which rely on the previously unspecified behavior might be affected by the updated behavior if the application does not hold a strong reference to an object passed to JavaScript. In such case, the Java object might be garbage collected prematurely. The solution is to modify the application to hold a strong reference in Java code for objects that should remain live after being passed into JavaScript.


tools/visualvm

Issue Description
JDK-8167485

New version of VisualVM


VisualVM 1.3.9 was released on October 4th, 2016

http://visualvm.github.io/relnotes.html

and has been integrated into


FIXED ISSUES

client-libs/2d

Priority Bug Summary
P2 JDK-8181192 [macos] javafx.print.PrinterJob.showPrintDialog() hangs on macOS
P2 JDK-8167102 [macosx] PrintRequestAttributeSet breaks page size set using PageFormat
P4 JDK-8061258 [macosx] PrinterJob's native Print Dialog does not reflect specified Copies or Page Ranges

client-libs/java.awt

Priority Bug Summary
P2 JDK-8130769 The new menu can't be shown on the menubar after clicking the "Add" button.
P3 JDK-7155957 closed/java/awt/MenuBar/MenuBarStress1/MenuBarStress1.java hangs on win 64 bit with jdk8
P3 JDK-8160696 IllegalArgumentException: adding a component to a container on a different GraphicsDevice
P3 JDK-8079595 Resizing dialog which is JWindow parent makes JVM crash
P4 JDK-8164119 MoveToOtherScreenTest fails due wrong key attribute

client-libs/javax.swing

Priority Bug Summary
P3 JDK-8147842 IME Composition Window is displayed at incorrect location

core-libs/java.lang

Priority Bug Summary
P3 JDK-8173654 Regression since 8u60: System.getenv doesn't return env var set in JNI code

core-libs/java.net

Priority Bug Summary
P3 JDK-8075484 SocketInputStream.socketRead0 can hang even with soTimeout set
P4 JDK-8146602 [TEST_BUG] :jdk/test/sun/misc/URLClassPath/ClassnameCharTest.java test fails with NullPointerException
P4 JDK-8160958 [TEST_BUG] java/net/SetFactoryPermission/SetFactoryPermission.java should be added into :needs_compact2 group
P4 JDK-8162876 [TEST_BUG] sun/net/www/protocol/http/HttpInputStream.java fails intermittently
P4 JDK-7167293 FtpURLConnection connection leak on FileNotFoundException

core-libs/java.time

Priority Bug Summary
P2 JDK-8177449 (tz) Support tzdata2017b

deploy/deployment_toolkit

Priority Bug Summary
P1 JDK-8133045 java.lang.SecurityException: Failed to extract baseline.versions error

deploy/webstart

Priority Bug Summary
P2 JDK-8170646 JNLP fails to get loaded with old javaws when multiple jres (jre9 and jre8u111) installed
P3 JDK-8028538 Fedora Linux issue with jnlp-servlet.jar demo source code license

docs/guides

Priority Bug Summary
P3 JDK-8075196 CosNaming's implementation doesn't comply with the specification

hotspot/compiler

Priority Bug Summary
P2 JDK-8164002 Add a new CPU family (S_family) for SPARC S7 and above processors
P2 JDK-8165482 java in ldoms, with cpu-arch=generic has problems
P2 JDK-8161147 jvm crashes when -XX:+UseCountedLoopSafepoints is enabled
P3 JDK-8164293 HotSpot leaking memory in long-running requests
P3 JDK-8134119 Use new API to get cache line sizes
P5 JDK-8043913 remove legacy code in SPARC's VM_Version::platform_features

hotspot/gc

Priority Bug Summary
P2 JDK-8168914 Crash in ClassLoaderData/JNIHandleBlock::oops_do during concurrent marking

hotspot/runtime

Priority Bug Summary
P4 JDK-8049717 expose L1_data_cache_line_size for diagnostic/sanity checks
P4 JDK-8177817 Remove assertions in 8u that were removed by 8056124 in 9.
P4 JDK-8150490 Update OS detection code to recognize Windows Server 2016

install/install

Priority Bug Summary
P2 JDK-8172932 JRE installation fails with 1603 on Windows 10 with enabled Deviceguard
P2 JDK-8161945 REGRESSION: 8u91 update of 32 bit JRE removes preferences of the 64 bit JRE

javafx/scenegraph

Priority Bug Summary
P2 JDK-8165342 NPE when JavaFX loads default stylesheet or font families if CCL is null

javafx/web

Priority Bug Summary
P2 JDK-8144263 [WebView, OS X] Webkit rendering artifacts with inertia scrolling
P2 JDK-8167675 Animated gifs are not working
P2 JDK-8150982 Crash when calling WebEngine.print on background thread
P2 JDK-8170938 Memory leak in JavaFX WebView
P2 JDK-8166999 Update to newer version of WebKit
P3 JDK-8167098 Backport of JDK-8158926 to JDK 8u mistakenly used preliminary patch
P3 JDK-8165173 canvas/philip/tests/2d.path.clip.empty.html fails with 8u112
P3 JDK-8170585 Fix PlatformContextJava type leaking to GraphicsContext
P3 JDK-8166677 HTMLEditor freezes after restoring previously maximized window
P3 JDK-8090216 HTMLEditor: font bold doesn't work when an indent is set
P3 JDK-8165508 Incorrect Bug ID in comment for JDK-8164076
P3 JDK-8167100 Minor source diffs introduced in backports of JDK-8160837 and JDK-8163582
P3 JDK-8169204 Need to document JSObject Call and setSlot APIs to use weak references
P3 JDK-8166231 use @Native annotation in web classes
P3 JDK-8165098 WebEngine.print will attempt to print even if the printer job is complete or has an error
P4 JDK-8164314 [WebView] Debug build is no longer working after JDK-8089681
P4 JDK-8166775 Audio slider works incorrectly for short files
P4 JDK-8089915 Input of type file doesn't honor "accept" attribute.

security-libs

Priority Bug Summary
P3 JDK-8162916 [TEST_BUG] sun/security/krb5/auto/UnboundSSL.java fails

security-libs/java.security

Priority Bug Summary
P2 JDK-8175251 Failed to load RSA private key from pkcs12

security-libs/javax.net.ssl

Priority Bug Summary
P4 JDK-8164533 [TEST_BUG] sun/security/ssl/SSLSocketImpl/CloseSocket.java failed with "Error while cleaning up threads after test"

security-libs/javax.smartcardio

Priority Bug Summary
P3 JDK-6474807 (smartcardio) CardTerminal.connect() throws CardException instead of CardNotPresentException

tools/javac

Priority Bug Summary
P3 JDK-8180660 missing LNT entry for finally block
P3 JDK-8168774 Polymorhic signature method check crashes javac

tools/visualvm

Priority Bug Summary
P2 JDK-8167485 Integrate new version of Java VisualVM based on VisualVM 1.3.9 into JDK

xml

Priority Bug Summary
P4 JDK-8160951 [TEST_BUG] javax/xml/bind/marshal/8134111/UnmarshalTest.java should be added into :needs_jre group

xml/jax-ws

Priority Bug Summary
P3 JDK-8172297 In java 8, the marshalling with JAX-WS does not escape carriage return