|
| 1 | +# [Java 15](https://docs.oracle.com/en/java/javase/15/) [Release Notes Documentation](https://www.oracle.com/java/technologies/javase/15-relnotes.html) |
| 2 | + |
| 3 | +## [Release Notes](https://www.oracle.com/java/technologies/javase/15-relnote-issues.html) |
| 4 | + |
| 5 | +### New Features and Enhancements |
| 6 | + |
| 7 | +*core-libs/java.lang* |
| 8 | +#### [Added `isEmpty` Default Method to CharSequence](https://www.oracle.com/java/technologies/javase/15-relnote-issues.html#JDK-8215401) |
| 9 | + |
| 10 | +*core-libs/java.lang* |
| 11 | + |
| 12 | +#### [Support for Unicode 13.0](https://www.oracle.com/java/technologies/javase/15-relnote-issues.html#JDK-8239383) |
| 13 | + |
| 14 | +*core-libs/java.lang.invoke* |
| 15 | + |
| 16 | +#### [JEP 371 Hidden Classes](https://www.oracle.com/java/technologies/javase/15-relnote-issues.html#JDK-8238358) |
| 17 | + |
| 18 | +*core-libs/java.net* |
| 19 | + |
| 20 | +#### [Added Support for SO_INCOMING_NAPI_ID Support](https://www.oracle.com/java/technologies/javase/15-relnote-issues.html#JDK-8243099) |
| 21 | + |
| 22 | +*core-libs/java.util:collections* |
| 23 | + |
| 24 | +#### [Specialized Implementations of TreeMap Methods](https://www.oracle.com/java/technologies/javase/15-relnote-issues.html#JDK-8176894) |
| 25 | + |
| 26 | +*core-svc/javax.management* |
| 27 | + |
| 28 | +#### [Added Ability to Configure Third Port for Remote JMX](https://www.oracle.com/java/technologies/javase/15-relnote-issues.html#JDK-8234484) |
| 29 | + |
| 30 | +*core-svc/tools* |
| 31 | + |
| 32 | +#### [New Option Added to `jstatd` for Specifying RMI Connector Port Number](https://www.oracle.com/java/technologies/javase/15-relnote-issues.html#JDK-8196729) |
| 33 | + |
| 34 | +#### [New Option Added to jcmd for Writing a gzipped Heap Dump](https://www.oracle.com/java/technologies/javase/15-relnote-issues.html#JDK-8237354) |
| 35 | + |
| 36 | +*tools/javac* |
| 37 | + |
| 38 | +#### [JEP 378 Text Blocks](https://www.oracle.com/java/technologies/javase/15-relnote-issues.html#JDK-8236934) |
| 39 | + |
| 40 | +*hotspot/svc-agent* |
| 41 | + |
| 42 | +#### [New Options Added to `jhsdb` for `debugd` Mode](https://www.oracle.com/java/technologies/javase/15-relnote-issues.html#JDK-8196751) |
| 43 | + |
| 44 | +*install/install* |
| 45 | + |
| 46 | +#### [Oracle JDK Installer for Windows Provides Executables (javac, etc) in a Path Reachable From Any Command Prompt](https://www.oracle.com/java/technologies/javase/15-relnote-issues.html#JDK-8222383) |
| 47 | + |
| 48 | +*security-libs/java.security* |
| 49 | + |
| 50 | +#### [Added Revocation Checking to jarsigner](https://www.oracle.com/java/technologies/javase/15-relnote-issues.html#JDK-8242060) |
| 51 | + |
| 52 | +#### [Tools Warn If Weak Algorithms Are Used](https://www.oracle.com/java/technologies/javase/15-relnote-issues.html#JDK-8172404) |
| 53 | + |
| 54 | +*security-libs/javax.crypto* |
| 55 | + |
| 56 | +#### [SunJCE Provider Supports SHA-3 Based Hmac Algorithms](https://www.oracle.com/java/technologies/javase/15-relnote-issues.html#JDK-8172680) |
| 57 | + |
| 58 | +*security-libs/javax.net.ssl* |
| 59 | + |
| 60 | +#### [New System Properties to Configure the TLS Signature Schemes](https://www.oracle.com/java/technologies/javase/15-relnote-issues.html#JDK-8242141) |
| 61 | + |
| 62 | +#### [Support for certificate_authorities Extension](https://www.oracle.com/java/technologies/javase/15-relnote-issues.html#JDK-8206925) |
| 63 | + |
| 64 | +*security-libs/org.ietf.jgss:krb5* |
| 65 | + |
| 66 | +#### [Support for canonicalize in krb5.conf](https://www.oracle.com/java/technologies/javase/15-relnote-issues.html#JDK-8239385) |
| 67 | + |
| 68 | +#### [Support cross-realm MSSFU](https://www.oracle.com/java/technologies/javase/15-relnote-issues.html#JDK-8005819) |
| 69 | + |
| 70 | +### Removed Features and Options |
| 71 | + |
| 72 | +*core-libs/java.net* |
| 73 | + |
| 74 | +#### [Removal of Terminally Deprecated Solaris-specific SO_FLOW_SLA Socket Option](https://www.oracle.com/java/technologies/javase/15-relnote-issues.html#JDK-8244582) |
| 75 | + |
| 76 | +*core-libs/java.rmi* |
| 77 | + |
| 78 | +#### [Removal of RMI Static Stub Compiler (rmic)](https://www.oracle.com/java/technologies/javase/15-relnote-issues.html#JDK-8225319) |
| 79 | + |
| 80 | +*core-svc/javax.management* |
| 81 | + |
| 82 | +#### [Removal of Deprecated Constant RMIConnectorServer.CREDENTIAL_TYPES](https://www.oracle.com/java/technologies/javase/15-relnote-issues.html#JDK-8213222) |
| 83 | + |
| 84 | +*core-libs/jdk.nashorn* |
| 85 | + |
| 86 | +#### [Removal of Nashorn JavaScript Engine](https://www.oracle.com/java/technologies/javase/15-relnote-issues.html#JDK-8236933) |
| 87 | + |
| 88 | +*hotspot/gc* |
| 89 | + |
| 90 | +#### [Obsolete -XXUseAdaptiveGCBoundary](https://www.oracle.com/java/technologies/javase/15-relnote-issues.html#JDK-8228991) |
| 91 | + |
| 92 | +*security-libs/java.security* |
| 93 | + |
| 94 | +#### [Removal of Comodo Root CA Certificate](https://www.oracle.com/java/technologies/javase/15-relnote-issues.html#JDK-8225069) |
| 95 | + |
| 96 | +#### [Removal of DocuSign Root CA Certificate](https://www.oracle.com/java/technologies/javase/15-relnote-issues.html#JDK-8225068) |
| 97 | + |
| 98 | +*security-libs/javax.net.ssl* |
| 99 | + |
| 100 | +#### [Retired the Deprecated SSLSession.getPeerCertificateChain() Method Implementation](https://www.oracle.com/java/technologies/javase/15-relnote-issues.html#JDK-8241039) |
| 101 | + |
| 102 | +#### [Removal of com.sun.net.ssl.internal.ssl.Provider Name](https://www.oracle.com/java/technologies/javase/15-relnote-issues.html#JDK-8219989) |
| 103 | + |
| 104 | +### Deprecated Features and Options |
| 105 | + |
| 106 | +*core-libs/java.rmi* |
| 107 | + |
| 108 | +#### [Deprecated RMI Activation for Removal](https://www.oracle.com/java/technologies/javase/15-relnote-issues.html#JDK-8245068) |
| 109 | + |
| 110 | +*docs* |
| 111 | + |
| 112 | +#### [Deprecated NSWindowStyleMaskTexturedBackground](https://www.oracle.com/java/technologies/javase/15-relnote-issues.html#JDK-8240995) |
| 113 | + |
| 114 | +*hotspot/gc* |
| 115 | + |
| 116 | +#### [Deprecated -XXForceNUMA Option](https://www.oracle.com/java/technologies/javase/15-relnote-issues.html#JDK-8243628) |
| 117 | + |
| 118 | +*hotspot/runtime* |
| 119 | + |
| 120 | +#### [Disabled Biased-locking and Deprecated Biased-locking Flags](https://www.oracle.com/java/technologies/javase/15-relnote-issues.html#JDK-8231264) |
| 121 | + |
| 122 | +*security-libs/javax.crypto* |
| 123 | + |
| 124 | +#### [Disabled Native SunEC Implementation by Default](https://www.oracle.com/java/technologies/javase/15-relnote-issues.html#JDK-8237219) |
| 125 | + |
| 126 | +*security-libs/jdk.security* |
| 127 | + |
| 128 | +#### [Added forRemoval=true to Previously Deprecated ContentSigner APIs](https://www.oracle.com/java/technologies/javase/15-relnote-issues.html#JDK-8242260) |
| 129 | + |
| 130 | +### Other notes |
| 131 | + |
| 132 | +*client-libs* |
| 133 | + |
| 134 | +#### [Workaround for Windows GDI API's memory restrictions](https://www.oracle.com/java/technologies/javase/15-relnote-issues.html#JDK-8240654) |
| 135 | + |
| 136 | +*client-libs/java.awt* |
| 137 | + |
| 138 | +#### [java.awt.Robot.delay() Method Completes With Interrupt Status Set When Interrupted](https://www.oracle.com/java/technologies/javase/15-relnote-issues.html#JDK-8210231) |
| 139 | + |
| 140 | +*core-libs/java.io:serialization* |
| 141 | + |
| 142 | +#### [Improved Serialization Handling](https://www.oracle.com/java/technologies/javase/15-relnote-issues.html#JDK-8234836) |
| 143 | + |
| 144 | +*core-libs/java.lang* |
| 145 | + |
| 146 | +#### [Optimized Empty Substring Handling](https://www.oracle.com/java/technologies/javase/15-relnote-issues.html#JDK-8240094) |
| 147 | + |
| 148 | +*core-libs/java.lang.invoke* |
| 149 | + |
| 150 | +#### [LookupdefineClass Links the Class](https://www.oracle.com/java/technologies/javase/15-relnote-issues.html#JDK-8238195) |
| 151 | + |
| 152 | +*core-libs/java.net* |
| 153 | + |
| 154 | +#### [DatagramSocketdisconnect Allows an Implementation to Throw UncheckedIOException](https://www.oracle.com/java/technologies/javase/15-relnote-issues.html#JDK-8235783) |
| 155 | + |
| 156 | +#### [java.net.HttpClient Does Not Override Protocols Specified in SSLContext Default Parameters](https://www.oracle.com/java/technologies/javase/15-relnote-issues.html#JDK-8239594) |
| 157 | + |
| 158 | +#### [Filtering and Ordering of Addresses Returned by Alternative Hosts File Name Service Provider](https://www.oracle.com/java/technologies/javase/15-relnote-issues.html#JDK-8244958) |
| 159 | + |
| 160 | +#### [DatagramPacket.getPort() Returns 0 When the Port Is Not Set](https://www.oracle.com/java/technologies/javase/15-relnote-issues.html#JDK-8237890) |
| 161 | + |
| 162 | +*core-libs/java.nio.charsets* |
| 163 | + |
| 164 | +#### [Modified the MS950 charset Encoder's Conversion Table](https://www.oracle.com/java/technologies/javase/15-relnote-issues.html#JDK-8232161) |
| 165 | + |
| 166 | +*core-libs/java.text* |
| 167 | + |
| 168 | +#### [Support Monetary Grouping Separator in DecimalFormat/DecimalFormatSymbols](https://www.oracle.com/java/technologies/javase/15-relnote-issues.html#JDK-8227313) |
| 169 | + |
| 170 | +*core-libs/java.time* |
| 171 | + |
| 172 | +#### [`localizedBy()` Overrides Localized Values With Default Values](https://www.oracle.com/java/technologies/javase/15-relnote-issues.html#JDK-8244245) |
| 173 | + |
| 174 | +#### [ValueRange.of(long, long, long) Does Not Throw IAE on Invalid Inputs](https://www.oracle.com/java/technologies/javase/15-relnote-issues.html#JDK-8239520) |
| 175 | + |
| 176 | +*core-libs/java.util.jar* |
| 177 | + |
| 178 | +#### [Performance Improvement for InflaterOutputStream.write](https://www.oracle.com/java/technologies/javase/15-relnote-issues.html#JDK-8242848) |
| 179 | + |
| 180 | +*core-libs/java.util.regex* |
| 181 | + |
| 182 | +#### [Incorrect behavior matching Unicode linebreaks](https://www.oracle.com/java/technologies/javase/15-relnote-issues.html#JDK-8258259) |
| 183 | + |
| 184 | +#### [Case Insensitive Matching Doesn't Work Correctly for Some Character Classes](https://www.oracle.com/java/technologies/javase/15-relnote-issues.html#JDK-8214245) |
| 185 | + |
| 186 | +*core-libs/java.util:collections* |
| 187 | + |
| 188 | +#### [Better Listing of Arrays](https://www.oracle.com/java/technologies/javase/15-relnote-issues.html#JDK-8231800) |
| 189 | + |
| 190 | +#### [`TreeMap.computeIfAbsent` Mishandles Existing Entries Whose Values Are `null`](https://www.oracle.com/java/technologies/javase/15-relnote-issues.html#JDK-8259622) |
| 191 | + |
| 192 | +*core-libs/java.util:i18n* |
| 193 | + |
| 194 | +#### [Support for CLDR version 37](https://www.oracle.com/java/technologies/javase/15-relnote-issues.html#JDK-8239480) |
| 195 | + |
| 196 | +#### [Localized Time Zone Name Inconsistency Between English and Other Locales](https://www.oracle.com/java/technologies/javase/15-relnote-issues.html#JDK-8236548) |
| 197 | + |
| 198 | +*tools/jpackage* |
| 199 | + |
| 200 | +#### [[macos] Support for Notarizing jpackage app-image and dmg](https://www.oracle.com/java/technologies/javase/15-relnote-issues.html#JDK-8237490) |
| 201 | + |
| 202 | +*hotspot/compiler* |
| 203 | + |
| 204 | +#### [Flags Controlling C1 Inlining Have New Name](https://www.oracle.com/java/technologies/javase/15-relnote-issues.html#JDK-8235673) |
| 205 | + |
| 206 | +*hotspot/gc* |
| 207 | + |
| 208 | +#### [Improved Ergonomics for G1 Heap Region Size](https://www.oracle.com/java/technologies/javase/15-relnote-issues.html#JDK-8241670) |
| 209 | + |
| 210 | +#### [JEP 377 ZGC A Scalable Low-Latency Garbage Collector (Production)](https://www.oracle.com/java/technologies/javase/15-relnote-issues.html#JDK-8209683) |
| 211 | + |
| 212 | +#### [Disabling large pages on Windows](https://www.oracle.com/java/technologies/javase/15-relnote-issues.html#JDK-8245000) |
| 213 | + |
| 214 | +#### [Disabling NUMA Interleaving on Windows](https://www.oracle.com/java/technologies/javase/15-relnote-issues.html#JDK-8245002) |
| 215 | + |
| 216 | +*hotspot/runtime* |
| 217 | + |
| 218 | +#### [Field Layout Computation Changed](https://www.oracle.com/java/technologies/javase/15-relnote-issues.html#JDK-8237767) |
| 219 | + |
| 220 | +#### [Enable ShowCodeDetailsInExceptionMessages by default](https://www.oracle.com/java/technologies/javase/15-relnote-issues.html#JDK-8233014) |
| 221 | + |
| 222 | +*security-libs/java.security* |
| 223 | + |
| 224 | +#### [Signature and SignatureSpi Get Parameter Methods May Return null When Unsupported](https://www.oracle.com/java/technologies/javase/15-relnote-issues.html#JDK-8243424) |
| 225 | + |
| 226 | +*security-libs/javax.crypto:pkcs11* |
| 227 | + |
| 228 | +#### [SunPKCS11 Initialization With NSS When External FIPS Modules Are in Security Modules Database](https://www.oracle.com/java/technologies/javase/15-relnote-issues.html#JDK-8238555) |
| 229 | + |
| 230 | +*security-libs/javax.net.ssl* |
| 231 | + |
| 232 | +#### [Default SSLEngine Should Create in Server Role](https://www.oracle.com/java/technologies/javase/15-relnote-issues.html#JDK-8237474) |
| 233 | + |
| 234 | +*tools/javac* |
| 235 | + |
| 236 | +#### [JEP 375 Pattern Matching for instanceof (Second Preview)](https://www.oracle.com/java/technologies/javase/15-relnote-issues.html#JDK-8235186) |
| 237 | + |
| 238 | +*tools/javadoc(tool)* |
| 239 | + |
| 240 | +#### [Standard Doclet Index Files Compression](https://www.oracle.com/java/technologies/javase/15-relnote-issues.html#JDK-8237909) |
0 commit comments