java

JDK 8u162 Release Notes

Java SE 8u162 Bundled Patch Release (BPR) - Bug Fixes and Updates

The following sections summarize changes made in all Java SE 8u162 BPRs. Bug fixes and any other changes are listed below in date order, most current BPR first. Note that bug fixes in previous BPR are also included in the current BPR.

To determine the version of your JDK software, use the following command:

java -version

Changes in Java SE 8u162 b37

Bug Fixes

BugId Component Subcomponent Summary
8187635 client-libs java.awt On Windows Swing changes keyboard layout on a window activation
8187803 client-libs javax.swing JDK part of JavaFX-Swing dialogs appearing behind main stage
8185634 javafx swing Java Fx-Swing dialogs appearing behind main stage
8189280 javafx swing Memory leak in SwingNode if Stage is not shown

Changes in Java SE 8u162 b36

Bug Fixes

BugId Component Subcomponent Summary
8076117 security-libs java.security EndEntityChecker should not process custom extensions after PKIX validation
8176072 client-libs java.awt READING attributes are not available on TSF
8183504 client-libs javax.swing 8u131 Win 10, issue with wrong position of Sogou IME popup

Changes in Java SE 8u162 b35

Bug Fixes

BugId Component Subcomponent Summary
8171452 core-libs java.nio (ch) linux io_util_md: Operation not supported exception after 8168628
8168628 core-libs java.nio (fc) SIGBUS when extending file size to map it
8187577 hotspot gc JVM crash during gc doing concurrent marking
8196912 deploy plugin Java Plugin - CRL lookup does external search, with internal CRL configured

Changes in Java SE 8u162 b34

Bug Fixes

BugId Component Subcomponent Summary
8196332
(Confidential)
deploy plugin settings are written to the root drive on Windows-10 with MSI installer
8074373 tools launcher NMT is not enabled if NMT option is specified after class path specifiers
8192987 security-libs java.security keytool should remember real storetype if it is not provided
8187045 infrastructure build [linux] Not all libraries in the VM are linked with -z,noexecstack

Changes in Java SE 8u162 b32

Bug Fixes

BugId Component Subcomponent Summary
8057570 hotspot jvmti RedefineClasses() tests fail assert(((Metadata*)obj)->is_valid()) failed: obj is valid
8156137 hotspot compiler SIGSEGV in ReceiverTypeData::clean_weak_klass_links
8055008 hotspot jvmti Clean up code that saves the previous versions of redefined classes
8038636 hotspot compiler speculative traps break when classes are redefined

Changes in Java SE 8u162 b31

Please note that fixes from the prior BPR (8u152 b35) are included in this version.

Bug Fixes

BugId Component Subcomponent Summary
8054213 core-libs java.lang:reflect Class name repeated in output of Type.toString()
8189789 core-libs java.util.jar tomcat gzip-compressed response bodies appear to be broken in update 151

Java™ SE Development Kit 8, Update 162 (JDK 8u162)

January 16, 2018

The full version string for this update release is 1.8.0_162-b12 (where "b" means "build"). The version number is 8u162.

IANA Data 2017c

JDK 8u162 contains IANA time zone data version 2017c. For more information, refer to Timezone Data Versions in the JRE Software.

Security Baselines

The security baselines for the Java Runtime Environment (JRE) at the time of the release of JDK 8u162 are specified in the following table:

JRE Family Version JRE Security Baseline (Full Version String)
8 1.8.0_161-b12
7 1.7.0_171-b11
6 1.6.0_181-b10

JRE Expiration Date

The JRE expires whenever a new release with security vulnerability fixes becomes available. Critical patch updates, which contain security vulnerability fixes, are announced one year in advance on Critical Patch Updates, Security Alerts and Third Party Bulletin. This JRE (version 8u162) will expire with the release of the next critical patch update scheduled for April 17, 2018.

For systems unable to reach the Oracle Servers, a secondary mechanism expires this JRE (version 8u162) on May 17, 2018. After either condition is met (new release becoming available or expiration date reached), the JRE will provide additional warnings and reminders to users to update to the newer version. For more information, see JRE Expiration Date.

Changes

core-libs/java.rmi

 RMI Registry Filter Allows Binding Arrays of Any Type 

The RMI Registry built-in serial filter has been modified to check only the array size and not the component type. The maximum array size has been increased to 1,000,000. The override filter can be used to decrease the limit. Array sizes greater than the maxarray limit will be rejected. Sizes less than the maxarray limit will be allowed.

The java.security file contains more information about the sun.rmi.registry.registryFilter property and the conf/security/java.security configuration file has been updated to better describe the default behavior and how to override it.

See JDK-8185346

Bug Fixes

This release contains fixes for security vulnerabilities described in the Oracle Critical Patch Update.

# BugId Component Subcomponent Summary
1 JDK-7162125 client‑libs 2d [macosx] A font has different behaviour for ligatures depending on its creation mode
2 JDK-8147002 client‑libs 2d [macosx] Arabic character cannot be rendered on MacOS X
3 JDK-8180370 client‑libs 2d Characters are skipped on input of Korean text on OS X
4 JDK-8181659 client‑libs 2d Create an alternative fix for JDK‑8167102, whose fix was backed out
5 JDK-8190280 client‑libs 2d [macos] Font2DTest demo started failing for Arabic range from JDK 8 u162 b01 on Mac
6 JDK-7124271 client‑libs java.awt [macosx] RealSync test failure
7 JDK-8080504 client‑libs java.awt [macosx] SunToolkit.realSync() may hang
8 JDK-8139218 client‑libs java.awt Dialog that opens and closes quickly changes focus in original focusowner
9 JDK-8155197 client‑libs java.awt Focus transition issue
10 JDK-8078269 client‑libs javax.swing JTabbedPane UI Property TabbedPane.tabAreaBackground no longer works
11 JDK-4354680 core‑libs java.lang Runtime.runFinalization() silently clears interrupted flag in the calling thread
12 JDK-8031661 core‑libs java.net java/net/Authenticator/B4769350.java failed intermittently
13 JDK-8184328 core‑libs java.net JDK 8u131 socketRead0 hang at SSL read
14 JDK-8185346 core‑libs java.rmi Relax RMI Registry Serial Filter to allow arrays of any type
15 JDK-8179086 core‑libs java.time java.time.temporal.ValueRange has poor hashCode()
16 JDK-8184893 core‑libs jdk.nashorn jdk8u152 b06 : issues with nashorn when running kraken benchmarks
17 JDK-6618335 core‑svc debugger ThreadReference.stop(null) throws NPE instead of InvalidTypeException
18 JDK-8181419 core‑svc debugger Race in jdwp invoker handling may lead to crashes or invalid results
19 JDK-8162530 core‑svc java.lang.management src/jdk.management/share/native/libmanagement_ext/GcInfoBuilder.c doesn't handle JNI exceptions properly
20 JDK-8046778 core‑svc javax.management Better error messages when starting JMX agent via attach or jcmd
21 JDK-6656031 core‑svc tools SA: jmap ‑permstat number of classes is off by 1
22 JDK-6977426 core‑svc tools sun/tools tests can intermittently fail to find app's Java pid
23 JDK-8074812 core‑svc tools More specific error message when the .java_pid well‑known file is not secure
24 JDK-8190758 deploy packager javapackager fails to consider filesystem type
25 JDK-8191176 deploy packager JavaFX Self-Contained Application fails with error "Failed to find library: jvm.dll"
26 JDK-8074544 deploy webstart webstart app fails with CouldNotLoadArgumentException when account in Japanese
27 JDK-8185661 deploy webstart JNLP files won't launch from IE11 on Windows 10 Creators Update
28 JDK-8160365 deploy webstart Desktop shortcut of Web Start application is broken after JRE update
29 JDK-8072428 hotspot compiler Enable UseLoopCounter ergonomically if on‑stack‑replacement is enabled
30 JDK-8073670 hotspot compiler TypeF::eq and TypeD::eq do not handle NaNs correctly
31 JDK-8145913 hotspot compiler PPC64: add Montgomery multiply intrinsic
32 JDK-8148786 hotspot compiler xml.transform fails on x86‑64
33 JDK-8164954 hotspot compiler split_if creates empty phi and region nodes
34 JDK-8166742 hotspot compiler SIGFPE in C2 Loop IV elimination
35 JDK-8168318 hotspot compiler PPC64: Use cmpldi instead of li/cmpld
36 JDK-8170328 hotspot compiler PPC64: Use andis instead of lis/and
37 JDK-8172751 hotspot compiler OSR compilation at unreachable bci causes C1 crash
38 JDK-8177958 hotspot compiler Possible uninitialized char* in vm_version_solaris_sparc.cpp
39 JDK-8178047 hotspot compiler Aliasing problem with raw memory accesses
40 JDK-8180855 hotspot compiler Null pointer dereference in OopMapSet::all_do of oopMap.cpp:394
41 JDK-8181810 hotspot compiler PPC64: Leverage extrdi for bitfield extract
42 JDK-8184009 hotspot compiler Missing null pointer check in InterpreterRuntime::update_mdp_for_ret()
43 JDK-8184271 hotspot compiler Time related C1 intrinsics produce inconsistent results when floating around
44 JDK-8185572 hotspot compiler Enable AssumeMP by default on SPARC machines
45 JDK-8181055 hotspot gc PPC64: "mbind: Invalid argument" still seen after 8175813
46 JDK-8185164 hotspot jvmti GetOwnedMonitorInfo() returns incorrect owned monitor
47 JDK-6651256 hotspot runtime jstack: DeleteGlobalRef method call doesn't lead to descreasing of global refs count shown by jstack
48 JDK-8087291 hotspot runtime InitialBootClassLoaderMetaspaceSize and CompressedClassSpaceSize should be checked consistent from MaxMetaspaceSize
49 JDK-8023667 hotspot svc SA: ExceptionBlob and other C2 classes not available in client VM
50 JDK-8130721 javafx graphics [macos] problem with editing thai in TextArea
51 JDK-8181922 javafx media Provide media support for libav version 57
52 JDK-8185691 javafx media MediaPlayer reports error with HTTP Live Streams instead of EOS
53 JDK-8187594 javafx media Media crashes with libavcodec 57 on Ubuntu 17.04 32‑bit
54 JDK-8188029 javafx media [macos] MediaView Crashes on OS X 10.13 High Sierra
55 JDK-8191335 javafx media Linux 32‑bit build fails after fix for JDK‑8187594
56 JDK-8190249 javafx other Missing content from cssref.html due to missed closing comment
57 JDK-8181786 javafx swing Extra runLater causes impossible states to be possible using javafx.embed.singleThread=true
58 JDK-8187781 javafx swing "InvalidDnDOperationException: Drag and drop in progress" while running javafx application with option ‑Djavafx.embed.singleThread=true
59 JDK-8182977 javafx web NullPointerException with HTMLEditor when changing the scene graph
60 JDK-8185970 javafx web Possible crash due to use‑after‑free
61 JDK-8158633 security‑libs javax.crypto BASE64 encoded cert not correctly parsed with UTF‑16
62 JDK-8187023 security‑libs javax.crypto:pkcs11 Cannot read pkcs11 config file in UTF‑16 environment
63 JDK-8140436 security‑libs javax.net.ssl Negotiated Finite Field Diffie‑Hellman Ephemeral Parameters for TLS
64 JDK-8066185 tools launcher VM crashed with SIGSEGV VirtualMemoryTracker::add_reserved_region