core-libs/java.nio
Three new methods have been added to java.nio.file.FileSystems
to make it easier to use file system providers that treat the contents of a file as a file system.
newFileSystem(Path)
newFileSystem(Path, Map<String, ?>)
newFileSystem(Path, Map<String, ?>, ClassLoader)
java.nio.ByteBuffer
and the other buffer types in java.nio
now define absolute bulk get and put methods to transfer contiguous sequences of bytes without regard to or effect on the buffer position.
core-libs/java.time
An instance representing the new Reiwa era has been added to this update. Unlike other eras, there is no public field for this era. It can be obtained by calling JapaneseEra.of(3)
or JapaneseEra.valueOf("Reiwa")
. JDK 13 and later will have a new public field to represent this era.
core-libs/java.util:i18n
hotspot/gc
From 4TB to 16TB.
hotspot/runtime
security-libs/java.security
security-libs/javax.crypto
security-libs/javax.crypto:pkcs11
security-libs/javax.net.ssl
security-libs/javax.security
security-libs/javax.xml.crypto
security-libs/org.ietf.jgss
Added a Default Native GSS-API Library on Windows
security-libs/org.ietf.jgss:krb5
tools/javac
xml/jaxp
client-libs
core-libs/java.lang
core-libs/java.net
hotspot/runtime
security-libs
security-libs/java.security
security-libs/javax.net.ssl
Removal of the Internal com.sun.net.ssl
Package Only Used for Compatibility with Legacy JSSE 1.0 Applications
tools/javadoc(tool)
The following four features have been removed from the javadoc tool:
- Support for generating API documentation using HTML 4
- Support for the "old" javadoc API
- Support for generating documentation using HTML frames
- Support for the
--no-module-directories
option
client-libs
In the source code, Swing Motif Look and Feel is deprecated with the intent to remove it in a future release.
Use javax.swing.plaf.metal.MetalLookAndFeel
instead.
core-libs/java.rmi
hotspot/runtime
security-libs/javax.net.ssl
client-libs
client-libs/2d
core-libs
core-libs/java.lang
StringBuffer(CharSequence)
and StringBuilder(CharSequence)
Throw NegativeArraySizeException
for Negatively Sized Argument
Runtime.exec()
and ProcessBuilder
, on Linux now use posix_spawn(3) to spawn child processes.
This increases reliability and performance in low-memory situations.
core-libs/java.lang.invoke
core-libs/java.net
Change to ServerSocket.accept()
When the System-Wide Factory for Client or Server Socket Implementations Is Set
core-libs/java.nio
Files.isHidden
Returns true for Hidden Directories on Windows
core-libs/java.nio.charsets
core-libs/java.time
core-libs/java.util
core-libs/java.util.jar
Using the ZIP File System (zipfs
) Provider to Update a ZIP or JAR File Containing Uncompressed Entries Might Corrupt the File
core-libs/java.util.logging
core-libs/java.util:i18n
hotspot/compiler
hotspot/gc
The following are the options impacted by this change:
-XX:MaxRAMPercentage
-XX:MaxRAMFraction
-XX:MinRAMPercentage
-XX:MinRAMFraction
-XX:InitialRAMPercentage
-XX:InitialRAMFraction
-XX:MaxRAM
Note: This change only impacts 64-bit platforms.
security-libs/javax.crypto
security-libs/javax.crypto:pkcs11
security-libs/javax.net.ssl
security-libs/javax.xml.crypto
tools/javac
tools/javap
javap includes a checksum of the contents of the class file in verbose output. The checksum is now calculated with the SHA-256 algorithm, instead of the older MD5 algorithm.
tools/jlink
xml/javax.xml.parsers