[{"data":1,"prerenderedAt":1685},["ShallowReactive",2],{"article-\u002Farticles\u002Fjradar-java4shell-10000-desktops-3000-servers":3,"author-patchmageddon-team":297,"related-\u002Farticles\u002Fjradar-java4shell-10000-desktops-3000-servers":313,"article-surround-\u002Farticles\u002Fjradar-java4shell-10000-desktops-3000-servers":1678},{"id":4,"title":5,"author":6,"body":7,"category":277,"date":278,"description":279,"draft":280,"extension":281,"featured":280,"image":282,"meta":283,"navigation":284,"path":285,"readingTime":286,"seo":287,"stem":288,"tags":289,"updated":282,"__hash__":296},"articles\u002Farticles\u002Fjradar-java4shell-10000-desktops-3000-servers.md","How jradar Patches Java4Shell Across 10,000 Desktops and 3,000 Servers","patchmageddon-team",{"type":8,"value":9,"toc":264},"minimark",[10,19,28,35,44,47,78,81,85,88,100,104,107,153,159,163,171,196,203,206,210,213,217,220,223,249,252,256],[11,12,13,14,18],"p",{},"Take an estate the size of a large insurer's: ",[15,16,17],"strong",{},"more than 10,000 desktops and 3,000 servers running Java",". It has policy administration, claims, billing and rating engines on the server side. On the desktop side there are underwriting tools, document generation, actuarial models and the Java-based clients that come with dozens of commercial products. Some of it runs on Oracle JDK, some on Temurin or Red Hat builds, and a lot of it on private JVMs that vendors bundled into their installers years ago.",[11,20,21,22,27],{},"Then ",[23,24,26],"a",{"href":25},"\u002Farticles\u002Fjava4shell-cve-2026-114938-response","Java4Shell (CVE-2026-114938)"," lands: a pre-authentication heap overflow in OpenJDK's Base64 decoder, with fixed builds arriving from different vendors on different days.",[11,29,30,31,34],{},"This is the problem ",[15,32,33],{},"jradar",", our JVM discovery and patching tool, is built for. Here is how it works through an estate like that, and why the answer is days rather than weeks.",[36,37,39,40],"h2",{"id":38},"step-1-find-every-jvm-not-just-the-system-java","Step 1: Find Every JVM, Not Just the System ",[41,42,43],"code",{},"java",[11,45,46],{},"jradar inventories every Java runtime on every desktop and server, wherever it lives:",[48,49,50,57,66,72],"ul",{},[51,52,53,56],"li",{},[15,54,55],{},"Installed JDKs and JREs"," from any vendor, including several side by side on one machine",[51,58,59,62,63,65],{},[15,60,61],{},"Private runtimes bundled inside vendor products",", which never show up as a system ",[41,64,43],{}," and are the ones most often missed",[51,67,68,71],{},[15,69,70],{},"Application servers and services"," such as Tomcat, WebLogic, WebSphere and JBoss, with the runtime each one actually starts",[51,73,74,77],{},[15,75,76],{},"Version, vendor and patch level"," for each runtime, mapped to the product and owner it belongs to",[11,79,80],{},"For Java4Shell, that inventory answers the scoping question straight away: which runtimes are on an affected Java line (17.0.6 and later, 21, 25 or 27), and which machines have the AVX-512 VBMI CPUs that the vulnerable code path needs. On a mixed desktop fleet the hardware check matters. Many desktop CPUs don't have AVX-512 VBMI at all, while newer servers usually do, so the exposed population is often smaller and more server-heavy than the raw JVM count suggests.",[36,82,84],{"id":83},"step-2-take-the-first-tck-tested-build-with-the-fix","Step 2: Take the First TCK-Tested Build With the Fix",[11,86,87],{},"Fixed builds for Java4Shell didn't arrive everywhere at once. Amazon Corretto and SapMachine had fixed builds for every affected line on November 17. Temurin, Liberica and Red Hat's portable builds followed on November 18. RHEL packages came on November 19, and many products that bundle their own Java still had nothing days later.",[11,89,90,91,95,96,99],{},"jradar doesn't wait for each application's original vendor. Following ",[23,92,94],{"href":93},"\u002Fapproach","our approach",", it selects ",[15,97,98],{},"the first available TCK-tested OpenJDK build that contains the fix"," for each Java line, and uses it to replace the vendor-specific build, whether that was Oracle JDK, another OpenJDK distribution, or a runtime bundled inside a commercial product. Every one of these builds passes the same Java SE compatibility kit and comes from the same OpenJDK source, so changing vendor within a Java version is a routine patch, not a migration project.",[36,101,103],{"id":102},"step-3-carry-the-configuration-across","Step 3: Carry the Configuration Across",[11,105,106],{},"This is where most runtime swaps go wrong, and why \"just install the new JDK\" so often causes incidents. A JVM in a real enterprise isn't only its binaries. jradar accounts for the files and settings that make each runtime work in its environment, and carries them over to the replacement build:",[48,108,109,118,127,133,147],{},[51,110,111,117],{},[15,112,113,116],{},[41,114,115],{},"cacerts"," and custom truststores",", including the corporate root CA, internal PKI and proxy certificates that internal services and SSO depend on",[51,119,120,126],{},[15,121,122,125],{},[41,123,124],{},"java.security"," overrides",", such as re-enabled algorithms or custom security providers that older integrations need",[51,128,129,132],{},[15,130,131],{},"Other runtime configuration files"," and fonts that document generation and reporting tools rely on",[51,134,135,138,139,142,143,146],{},[15,136,137],{},"Launch settings",": JVM options, ",[41,140,141],{},"JAVA_HOME"," and ",[41,144,145],{},"PATH"," references, service scripts and Windows registry keys that point at a specific install directory",[51,148,149,152],{},[15,150,151],{},"Agents",", such as APM and security agents attached to the JVM, which are checked for compatibility before the swap",[11,154,155,156,158],{},"Missing even one of these, most often a custom CA certificate in ",[41,157,115],{},", can break logins, integrations or scheduled jobs on hundreds of machines at once. Accounting for them up front is what turns a vendor swap into a non-event.",[36,160,162],{"id":161},"step-4-roll-out-in-waves-with-rollback-ready","Step 4: Roll Out in Waves, With Rollback Ready",[11,164,165,166,170],{},"jradar applies the new runtime progressively, in the same way as ",[23,167,169],{"href":168},"\u002Fjradar#rollout","every jradar rollout",":",[48,172,173,179,185],{},[51,174,175,178],{},[15,176,177],{},"A canary group first",", chosen so that every Java line and every commercial product is represented at least once",[51,180,181,184],{},[15,182,183],{},"Health checks between waves",": error rates, startup success, latency and the business transactions that matter",[51,186,187,190,191,195],{},[15,188,189],{},"The previous runtime kept in place"," until the soak period ends, so ",[23,192,194],{"href":193},"\u002Farticles\u002Ffast-detection-and-rollback-instead-of-regression-testing","rollback takes minutes",", not a rebuild",[11,197,198,199,202],{},"Business-critical systems such as policy administration, billing and payments go through ",[23,200,201],{"href":168},"jradar's critical-app rollout"," in parallel, using the same fixed builds with more verification before each step.",[11,204,205],{},"Until a machine is on a fixed build, the interim JVM flag that disables the vulnerable Base64 intrinsic stays in place, and jradar checks that the running JVM actually picked it up.",[36,207,209],{"id":208},"step-5-leave-an-audit-trail","Step 5: Leave an Audit Trail",[11,211,212],{},"Every swap is recorded: which runtime was replaced, with which build from which vendor, what configuration was carried across, which checks passed, and who accepted the risk. Commercial products whose vendors only support their own bundled runtime are flagged as documented exceptions, with mitigation verified and a named owner, rather than quietly left behind. That record is what your CAB, security team and auditors need after an emergency patch.",[36,214,216],{"id":215},"why-this-takes-days-not-weeks","Why This Takes Days, Not Weeks",[11,218,219],{},"The traditional process patches each application on the vendor it shipped with, after a full regression cycle, through a change request per application. Its speed is set by the slowest vendor in the estate, and for commercial products, by the product vendor's release cycle.",[11,221,222],{},"jradar removes those dependencies:",[48,224,225,231,237,243],{},[51,226,227,230],{},[15,228,229],{},"Discovery is already done",", so scoping is a query, not a project.",[51,232,233,236],{},[15,234,235],{},"Vendor-agnostic builds"," mean the fix can be deployed the day the first TCK-tested build ships.",[51,238,239,242],{},[15,240,241],{},"Configuration is carried across",", so the swap doesn't break what the old runtime was quietly doing.",[51,244,245,248],{},[15,246,247],{},"Waves and rollback"," replace months of regression testing for the long tail of applications.",[11,250,251],{},"With AI shrinking the time between a CVE and a working exploit, that difference matters.",[36,253,255],{"id":254},"what-to-do-next","What to Do Next",[11,257,258,259,263],{},"If you want to know how many of your desktops and servers are exposed to Java4Shell, and how quickly jradar could move them to a fixed build, ",[23,260,262],{"href":261},"\u002Fcontact?topic=demo","book a jradar demo",".",{"title":265,"searchDepth":266,"depth":267,"links":268},"",2,3,[269,271,272,273,274,275,276],{"id":38,"depth":266,"text":270},"Step 1: Find Every JVM, Not Just the System java",{"id":83,"depth":266,"text":84},{"id":102,"depth":266,"text":103},{"id":161,"depth":266,"text":162},{"id":208,"depth":266,"text":209},{"id":215,"depth":266,"text":216},{"id":254,"depth":266,"text":255},"patch-management","2026-11-21","How jradar finds every JVM in a large insurer-sized estate and swaps it to the first TCK-tested OpenJDK build with the Java4Shell fix, config and all.",false,"md",null,{},true,"\u002Farticles\u002Fjradar-java4shell-10000-desktops-3000-servers",5,{"title":5,"description":279},"articles\u002Fjradar-java4shell-10000-desktops-3000-servers",[33,290,291,292,293,294,295],"java4shell","cve-2026-114938","insurance","cots","openjdk","tck","_BSTU5nNPrZR_gbNeKWK3VhCQF8G9NK00PWcgMoiB4I",{"id":298,"avatar":299,"bio":300,"extension":301,"kind":302,"links":303,"meta":308,"name":309,"role":310,"stem":311,"__hash__":312},"authors\u002Fauthors\u002Fpatchmageddon-team.yml","\u002Ffavicon.svg","The Patchmageddon team helps enterprises find every JVM in their estate, patch it on a sane cadence, and stop paying for Oracle Java they don't need.","yml","organization",[304],{"label":305,"icon":306,"to":307},"LinkedIn","i-simple-icons-linkedin","https:\u002F\u002Fwww.linkedin.com\u002Fcompany\u002Fpatchmageddon",{},"Patchmageddon Team","JVM patching & OpenJDK migration specialists","authors\u002Fpatchmageddon-team","4HFxqSUgKzMH-9PhrByUwSJBQRn96t7Og1rkYrP4XnM",[314,818,1246],{"id":315,"title":316,"author":6,"body":317,"category":277,"date":278,"description":808,"draft":280,"extension":281,"featured":280,"image":282,"meta":809,"navigation":284,"path":25,"readingTime":286,"seo":810,"stem":812,"tags":813,"updated":816,"__hash__":817},"articles\u002Farticles\u002Fjava4shell-cve-2026-114938-response.md","Java4Shell (CVE-2026-114938): How to Patch It in Days, Not Weeks",{"type":8,"value":318,"toc":793},[319,330,333,343,347,350,380,383,448,451,455,475,478,482,499,583,586,589,593,602,607,622,626,629,638,641,684,687,691,698,706,710,723,727,730,734,737,739,747,751,789],[11,320,321,322,325,326,329],{},"On November 17, 2026, Oracle and the OpenJDK project published fixes for ",[15,323,324],{},"CVE-2026-114938",", which its discoverers at Calif named ",[15,327,328],{},"Java4Shell",". It is a memory-corruption bug in an optimized version of OpenJDK's Base64 decoder. On affected hardware, a remote attacker with no credentials can send a crafted Base64 value that writes past the end of a heap buffer. In applications that decode attacker-supplied Base64 before authentication, that can lead to remote code execution.",[11,331,332],{},"Base64 decoding is everywhere in Java: tokens, headers, SAML assertions, JWTs, certificates. That is why the bug reaches so many products at once.",[334,335,336],"warning",{},[11,337,338,339,342],{},"This page reflects public advisories as of ",[15,340,341],{},"December 1, 2026",". Vendor fix status is changing daily. Check your vendor's own advisory before acting on any single version number here.",[36,344,346],{"id":345},"are-you-affected","Are You Affected?",[11,348,349],{},"All four conditions have to be true:",[48,351,352,358,364,374],{},[51,353,354,357],{},[15,355,356],{},"Java version:"," Java 17 from 17.0.6 onward, and every release from 18 up, including the currently supported 21, 25 and 27 lines. Standard Java 8 and 11 are not affected.",[51,359,360,363],{},[15,361,362],{},"Runtime:"," HotSpot-based OpenJDK builds from any vendor: Oracle, Temurin, Corretto, Zulu, Red Hat, Microsoft, Liberica, SapMachine and others. OpenJ9 runtimes such as IBM Semeru, and GraalVM native-image executables, are reported as not affected.",[51,365,366,369,370,373],{},[15,367,368],{},"Hardware:"," x86-64 CPUs with ",[15,371,372],{},"AVX-512 VBMI",", which is where the vulnerable code path runs. That covers recent Intel Xeon generations (Ice Lake and later) and AMD Zen 4 and later. ARM64, including AWS Graviton and Apple silicon, is not affected.",[51,375,376,379],{},[15,377,378],{},"Exposure:"," the application decodes Base64 that an attacker can influence. Researchers have shown pre-authentication paths in default configurations of widely used products, including Keycloak, Jira, Confluence, Jenkins, JFrog Artifactory and PingFederate.",[11,381,382],{},"On Linux, a quick hardware check is:",[384,385,389],"pre",{"className":386,"code":387,"language":388,"meta":265,"style":265},"language-bash shiki shiki-themes material-theme-lighter github-light github-dark","grep -m1 '^flags' \u002Fproc\u002Fcpuinfo | grep -qw avx512vbmi && echo \"AVX-512 VBMI present\"\n","bash",[41,390,391],{"__ignoreMap":265},[392,393,396,400,404,408,412,415,418,422,425,428,431,435,439,442,445],"span",{"class":394,"line":395},"line",1,[392,397,399],{"class":398},"sbgvK","grep",[392,401,403],{"class":402},"stzsN"," -m1",[392,405,407],{"class":406},"sjJ54"," '",[392,409,411],{"class":410},"s_sjI","^flags",[392,413,414],{"class":406},"'",[392,416,417],{"class":410}," \u002Fproc\u002Fcpuinfo",[392,419,421],{"class":420},"smGrS"," |",[392,423,424],{"class":398}," grep",[392,426,427],{"class":402}," -qw",[392,429,430],{"class":410}," avx512vbmi",[392,432,434],{"class":433},"sP7_E"," &&",[392,436,438],{"class":437},"sptTA"," echo",[392,440,441],{"class":406}," \"",[392,443,444],{"class":410},"AVX-512 VBMI present",[392,446,447],{"class":406},"\"\n",[11,449,450],{},"Cloud instance types change underneath you. A service that is safe on one instance family can become exposed when it is rescheduled onto newer hardware, so don't rely on hardware alone as a long-term defense.",[36,452,454],{"id":453},"where-things-stand","Where Things Stand",[48,456,457,463,469],{},[51,458,459,462],{},[15,460,461],{},"Severity:"," CVSS 3.1 8.1 from Oracle and OpenJDK, which rate attack complexity as high. Calif scores it 9.2 under CVSS 4.0, and Red Hat rates it 9.8.",[51,464,465,468],{},[15,466,467],{},"Exploitation:"," Calif's public proof of concept triggers the bug without taking control. Security vendors have reported scanning and exploitation attempts and privately held working exploits, but no confirmed successful intrusion and no entry in CISA's Known Exploited Vulnerabilities catalog yet.",[51,470,471,474],{},[15,472,473],{},"Government alerts:"," CISA, the Canadian Centre for Cyber Security, CERT-EU, CERT-FR and Singapore's CSA have all issued alerts.",[11,476,477],{},"That window between \"proof of concept\" and \"working exploit in the wild\" is exactly the window that AI-assisted exploit development keeps shrinking.",[36,479,481],{"id":480},"the-fix-didnt-arrive-everywhere-at-once","The Fix Didn't Arrive Everywhere at Once",[11,483,484,485,488,489,488,492,142,495,498],{},"Fixed versions are ",[15,486,487],{},"17.0.21.1",", ",[15,490,491],{},"21.0.13.1",[15,493,494],{},"25.0.5.1",[15,496,497],{},"27.0.1.1"," (vendor build numbers vary). But each distribution shipped them on its own schedule:",[500,501,502,515],"table",{},[503,504,505],"thead",{},[506,507,508,512],"tr",{},[509,510,511],"th",{},"Date (2026)",[509,513,514],{},"Fixed builds available",[516,517,518,527,535,543,551,559,567,575],"tbody",{},[506,519,520,524],{},[521,522,523],"td",{},"November 17",[521,525,526],{},"Oracle JDK, Amazon Corretto, SapMachine",[506,528,529,532],{},[521,530,531],{},"November 18",[521,533,534],{},"Eclipse Temurin (Linux first), BellSoft Liberica, Red Hat portable builds, Ubuntu packages",[506,536,537,540],{},[521,538,539],{},"November 19",[521,541,542],{},"Red Hat Enterprise Linux packages and UBI images, Azul Zulu container images",[506,544,545,548],{},[521,546,547],{},"November 23",[521,549,550],{},"Elasticsearch, Logstash",[506,552,553,556],{},[521,554,555],{},"November 24",[521,557,558],{},"Atlassian Jira Data Center",[506,560,561,564],{},[521,562,563],{},"November 25",[521,565,566],{},"Other Atlassian Data Center products (Jira Service Management, Confluence, Bitbucket, Bamboo) and Crowd Docker images",[506,568,569,572],{},[521,570,571],{},"November 26",[521,573,574],{},"JFrog Artifactory SaaS",[506,576,577,580],{},[521,578,579],{},"Still pending on December 1",[521,581,582],{},"Many products that bundle their own Java, including Confluence Data Center 11.1, several Red Hat middleware images, Apache Kafka's official image, self-hosted JFrog Artifactory and PingFederate",[11,584,585],{},"Branches that are out of support (18 to 20, 22 to 24 and 26) will not get fixes from most vendors. Move those to a supported line.",[11,587,588],{},"If your policy is \"each application stays on the JDK vendor it shipped with\", your exposure window is set by your slowest vendor, and for products that bundle Java, by the product vendor's release cycle. That can be weeks.",[36,590,592],{"id":591},"how-we-would-address-it","How We Would Address It",[11,594,595,596,598,599],{},"This is ",[23,597,94],{"href":93}," applied to a single, urgent CVE: ",[15,600,601],{},"any TCK-tested OpenJDK build can run your application, so patch with the first one that ships the fix.",[603,604,606],"h3",{"id":605},"hour-0-find-the-exposed-jvms","Hour 0: Find the Exposed JVMs",[11,608,609,610,614,615,617,618,263],{},"Start from the ",[23,611,613],{"href":612},"\u002Fjradar","JVM inventory",", not from the system ",[41,616,43],{}," on each host. Filter for affected Java lines, x86-64 hosts with AVX-512 VBMI, and applications that take Base64 input from the network. Internet-facing identity, SSO, CI and collaboration tools go to the top of the list. Vendor-bundled runtimes are the ones most often missed; ",[23,619,621],{"href":620},"\u002Farticles\u002Fpatching-jvms-inside-vendor-products","here's where they hide",[603,623,625],{"id":624},"hour-1-mitigate-while-you-patch","Hour 1: Mitigate While You Patch",[11,627,628],{},"Researchers have identified a JVM flag that turns off the vulnerable Base64 intrinsic without disabling other AVX-512 optimizations:",[384,630,632],{"className":386,"code":631,"language":388,"meta":265,"style":265},"-XX:-UseBASE64Intrinsics\n",[41,633,634],{"__ignoreMap":265},[392,635,636],{"class":394,"line":395},[392,637,631],{"class":398},[11,639,640],{},"Red Hat describes this as its preferred interim mitigation. Neither the Oracle nor the OpenJDK advisory documents it, so treat it as a stopgap, not a fix. Check that the running JVM actually picked it up; seeing the option in an environment variable isn't enough:",[384,642,644],{"className":386,"code":643,"language":388,"meta":265,"style":265},"jcmd \u003Cpid> VM.flags -all | grep -F UseBASE64Intrinsics   # expect: false\n",[41,645,646],{"__ignoreMap":265},[392,647,648,651,654,657,661,664,667,670,672,674,677,680],{"class":394,"line":395},[392,649,650],{"class":398},"jcmd",[392,652,653],{"class":420}," \u003C",[392,655,656],{"class":410},"pi",[392,658,660],{"class":659},"su5hD","d",[392,662,663],{"class":420},">",[392,665,666],{"class":410}," VM.flags",[392,668,669],{"class":402}," -all",[392,671,421],{"class":420},[392,673,424],{"class":398},[392,675,676],{"class":402}," -F",[392,678,679],{"class":410}," UseBASE64Intrinsics",[392,681,683],{"class":682},"sutJx","   # expect: false\n",[11,685,686],{},"Keep it in place until a fixed runtime is deployed and verified.",[603,688,690],{"id":689},"day-1-take-the-first-tck-tested-fixed-build","Day 1: Take the First TCK-Tested Fixed Build",[11,692,693,694,697],{},"For each Java line in the estate, pick the earliest available TCK-tested OpenJDK build that contains the fix, ",[15,695,696],{},"whatever vendor the application ran on before",". On November 17 that already meant Corretto or SapMachine for every affected line, a day or more before some incumbent vendors shipped.",[11,699,700,701,705],{},"Because every one of these builds passes the same Java SE compatibility kit and comes from the same OpenJDK source, switching vendor within a Java version is a routine change. We still pre-flight the ",[23,702,704],{"href":703},"\u002Farticles\u002Foracle-jdk-to-openjdk-migration-checklist","known differences",": truststores, install paths, fonts, agents and legacy flags.",[603,707,709],{"id":708},"days-1-to-3-roll-out-progressively","Days 1 to 3: Roll Out Progressively",[11,711,712,713,715,716,718,719,722],{},"The same safety net as ",[23,714,169],{"href":168},": canary first, then wider rings, each gated on automated health checks, with the previous runtime kept in place so ",[23,717,194],{"href":193},". Business-critical systems get ",[23,720,721],{"href":168},"more verification"," on a compressed schedule.",[603,724,726],{"id":725},"commercial-products-that-bundle-java","Commercial Products That Bundle Java",[11,728,729],{},"For COTS products still waiting on a vendor update, replace the bundled runtime with a fixed TCK-tested build of the same Java version, using the same canary and rollback discipline. Some vendors only support specific JDK builds, so record each vendor's position and the risk decision alongside the change. Where a swap isn't acceptable, the mitigation flag and network controls stay in place until the vendor ships, and that exception is tracked rather than forgotten.",[603,731,733],{"id":732},"afterwards-record-and-re-evaluate","Afterwards: Record and Re-Evaluate",[11,735,736],{},"Every change leaves evidence for your CAB and auditors: which build, from which vendor, why, what was checked, and who accepted the risk. Once your preferred vendor ships its fix, moving back is optional; it's just another routine patch.",[36,738,255],{"id":254},[11,740,741,742,746],{},"If you don't know which of your JVMs are on an affected line and affected hardware, that's the first problem to solve, and we can usually answer it within days. ",[23,743,745],{"href":744},"\u002Fcontact?topic=managed","Talk to us"," about a Java4Shell exposure check and emergency patch cycle.",[36,748,750],{"id":749},"sources","Sources",[48,752,753,761,768,775,782],{},[51,754,755],{},[23,756,760],{"href":757,"rel":758},"https:\u002F\u002Fcalif.io\u002Fjava4shell",[759],"nofollow","Calif: Java4Shell write-up",[51,762,763],{},[23,764,767],{"href":765,"rel":766},"https:\u002F\u002Fwww.tenable.com\u002Fblog\u002Fjava4shell-cve-2026-114938-frequently-asked-questions-about-openjdk-rce-vulnerability",[759],"Tenable: Java4Shell FAQ",[51,769,770],{},[23,771,774],{"href":772,"rel":773},"https:\u002F\u002Fthreatdefence.com\u002Farticle\u002Fjava4shell-cve-2026-114938-openjdk-rce-patching-hunting",[759],"ThreatDefence: Java 17 to 27 fixes and hunting",[51,776,777],{},[23,778,781],{"href":779,"rel":780},"https:\u002F\u002Fwww.keycloak.org\u002F2026\u002F11\u002Fjava4shell-vulnerability-cve-2026-114938",[759],"Keycloak: what Keycloak admins need to do",[51,783,784],{},[23,785,788],{"href":786,"rel":787},"https:\u002F\u002Fresearch.jfrog.com\u002Fpost\u002Fjava4shell-vulnerability\u002F",[759],"JFrog Security Research: what we know",[790,791,792],"style",{},"html pre.shiki code .sbgvK, html code.shiki .sbgvK{--shiki-light:#E2931D;--shiki-default:#6F42C1;--shiki-dark:#B392F0}html pre.shiki code .stzsN, html code.shiki .stzsN{--shiki-light:#91B859;--shiki-default:#005CC5;--shiki-dark:#79B8FF}html pre.shiki code .sjJ54, html code.shiki .sjJ54{--shiki-light:#39ADB5;--shiki-default:#032F62;--shiki-dark:#9ECBFF}html pre.shiki code .s_sjI, html code.shiki .s_sjI{--shiki-light:#91B859;--shiki-default:#032F62;--shiki-dark:#9ECBFF}html pre.shiki code .smGrS, html code.shiki .smGrS{--shiki-light:#39ADB5;--shiki-default:#D73A49;--shiki-dark:#F97583}html pre.shiki code .sP7_E, html code.shiki .sP7_E{--shiki-light:#39ADB5;--shiki-default:#24292E;--shiki-dark:#E1E4E8}html pre.shiki code .sptTA, html code.shiki .sptTA{--shiki-light:#6182B8;--shiki-default:#005CC5;--shiki-dark:#79B8FF}html .light .shiki span {color: var(--shiki-light);background: var(--shiki-light-bg);font-style: var(--shiki-light-font-style);font-weight: var(--shiki-light-font-weight);text-decoration: var(--shiki-light-text-decoration);}html.light .shiki span {color: var(--shiki-light);background: var(--shiki-light-bg);font-style: var(--shiki-light-font-style);font-weight: var(--shiki-light-font-weight);text-decoration: var(--shiki-light-text-decoration);}html .default .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}html.dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}html pre.shiki code .su5hD, html code.shiki .su5hD{--shiki-light:#90A4AE;--shiki-default:#24292E;--shiki-dark:#E1E4E8}html pre.shiki code .sutJx, html code.shiki .sutJx{--shiki-light:#90A4AE;--shiki-light-font-style:italic;--shiki-default:#6A737D;--shiki-default-font-style:inherit;--shiki-dark:#6A737D;--shiki-dark-font-style:inherit}",{"title":265,"searchDepth":266,"depth":267,"links":794},[795,796,797,798,806,807],{"id":345,"depth":266,"text":346},{"id":453,"depth":266,"text":454},{"id":480,"depth":266,"text":481},{"id":591,"depth":266,"text":592,"children":799},[800,801,802,803,804,805],{"id":605,"depth":267,"text":606},{"id":624,"depth":267,"text":625},{"id":689,"depth":267,"text":690},{"id":708,"depth":267,"text":709},{"id":725,"depth":267,"text":726},{"id":732,"depth":267,"text":733},{"id":254,"depth":266,"text":255},{"id":749,"depth":266,"text":750},"Java4Shell is a pre-auth heap overflow in OpenJDK's Base64 decoder. Fixed builds shipped on different days by vendor. Here's how to patch with the first one.",{},{"description":811,"title":316},"Java4Shell is a pre-auth heap overflow in OpenJDK's Base64 decoder. Vendors shipped fixes on different days. How to patch with the first one.","articles\u002Fjava4shell-cve-2026-114938-response",[290,291,294,814,815],"rce","emergency-patching","2026-12-01","6cqMt5lsOG9hcto-Br2zBSLrpNQDVPYUKsteqjsYF6w",{"id":819,"title":820,"author":6,"body":821,"category":277,"date":1235,"description":1236,"draft":280,"extension":281,"featured":280,"image":282,"meta":1237,"navigation":284,"path":193,"readingTime":286,"seo":1238,"stem":1239,"tags":1240,"updated":282,"__hash__":1245},"articles\u002Farticles\u002Ffast-detection-and-rollback-instead-of-regression-testing.md","Fast Detection and Rollback: A Safer Alternative to Full Regression Testing",{"type":8,"value":822,"toc":1222},[823,826,829,833,836,842,845,848,855,865,869,872,893,896,899,903,906,956,963,1042,1045,1049,1052,1072,1075,1079,1082,1086,1097,1101,1127,1164,1169,1173,1196,1200,1208,1210,1219],[11,824,825],{},"Oracle and the OpenJDK update projects ship scheduled security updates four times a year, in January, April, July and October, usually around the third Tuesday of the month. Many enterprises need most of a quarter to get a JVM update through regression testing across their applications. Some never finish before the next one arrives.",[11,827,828],{},"For business-critical systems, thorough testing is worth the time. For the long tail of internal tools, batch jobs and low-traffic services, it usually isn't. For that tier there's a better approach than either testing everything or skipping tests.",[36,830,832],{"id":831},"the-argument","The Argument",[11,834,835],{},"Think about the expected cost of a bad patch reaching production:",[837,838,839],"blockquote",{},[11,840,841],{},"expected cost ≈ probability of a problem × impact per minute × minutes until it's fixed",[11,843,844],{},"Full regression testing attacks the first term, making a problem less likely to ship. Fast detection and fast rollback attack the last term, making any problem that does ship short-lived.",[11,846,847],{},"For a same-major JVM security update, such as moving between two 17.0.x releases, the chance of a functional regression is already low. For a low-criticality application the impact per minute is also low. If you can detect a problem in minutes and reverse it in minutes, the expected cost of skipping a multi-week regression cycle is small, and usually much smaller than leaving known CVEs open for another quarter.",[11,849,850,851,854],{},"That's the core claim: ",[15,852,853],{},"when mean time to detect (MTTD) and mean time to recover (MTTR) are low, the value of full pre-deployment regression testing drops sharply."," It holds only if both numbers really are low, so most of the work goes into making them low.",[856,857,858],"note",{},[11,859,860,861,263],{},"This approach applies to same-major security updates on applications classified as low-criticality through a documented process. Major version upgrades and vendor swaps carry different risks. See ",[23,862,864],{"href":863},"\u002Farticles\u002Fjvm-patch-failure-modes","JVM patch failure modes",[36,866,868],{"id":867},"progressive-rollout","Progressive Rollout",[11,870,871],{},"Don't patch everything at once. Roll out in stages, with automated checks between each one:",[873,874,875,881,887],"ol",{},[51,876,877,880],{},[15,878,879],{},"Canary (about 1%):"," one instance or a small slice of traffic. Hold long enough to see steady-state behavior, not just startup",[51,882,883,886],{},[15,884,885],{},"Partial (about 10%):"," enough traffic that low-frequency errors show up",[51,888,889,892],{},[15,890,891],{},"Full (100%):"," complete the rollout, then keep watching through a soak period",[11,894,895],{},"Each step is gated. If a gate fails, the rollout stops and rolls back automatically, with no meeting required.",[11,897,898],{},"For small applications running on one or two instances, \"1%\" becomes \"one instance first, then the rest.\" The principle is the same: expose the change to real load in a limited way before exposing all of it.",[36,900,902],{"id":901},"what-to-watch-on-a-jvm-change","What to Watch on a JVM Change",[11,904,905],{},"Generic health checks, like \"is the process up?\", miss most JVM-specific regressions. Compare the patched instances against the unpatched baseline on these signals:",[48,907,908,914,920,926,932,938,944,950],{},[51,909,910,913],{},[15,911,912],{},"Error rate:"," HTTP 5xx, exception counts, failed jobs",[51,915,916,919],{},[15,917,918],{},"Latency:"," p50 and p99, since JVM changes often affect the tail first",[51,921,922,925],{},[15,923,924],{},"GC behavior:"," pause time, pause frequency and collection counts",[51,927,928,931],{},[15,929,930],{},"Memory:"," heap after GC, metaspace and native memory where you can measure it",[51,933,934,937],{},[15,935,936],{},"Threads:"," thread counts and blocked threads",[51,939,940,943],{},[15,941,942],{},"Warm-up:"," time to reach steady-state latency after start",[51,945,946,949],{},[15,947,948],{},"TLS:"," handshake failures to downstream systems, which point to protocol or cipher changes",[51,951,952,955],{},[15,953,954],{},"Agent health:"," whether APM and security agents attached and are reporting",[11,957,958,959,962],{},"Example gates might look like this. The thresholds are ",[15,960,961],{},"illustrative only"," and should be tuned to each application's normal variance:",[500,964,965,978],{},[503,966,967],{},[506,968,969,972,975],{},[509,970,971],{},"Signal",[509,973,974],{},"Compared against",[509,976,977],{},"Example gate",[516,979,980,991,1001,1011,1021,1032],{},[506,981,982,985,988],{},[521,983,984],{},"Error rate",[521,986,987],{},"Unpatched baseline",[521,989,990],{},"Fail if more than 1.5× baseline over 10 minutes",[506,992,993,996,998],{},[521,994,995],{},"p99 latency",[521,997,987],{},[521,999,1000],{},"Fail if more than 20% higher over 15 minutes",[506,1002,1003,1006,1008],{},[521,1004,1005],{},"GC pause time (p99)",[521,1007,987],{},[521,1009,1010],{},"Fail if more than 50% higher",[506,1012,1013,1016,1018],{},[521,1014,1015],{},"Heap after GC",[521,1017,987],{},[521,1019,1020],{},"Flag a steady upward trend across the hold period",[506,1022,1023,1026,1029],{},[521,1024,1025],{},"TLS handshake failures",[521,1027,1028],{},"Absolute",[521,1030,1031],{},"Fail on any sustained increase",[506,1033,1034,1037,1039],{},[521,1035,1036],{},"APM agent reporting",[521,1038,1028],{},[521,1040,1041],{},"Fail if the agent stops reporting",[11,1043,1044],{},"Comparing against a live unpatched baseline, rather than fixed numbers, removes most false alarms caused by normal traffic swings.",[36,1046,1048],{"id":1047},"smoke-tests-and-synthetic-transactions","Smoke Tests and Synthetic Transactions",[11,1050,1051],{},"Replace the full regression suite with a small set of checks that exercise what matters:",[48,1053,1054,1060,1066],{},[51,1055,1056,1059],{},[15,1057,1058],{},"Smoke tests"," run right after each instance starts: does the app start, connect to its database and queue, and serve its health endpoint?",[51,1061,1062,1065],{},[15,1063,1064],{},"Synthetic transactions"," run continuously: scripted logins, searches, report generations, or whatever the app's two or three core paths are",[51,1067,1068,1071],{},[15,1069,1070],{},"Integration probes"," hit each external dependency, which is especially useful for catching TLS problems",[11,1073,1074],{},"These run in minutes, can be kept current easily, and exercise the code paths a JVM change is most likely to disturb.",[36,1076,1078],{"id":1077},"making-rollback-fast","Making Rollback Fast",[11,1080,1081],{},"Fast rollback is often the actual gap. In many enterprise estates, particularly outside containers, reverting a JVM means a manual change, a ticket and a wait. Fix that first. Without it, none of the above is safe.",[603,1083,1085],{"id":1084},"in-containerized-environments","In Containerized Environments",[48,1087,1088,1091,1094],{},[51,1089,1090],{},"Treat images as immutable and version them. Rolling back means redeploying the previous image tag",[51,1092,1093],{},"Keep the previous image available and tested until the soak period ends",[51,1095,1096],{},"Have the deployment tooling perform the rollback automatically when a gate fails",[603,1098,1100],{"id":1099},"on-vms-and-bare-metal","On VMs and Bare Metal",[48,1102,1103,1109,1115,1121],{},[51,1104,1105,1108],{},[15,1106,1107],{},"Install side by side."," Put the new JDK in its own versioned directory and switch the application to it using a symlink, environment variable or service configuration. Don't overwrite the old one",[51,1110,1111,1114],{},[15,1112,1113],{},"Don't uninstall the previous runtime"," until the soak period has passed",[51,1116,1117,1120],{},[15,1118,1119],{},"Script the switch"," in both directions, and make sure the application restarts cleanly with either runtime",[51,1122,1123,1126],{},[15,1124,1125],{},"Rehearse it."," A rollback nobody has run is a hypothesis, not a procedure",[384,1128,1130],{"className":386,"code":1129,"language":388,"meta":265,"style":265},"# Illustrative side-by-side layout on a Linux host\n\u002Fopt\u002Fjava\u002Fjdk-17.0.15\u002F\n\u002Fopt\u002Fjava\u002Fjdk-17.0.16\u002F\n\u002Fopt\u002Fjava\u002Fcurrent -> \u002Fopt\u002Fjava\u002Fjdk-17.0.16   # rollback = repoint and restart\n",[41,1131,1132,1137,1142,1147],{"__ignoreMap":265},[392,1133,1134],{"class":394,"line":395},[392,1135,1136],{"class":682},"# Illustrative side-by-side layout on a Linux host\n",[392,1138,1139],{"class":394,"line":266},[392,1140,1141],{"class":398},"\u002Fopt\u002Fjava\u002Fjdk-17.0.15\u002F\n",[392,1143,1144],{"class":394,"line":267},[392,1145,1146],{"class":398},"\u002Fopt\u002Fjava\u002Fjdk-17.0.16\u002F\n",[392,1148,1150,1153,1156,1158,1161],{"class":394,"line":1149},4,[392,1151,1152],{"class":398},"\u002Fopt\u002Fjava\u002Fcurrent",[392,1154,1155],{"class":659}," -",[392,1157,663],{"class":420},[392,1159,1160],{"class":410}," \u002Fopt\u002Fjava\u002Fjdk-17.0.16",[392,1162,1163],{"class":682},"   # rollback = repoint and restart\n",[334,1165,1166],{},[11,1167,1168],{},"If rolling back a JVM on a given application takes hours, that application isn't ready for reduced pre-deployment testing yet, whatever its criticality score. Make rollback fast first.",[36,1170,1172],{"id":1171},"where-this-doesnt-apply","Where This Doesn't Apply",[48,1174,1175,1184,1190],{},[51,1176,1177,1180,1181],{},[15,1178,1179],{},"Business-critical applications:"," keep rigorous testing and make it faster with risk-based test selection and shadow traffic. See ",[23,1182,1183],{"href":168},"how jradar handles critical apps",[51,1185,1186,1189],{},[15,1187,1188],{},"Major version upgrades:"," removed APIs and changed defaults need targeted assessment before any rollout",[51,1191,1192,1195],{},[15,1193,1194],{},"Apps without observability:"," if you can't see errors and latency, you can't gate on them",[36,1197,1199],{"id":1198},"getting-it-approved","Getting It Approved",[11,1201,1202,1203,1207],{},"The technical case is only half the work. A Change Advisory Board also has to accept the process. Our guide to ",[23,1204,1206],{"href":1205},"\u002Farticles\u002Fcab-approval-for-faster-jvm-patching","getting faster JVM patching past the CAB"," covers classification, the standard change model and the evidence to keep.",[36,1209,255],{"id":254},[11,1211,1212,1214,1215,1218],{},[23,1213,33],{"href":168}," is built on this model, with rollback ready for every deployment. ",[23,1216,1217],{"href":93},"Our approach"," explains how we combine it with patching on any TCK-tested OpenJDK build.",[790,1220,1221],{},"html pre.shiki code .sutJx, html code.shiki .sutJx{--shiki-light:#90A4AE;--shiki-light-font-style:italic;--shiki-default:#6A737D;--shiki-default-font-style:inherit;--shiki-dark:#6A737D;--shiki-dark-font-style:inherit}html pre.shiki code .sbgvK, html code.shiki .sbgvK{--shiki-light:#E2931D;--shiki-default:#6F42C1;--shiki-dark:#B392F0}html pre.shiki code .su5hD, html code.shiki .su5hD{--shiki-light:#90A4AE;--shiki-default:#24292E;--shiki-dark:#E1E4E8}html pre.shiki code .smGrS, html code.shiki .smGrS{--shiki-light:#39ADB5;--shiki-default:#D73A49;--shiki-dark:#F97583}html pre.shiki code .s_sjI, html code.shiki .s_sjI{--shiki-light:#91B859;--shiki-default:#032F62;--shiki-dark:#9ECBFF}html .light .shiki span {color: var(--shiki-light);background: var(--shiki-light-bg);font-style: var(--shiki-light-font-style);font-weight: var(--shiki-light-font-weight);text-decoration: var(--shiki-light-text-decoration);}html.light .shiki span {color: var(--shiki-light);background: var(--shiki-light-bg);font-style: var(--shiki-light-font-style);font-weight: var(--shiki-light-font-weight);text-decoration: var(--shiki-light-text-decoration);}html .default .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}html.dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}",{"title":265,"searchDepth":266,"depth":267,"links":1223},[1224,1225,1226,1227,1228,1232,1233,1234],{"id":831,"depth":266,"text":832},{"id":867,"depth":266,"text":868},{"id":901,"depth":266,"text":902},{"id":1047,"depth":266,"text":1048},{"id":1077,"depth":266,"text":1078,"children":1229},[1230,1231],{"id":1084,"depth":267,"text":1085},{"id":1099,"depth":267,"text":1100},{"id":1171,"depth":266,"text":1172},{"id":1198,"depth":266,"text":1199},{"id":254,"depth":266,"text":255},"2026-08-18","For low-criticality apps, quick detection and cheap rollback cut JVM patch risk more than a full regression run. Here's how to build that safety net.",{},{"title":820,"description":1236},"articles\u002Ffast-detection-and-rollback-instead-of-regression-testing",[867,1241,1242,1243,1244],"rollback","observability","canary","patch-cadence","JceJN7DvXIYB3sF3klXu4SDLWM8nqvaZEO_hf3Pr0fA",{"id":1247,"title":1248,"author":6,"body":1249,"category":277,"date":1663,"description":1664,"draft":280,"extension":281,"featured":280,"image":282,"meta":1665,"navigation":284,"path":863,"readingTime":1666,"seo":1667,"stem":1669,"tags":1670,"updated":282,"__hash__":1677},"articles\u002Farticles\u002Fjvm-patch-failure-modes.md","Six Ways JVM Changes Break Production, and How to See Them Coming",{"type":8,"value":1250,"toc":1652},[1251,1254,1257,1261,1352,1360,1364,1371,1377,1382,1396,1402,1406,1409,1414,1418,1429,1437,1441,1444,1449,1454,1459,1463,1466,1471,1475,1486,1491,1495,1498,1528,1544,1561,1570,1574,1577,1582,1587,1599,1603,1606,1631,1642,1644],[11,1252,1253],{},"When a JVM change breaks something in production, it rarely fails in a new way. Most incidents fall into a short list of patterns that repeat across organizations and releases. If you know the list, you can check for each item before rollout instead of discovering it afterwards.",[11,1255,1256],{},"First, though, it matters what kind of change you're making.",[36,1258,1260],{"id":1259},"not-every-jvm-patch-carries-the-same-risk","Not Every \"JVM Patch\" Carries the Same Risk",[500,1262,1263,1279],{},[503,1264,1265],{},[506,1266,1267,1270,1273,1276],{},[509,1268,1269],{},"Failure mode",[509,1271,1272],{},"Same-major security update (e.g. 17.0.x → 17.0.y)",[509,1274,1275],{},"Major version upgrade (e.g. 11 → 17 → 21)",[509,1277,1278],{},"Vendor swap, same version (e.g. Oracle JDK → Temurin)",[516,1280,1281,1294,1306,1317,1328,1340],{},[506,1282,1283,1286,1289,1292],{},[521,1284,1285],{},"APM and instrumentation agents",[521,1287,1288],{},"Occasionally",[521,1290,1291],{},"Frequently",[521,1293,1288],{},[506,1295,1296,1299,1301,1303],{},[521,1297,1298],{},"TLS and cipher defaults",[521,1300,1288],{},[521,1302,1291],{},[521,1304,1305],{},"Rarely",[506,1307,1308,1311,1313,1315],{},[521,1309,1310],{},"JIT and warm-up behavior",[521,1312,1305],{},[521,1314,1288],{},[521,1316,1305],{},[506,1318,1319,1322,1324,1326],{},[521,1320,1321],{},"GC defaults and flags",[521,1323,1305],{},[521,1325,1291],{},[521,1327,1305],{},[506,1329,1330,1333,1336,1338],{},[521,1331,1332],{},"Removed APIs and encapsulation",[521,1334,1335],{},"No",[521,1337,1291],{},[521,1339,1335],{},[506,1341,1342,1345,1348,1350],{},[521,1343,1344],{},"Container awareness",[521,1346,1347],{},"Only on very old builds",[521,1349,1288],{},[521,1351,1347],{},[11,1353,1354,1355,1359],{},"The frequencies are our qualitative judgment, not measured rates. The pattern is what matters: same-major security updates are low-risk, and most serious breakage comes with major upgrades. That's why they should be planned and governed differently (see ",[23,1356,1358],{"href":1357},"\u002Fapproach#boundaries","where we draw the line",").",[36,1361,1363],{"id":1362},"_1-apm-and-instrumentation-agents","1. APM and Instrumentation Agents",[11,1365,1366,1367,1370],{},"APM, security and profiling tools usually attach to the JVM as Java agents (",[41,1368,1369],{},"-javaagent",") and rewrite bytecode as classes load. To do that they have to understand the class file format and, often, parts of the JDK's internals.",[11,1372,1373,1376],{},[15,1374,1375],{},"Symptom:"," The application fails to start, logs errors from the agent, or runs normally while the agent silently stops reporting. On major upgrades, an older agent may simply not support the newer class file version.",[11,1378,1379],{},[15,1380,1381],{},"Detect before rollout:",[48,1383,1384,1390,1393],{},[51,1385,1386,1387],{},"Inventory which agents, and which versions, are attached to each JVM. Check the startup command line and environment variables such as ",[41,1388,1389],{},"JAVA_TOOL_OPTIONS",[51,1391,1392],{},"Check each vendor's supported-JDK matrix for the target version",[51,1394,1395],{},"In the canary stage, gate on \"the agent is reporting,\" not just \"the app is up\"",[11,1397,1398,1401],{},[15,1399,1400],{},"Mitigate:"," Upgrade the agent before, or together with, the JVM. For major upgrades, test the agent on the target JDK first.",[36,1403,1405],{"id":1404},"_2-tls-and-cipher-suite-defaults","2. TLS and Cipher Suite Defaults",[11,1407,1408],{},"JDK updates regularly tighten security defaults: disabling old protocol versions, removing weak cipher suites, and distrusting certain root certificates. A notable example: TLS 1.0 and 1.1 were disabled by default across supported Java releases in the April 2021 updates.",[11,1410,1411,1413],{},[15,1412,1375],{}," Handshake failures when connecting to older partners, appliances, databases, mainframe gateways or internal services still using old protocols or ciphers. These often appear only in specific integrations, which is why they slip through generic testing.",[11,1415,1416],{},[15,1417,1381],{},[48,1419,1420,1423,1426],{},[51,1421,1422],{},"Read the release notes for security-default changes. They're usually listed explicitly",[51,1424,1425],{},"Inventory the outbound TLS endpoints each application talks to, and test handshakes against them from a patched JVM",[51,1427,1428],{},"Watch handshake failure rates during the canary stage",[11,1430,1431,1433,1434,1436],{},[15,1432,1400],{}," Fix the far end where you can. Re-enabling a disabled protocol in ",[41,1435,124],{}," is sometimes necessary as a stopgap. Make it a documented, time-limited exception, not a silent config change.",[36,1438,1440],{"id":1439},"_3-jit-compilation-and-warm-up","3. JIT Compilation and Warm-Up",[11,1442,1443],{},"The JIT compiler improves between releases, but \"different\" isn't always \"better\" for every workload. Changes in inlining, compilation thresholds or tiered compilation can shift how quickly an application reaches steady-state performance.",[11,1445,1446,1448],{},[15,1447,1375],{}," Higher latency for the first minutes after startup, or a changed p99 on latency-sensitive services. Startup-time SLOs and autoscaling behavior are affected first.",[11,1450,1451,1453],{},[15,1452,1381],{}," Measure time-to-steady-state and tail latency on a canary under real traffic, not only in a quiet test environment.",[11,1455,1456,1458],{},[15,1457,1400],{}," Usually no action is needed for same-major updates. For latency-critical services on major upgrades, plan a performance check and consider warm-up traffic before instances join the load balancer.",[36,1460,1462],{"id":1461},"_4-gc-defaults-and-tuning-flags","4. GC Defaults and Tuning Flags",[11,1464,1465],{},"Garbage collector defaults and options change across major versions. G1 has been the default collector since JDK 9. The CMS collector was deprecated in JDK 9 and removed in JDK 14. Many tuning flags accumulated over years of Java 8 operations are deprecated, ignored or rejected on newer releases.",[11,1467,1468,1470],{},[15,1469,1375],{}," The JVM refuses to start because of an unrecognized option, or it starts and ignores a flag, changing memory and pause behavior. Pause times, heap usage or throughput shift after the upgrade.",[11,1472,1473],{},[15,1474,1381],{},[48,1476,1477,1480,1483],{},[51,1478,1479],{},"Collect the actual JVM flags from every instance during discovery, not just from documentation",[51,1481,1482],{},"Validate flags against the target version before rollout",[51,1484,1485],{},"Compare GC pause time and frequency between canary and baseline",[11,1487,1488,1490],{},[15,1489,1400],{}," Clean up flags as part of the upgrade. For most applications on modern JDKs, fewer hand-tuned GC flags is better than carrying old ones forward.",[36,1492,1494],{"id":1493},"_5-removed-apis-and-strong-encapsulation","5. Removed APIs and Strong Encapsulation",[11,1496,1497],{},"This is the main source of breakage on major upgrades. Examples:",[48,1499,1500,1510,1516,1522],{},[51,1501,1502,1505,1506,1509],{},[15,1503,1504],{},"Strong encapsulation of JDK internals:"," JDK 16 (JEP 396) enabled strong encapsulation by default, and JDK 17 (JEP 403) removed the command-line option that relaxed it globally. Libraries that reached into ",[41,1507,1508],{},"sun.*"," and other internal packages via reflection can fail",[51,1511,1512,1515],{},[15,1513,1514],{},"The Security Manager:"," deprecated for removal in JDK 17 (JEP 411) and permanently disabled in JDK 24 (JEP 486). Applications and frameworks that rely on it need a different approach",[51,1517,1518,1521],{},[15,1519,1520],{},"The Nashorn JavaScript engine:"," removed in JDK 15. Applications that evaluated JavaScript through the scripting API need a replacement",[51,1523,1524,1527],{},[15,1525,1526],{},"Java EE modules"," such as JAXB and JAX-WS were removed from the JDK in JDK 11 and must now be added as explicit dependencies",[11,1529,1530,1532,1533,488,1536,1539,1540,1543],{},[15,1531,1375],{}," ",[41,1534,1535],{},"InaccessibleObjectException",[41,1537,1538],{},"ClassNotFoundException"," or ",[41,1541,1542],{},"NoSuchMethodError"," at startup or, worse, only on a rarely used code path.",[11,1545,1546,1548,1549,1552,1553,1556,1557,1560],{},[15,1547,1381],{}," Static analysis finds most of this before anyone patches anything. The JDK's own ",[41,1550,1551],{},"jdeps"," tool (including ",[41,1554,1555],{},"jdeps --jdk-internals",") reports use of internal APIs, and ",[41,1558,1559],{},"jdeprscan"," reports use of deprecated APIs. Check library versions against their documented JDK support.",[11,1562,1563,1565,1566,1569],{},[15,1564,1400],{}," Upgrade the offending libraries. Use targeted ",[41,1567,1568],{},"--add-opens"," flags only as a documented, temporary exception.",[36,1571,1573],{"id":1572},"_6-container-awareness","6. Container Awareness",[11,1575,1576],{},"Early Java 8 builds sized the heap and thread pools from the host's resources, not the container's CPU and memory limits. Proper container support arrived in JDK 10 and was backported to Java 8 in update 191 (8u191).",[11,1578,1579,1581],{},[15,1580,1375],{}," Containers killed for exceeding memory limits, or JVMs using far more GC and compiler threads than the container has CPUs.",[11,1583,1584,1586],{},[15,1585,1381],{}," Discovery should flag any Java 8 runtime older than 8u191 running in a container. These are also, almost by definition, badly out of date on security patches.",[11,1588,1589,1591,1592,1595,1596,263],{},[15,1590,1400],{}," Update the runtime. Then review any hard-coded ",[41,1593,1594],{},"-Xmx"," values set as a workaround, and prefer percentage-based sizing such as ",[41,1597,1598],{},"-XX:MaxRAMPercentage",[36,1600,1602],{"id":1601},"turning-the-list-into-a-checklist","Turning the List Into a Checklist",[11,1604,1605],{},"For each application, before a JVM change:",[873,1607,1608,1611,1614,1617,1620,1628],{},[51,1609,1610],{},"Which agents are attached, and do they support the target version?",[51,1612,1613],{},"What outbound TLS endpoints does it use, and do they work against the new defaults?",[51,1615,1616],{},"Is it latency-sensitive enough to need a warm-up check?",[51,1618,1619],{},"Which JVM flags are set, and are they all valid on the target?",[51,1621,1622,1623,142,1625,1627],{},"For major upgrades: what do ",[41,1624,1551],{},[41,1626,1559],{}," report?",[51,1629,1630],{},"If containerized: is the runtime container-aware?",[11,1632,1633,1634,1638,1639,263],{},"Most of these questions are answered by a good inventory. See ",[23,1635,1637],{"href":1636},"\u002Farticles\u002Ffinding-every-jvm-in-your-estate","finding every JVM in your estate",". The rest are covered by canary gates, described in ",[23,1640,1641],{"href":193},"fast detection and rollback",[36,1643,255],{"id":254},[11,1645,1646,1648,1649,263],{},[23,1647,33],{"href":168}," builds these checks into every rollout. For business-critical systems and major upgrades, it runs this analysis as a readiness assessment before any patch is attempted. If you're also changing vendors, see the ",[23,1650,1651],{"href":703},"Oracle JDK to OpenJDK migration checklist",{"title":265,"searchDepth":266,"depth":267,"links":1653},[1654,1655,1656,1657,1658,1659,1660,1661,1662],{"id":1259,"depth":266,"text":1260},{"id":1362,"depth":266,"text":1363},{"id":1404,"depth":266,"text":1405},{"id":1439,"depth":266,"text":1440},{"id":1461,"depth":266,"text":1462},{"id":1493,"depth":266,"text":1494},{"id":1572,"depth":266,"text":1573},{"id":1601,"depth":266,"text":1602},{"id":254,"depth":266,"text":255},"2026-08-11","APM agents, TLS defaults, JIT warm-up, GC changes, removed APIs and container awareness: how each JVM failure mode shows up, and how to catch it before rollout.",{},6,{"description":1668,"title":1248},"APM agents, TLS defaults, JIT warm-up, GC, removed APIs and containers: how each JVM failure mode shows up, and how to catch it before rollout.","articles\u002Fjvm-patch-failure-modes",[1671,1672,1673,1674,1675,1676],"jvm-upgrade","failure-modes","tls","garbage-collection","java-agents","testing","D-FRzCORB1CbLj9IA7Ktd8R-KrfuLVMrGUNl50xAx_o",[1679,1680],{"title":316,"path":25,"stem":812,"description":808,"children":-1},{"title":1681,"path":1682,"stem":1683,"description":1684,"children":-1},"Oracle JDK 21's Free Update Window Has Closed. Here's What That Means.","\u002Farticles\u002Fjava-21-nftc-free-period-ended","articles\u002Fjava-21-nftc-free-period-ended","Oracle JDK 21 updates released after September 2026 are no longer free for production use. Your options: pay, stop patching, or migrate to OpenJDK.",1796135573070]