RELEASE NOTES: JDK 8u72

Notes generated: Fri Nov 01 17:07:45 CET 2024

JEPs

None.

RELEASE NOTES

deploy/deployment_toolkit

Issue Description
JDK-8136759

Regression in Applet startup time


JDK-8080977 introduced delay on applet launch, the delay appears only on IE and lasts about 20 seconds. JDK-8136759 removed this delay.


FIXED ISSUES

client-libs

Priority Bug Summary
P3 JDK-8133917 Please backport X11FontManager refactor to Java 8!

client-libs/2d

Priority Bug Summary
P2 JDK-8137106 EUDC (End User Defined Characters) are not displayed on Windows with Java 8u60+
P3 JDK-8132850 java.lang.ArrayIndexOutOfBoundsException during text rendering with many fonts installed
P3 JDK-8130136 Swing window sometimes fails to repaint partially when it becomes exposed

client-libs/demo

Priority Bug Summary
P3 JDK-8065081 Intermittent NPE in Java2Demo applet on Stop/Restart in appletviewer

client-libs/java.awt

Priority Bug Summary
P3 JDK-8136763 [macosx] java always returns only one value for "text/uri-list" dataflavor even if several files were copied
P3 JDK-8081787 [macosx] MalformedURLException is thrown during reading data for application/x-java-url;class=java.net.URL flavor
P3 JDK-8086038 [macosx] No available data flavors when copying from Microsoft Word for Mac
P4 JDK-8081485 EDT auto shutdown is broken in case of new event queue usage
P4 JDK-8130776 Remove EmbeddedFrame.requestFocusToEmbedder() method

client-libs/javax.swing

Priority Bug Summary
P3 JDK-8134917 [macosx] JOptionPane doesn't receive mouse events when opened from a drop event

core-libs

Priority Bug Summary
P4 JDK-8134569 Add tests for prototype callsites
P4 JDK-8134939 Improve toString method of Dynalink DynamicMethod objects
P5 JDK-8134356 {@code} tag contains < and > sequences

core-libs/java.io

Priority Bug Summary
P4 JDK-8133249 Occasional SIGSEGV: non thread-safe use of strerr in getLastErrorString

core-libs/java.lang.invoke

Priority Bug Summary
P1 JDK-8073644 Assertion in LambdaFormEditor.bindArgumentType is too strict

core-libs/java.lang:reflect

Priority Bug Summary
P4 JDK-8030785 Missing "since 1.8" javadoc for java.lang.reflect.Method:getParameterCount

core-libs/java.net

Priority Bug Summary
P3 JDK-8072466 Deadlock when initializing MulticastSocket and DatagramSocket
P3 JDK-8133015 InetAddress.isReachable(tmout) returning wrong value on Windows for IPv6
P3 JDK-8143397 It looks like InetAddress.isReachable(timeout) works incorrectly
P3 JDK-8087190 Regression in sun.net.util.IPAddressUtil.isIPv4LiteralAddress(String)
P4 JDK-8139373 [TEST_BUG] java/net/MulticastSocket/MultiDead.java failed with timeout

core-libs/java.nio

Priority Bug Summary
P2 JDK-8029516 (fs) WatchKey cancel unreliable on Windows
P2 JDK-8133207 [TEST_BUG] ParallelProbes.java test fails after changes for JDK-8080115
P3 JDK-8034057 Files.getFileStore and Files.isWritable do not work with SUBST'ed drives (win)
P4 JDK-6857566 (bf) DirectByteBuffer garbage creation can outpace reclamation
P4 JDK-8133647 (ch) Test java/nio/channels/AsynchronousSocketChannel/StressLoopback.java fails for Windows XP
P4 JDK-8137121 (fc) Infinite loop FileChannel.truncate
P4 JDK-8080115 (fs) Crash in libgio when calling Files.probeContentType(path) from parallel threads
P4 JDK-8138819 (se) File descriptor leak when Selector.open fails
P4 JDK-8133232 [fs] Regex has redundant | in the char class
P4 JDK-8130274 java/nio/file/FileStore/Basic.java fails when two successive stores in an iteration are determined to be equal
P4 JDK-8137230 TEST_BUG: java/nio/channels/FileChannel/LoopingTruncate.java timed out

core-libs/java.text

Priority Bug Summary
P3 JDK-8081794 ParsePosition getErrorIndex returns 0 for TimeZone parsing problem

core-libs/java.time

Priority Bug Summary
P3 JDK-8139107 DateTimeFormatter with Locale.UK throw a NullPointerException when parsing zone
P3 JDK-8074032 Instant.ofEpochMilli(millis).toEpochMilli() can throw arithmetic overflow in toEpochMilli()
P4 JDK-8133022 Instant.toEpochMilli() silently overflows

core-libs/java.util.jar

Priority Bug Summary
P3 JDK-6907252 ZipFileInputStream Not Thread-Safe
P4 JDK-8038502 Deflater.needsInput() should use synchronization

core-libs/java.util:i18n

Priority Bug Summary
P4 JDK-8134505 Cleanup of "TimeZone_md.c"

core-libs/javax.naming

Priority Bug Summary
P3 JDK-8129957 Deadlock in JNDI LDAP implementation when closing the LDAP context

core-libs/jdk.nashorn

Priority Bug Summary
P1 JDK-8135336 Fix broken build after JDK-8135262
P2 JDK-8131340 Varargs function is recompiled each time it is linked
P3 JDK-8135054 Add more samples to nashorn samples directory
P3 JDK-8131039 after adding a function property to Object.prototype, JSON.parse with reviver function goes into infinite loop
P3 JDK-8134609 Allow constructors with same prototoype map to share the allocator map
P3 JDK-8137333 Boundless soft caching of property map histories causes high memory pressure
P3 JDK-8136544 Call site switching to megamorphic causes incorrect property read
P3 JDK-8134973 Control flow exceptions should avoid filling stack trace
P3 JDK-8134490 Dead var statement evacuation incorrectly descends into nested functions
P3 JDK-8133119 Error message associated with TypeError for call and new should include stringified Node
P3 JDK-8073613 Here documents: how to avoid string interpolation?
P3 JDK-8138616 invokeFunction fails if function calls a function defined in GLOBAL_SCOPE
P3 JDK-8137134 invokespecial on indirect super interface is generated by Java adapter generator
P3 JDK-8134931 jdk.nashorn.internal.codegen.TypeMap should not use Map
P3 JDK-8137258 JSObjectLinker and BrowserJSObjectLinker should not expose internal JS objects
P3 JDK-8136694 Megemorphic scope access does not throw ReferenceError when property is missing
P3 JDK-8135190 Method code too large in Babel browser.js script
P3 JDK-8135337 NativeDebug.dumpCounters with incorrect scope count
P3 JDK-8135000 Number.prototype.toFixed returns wrong string for 0.5 and -0.5
P3 JDK-8137281 OutOfMemoryError with large numeric keys in JSON.parse
P3 JDK-8135332 ScriptFunction constructor should use is bound and is strict check rather than checking for 'arguments' and 'caller'
P3 JDK-8133785 SharedScopeCall should be enabled for non-optimistic call sites even with optimistic compilation
P3 JDK-8068901 Surprising behavior with more than one functional interface on a class
P3 JDK-8073733 TypeError messages with "call" and "new" could be improved
P3 JDK-8134488 var statement in if(false) block incorrectly evacuated into enclosing function
P4 JDK-8130663 6 fields can be static fields in Global class
P4 JDK-8114838 Anonymous functions escape to surrounding scope when defined under "with" statement
P4 JDK-8068903 Can't invoke vararg @FunctionalInterface methods
P4 JDK-8129959 DebugLogger has unnecessary API methods
P4 JDK-8134930 Defer stack trace walking of NashornException for extracting line number and file name
P4 JDK-8131683 Delete fails over multiple scopes
P4 JDK-8134484 disallow backquotes as heredoc end marker delimiters
P4 JDK-8133300 Ensure symbol table immutability in Nashorn AST
P4 JDK-8134731 Function.prototype.apply interacts incorrectly with 'arguments'
P4 JDK-8130234 Get rid of JSType.isNegativeZero
P4 JDK-8130424 if directory specified with --dest-dir does not exist, only .class files are dumped and .js files are not
P4 JDK-8130307 improve Nashorn Javadoc target
P4 JDK-8080501 javaarrayconversion.js test is flawed
P4 JDK-8055917 jdk.nashorn.internal.codegen.CompilationPhase$N should be renamed to proper classes
P4 JDK-8134150 Make Nashorn Timing class both threadsafe and efficient
P4 JDK-8027137 Merge ScriptFunction and ScriptFunctionImpl
P4 JDK-8087292 nashorn should have a "fail-fast" option for scripting, analog to bash "set -e"
P4 JDK-8057035 Nashorn: Some tests failed using java.awt.Color on Solaris without X11 libraries
P4 JDK-8130853 Non-extensible global is not handled property
P4 JDK-8087312 PropertyMapWrapper.equals should compare className
P4 JDK-8130476 Remove unused methods in Global.java
P4 JDK-8135075 Reorder short-circuit tests in ApplySpecialization to run cheapest first
P4 JDK-8135262 Sanitize CodeInstaller and Compiler API
P4 JDK-8138632 Sparse array does not handle growth of underlying dense array
P4 JDK-8130888 Typos in nashorn sources
P4 JDK-8136349 Typos patch for nashorn sources submitted on Sep 10, 2015
P4 JDK-8129950 Wrong condition for checking absence of logger in MethodHandleFactory
P5 JDK-8134502 introduce abstraction for basic NodeVisitor usage

core-svc/debugger

Priority Bug Summary
P3 JDK-8074696 Remote debugging session hangs for several minutes when calling findBootType

core-svc/java.lang.management

Priority Bug Summary
P2 JDK-8074368 ThreadMXBean.getThreadInfo() corrupts memory when called with empty array for thread ids
P3 JDK-8133666 OperatingSystemMXBean reports abnormally high machine CPU consumption on Linux

deploy

Priority Bug Summary
P1 JDK-8139613 push of backport of JDK-8081846 broke build

deploy/deployment_toolkit

Priority Bug Summary
P2 JDK-8136759 Regression in Applet startup time with Internet Explorer on 8u60 and 8u65-b14

deploy/packager

Priority Bug Summary
P2 JDK-8138650 Packager cannot bundle Mac App Store Apps because JavaFX WebKit uses apple private APIs

deploy/plugin

Priority Bug Summary
P3 JDK-8133985 "Apply" button is permanently disabled in JCP, after roaming profile option is changed
P3 JDK-8134495 Cannot enable debugging on JNLP applet with java-vm-args params

deploy/webstart

Priority Bug Summary
P2 JDK-8055464 Add a URL scheme handler to reliably launch .jnlp files - java part
P2 JDK-8139323 JNLPSignedResourcesHelperTest shows regression caused by JDK-8129600
P2 JDK-8140740 Test jnlp_file/applicationDesc/index.html\#args is failing
P2 JDK-8056013 Web Start looks in currently directory for all classes prior to jars - slow
P3 JDK-8081846 Add a URL scheme handler to reliably launch .jnlp files - Windows registration part
P3 JDK-7156268 app is stuck when launching with javaagent if there is no jre info in deployment.properties
P3 JDK-8140264 create junit test for JDK-8136906
P3 JDK-8135227 DRS 1.3 enhancements doesn't work as expected when load no href jnlp by "javaws "
P3 JDK-8135115 DRS1.3: App is not blocked when there is a invalid attribute in jnlp-checksum
P3 JDK-8136906 Extreme Application Startup Time due to frequent requests for the jnlp-6.0.dtd
P3 JDK-8077380 JNLPSigning exception when signed jnlp is launched from local tomcat server

hotspot/compiler

Priority Bug Summary
P2 JDK-8058737 CodeCache::find_blob fails with 'unsafe access to zombie method'
P2 JDK-8075805 Crash while trying to release CompiledICHolder
P3 JDK-8134493 Cleaning inline caches of unloaded nmethods should be done in sweeper
P3 JDK-8134031 Incorrect JIT compilation of complex code with inlining and escape analysis
P4 JDK-8011858 Use Compile::live_nodes() instead of Compile::unique() in appropriate places

hotspot/gc

Priority Bug Summary
P4 JDK-8133193 Memory leak in G1 because G1RootProcessor doesn't have desctructor

hotspot/runtime

Priority Bug Summary
P2 JDK-8139150 ClassVerifier frees exception message while it's still in use
P2 JDK-8029453 java/util/concurrent/locks/ReentrantLock/TimeoutLockLoops.java failed by timeout
P3 JDK-8140249 JVM Crashing During startUp If Flight Recording is enabled
P4 JDK-8135002 Fix or remove broken links in objectMonitor.cpp comments

javafx/base

Priority Bug Summary
P3 JDK-8089557 bindBidirection works for ReadOnly*Wrapper incorrectly
P4 JDK-8132906 ReadOnly*Wrapper.ReadOnlyPropertyImpl could use ReadOnly*PropertyBase

javafx/controls

Priority Bug Summary
P3 JDK-8136838 [ComboBox, DatePicker] Value doesn't update when focus is lost
P3 JDK-8131151 Pressing ESC in a nested alert closes self and parent alert
P3 JDK-8130384 TableColumn header height does not shrink when removing nested TableColumns

javafx/graphics

Priority Bug Summary
P2 JDK-8132775 [macosx] JavaFX forces the use of discrete GPU
P3 JDK-8133103 JavaFX Clipboard should not require AllPermission
P3 JDK-8136495 On es2 pipe, SceneAntialiasing.BALANCED flips scene affecting Mac and Linux platforms

javafx/media

Priority Bug Summary
P1 JDK-8144678 JVM crashes when selecting video on youtube in WebView
P2 JDK-8131066 JavaFX MediaPlayer crashes on dispose with certain MP4s
P3 JDK-8091132 Support JavaFX MediaPlayer over HTTPS

javafx/scenegraph

Priority Bug Summary
P3 JDK-8130376 Incorrect LayoutFlags adjustment when adding unmanaged children to SceneGraph
P3 JDK-8137004 Memory leak caused by Parent#removed not being freed

javafx/web

Priority Bug Summary
P2 JDK-8136466 [regression] [WebView] Load single page application from jar
P3 JDK-8134470 [WebView] UnsatisfiedLinkError calling getId on HTMLIFrameElement
P3 JDK-8090035 JavaFX browser can get stuck in an infinite loop when calling path.getTotalLength()
P3 JDK-8136532 Outlook paste text into an email causes webkit.ContextMenu NullPointerException
P3 JDK-8090062 Update java-wrappers for WebKit generated classes following WebKit update
P3 JDK-8134985 WebKit build fails with XCode 6.4

security-libs/java.security

Priority Bug Summary
P3 JDK-8130875 Ucrypto library leaks memory when null output buffer is specified
P4 JDK-7194452 Remove "Reverse" PKIX CertPathBuilder implementation

security-libs/javax.crypto:pkcs11

Priority Bug Summary
P3 JDK-8132551 Initialize local variables before returning them in p11_convert.c

tools/javac

Priority Bug Summary
P3 JDK-8071291 Compiler crashes trying to cast UnionType to IntersectionClassType

xml/jaxb

Priority Bug Summary
P3 JDK-8073519 schemagen does not report errors while generating xsd files