<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Nashorn on Devops Monk</title><link>https://devops-monk.com/tags/nashorn/</link><description>Recent content in Nashorn on Devops Monk</description><generator>Hugo</generator><language>en-us</language><lastBuildDate>Mon, 04 May 2026 00:00:00 +0000</lastBuildDate><atom:link href="https://devops-monk.com/tags/nashorn/index.xml" rel="self" type="application/rss+xml"/><item><title>New APIs: Base64, StampedLock, Nashorn JavaScript Engine</title><link>https://devops-monk.com/tutorials/java8/new-apis/</link><pubDate>Mon, 04 May 2026 00:00:00 +0000</pubDate><guid>https://devops-monk.com/tutorials/java8/new-apis/</guid><description>Base64 Before Java 8, Base64 encoding required a third-party library (Apache Commons Codec, Guava) or the internal sun.misc.BASE64Encoder class. Java 8 added java.util.Base64 to the standard library.
Three Encoders // Standard Base64 (RFC 4648) Base64.Encoder encoder = Base64.getEncoder(); Base64.Decoder decoder = Base64.getDecoder(); // URL-safe Base64 (replaces + with -, / with _) — safe in URLs and filenames Base64.Encoder urlEncoder = Base64.getUrlEncoder(); Base64.Decoder urlDecoder = Base64.getUrlDecoder(); // MIME Base64 (line-wrapped at 76 chars with CRLF — for email) Base64.</description></item><item><title>Removed and Deprecated APIs: Java EE, JavaFX, Nashorn (JEP 320, 335, 336)</title><link>https://devops-monk.com/tutorials/java11/removed-deprecated-apis/</link><pubDate>Mon, 04 May 2026 00:00:00 +0000</pubDate><guid>https://devops-monk.com/tutorials/java11/removed-deprecated-apis/</guid><description>Removal Timeline API Deprecated In Removed In JEP Java EE modules (JAXB, JAX-WS, etc.) Java 9 Java 11 JEP 320 JavaFX Bundled with Java 9 Unbundled in Java 11 — Nashorn JavaScript Engine Java 11 Java 15 JEP 335 Pack200 tools and API Java 11 Java 14 JEP 336 javah tool Java 9 Java 10 JEP 313 sun.misc.BASE64Encoder/Decoder Java 8 Java 11 Encapsulation Thread.destroy(), Thread.stop(Throwable) Old Java 11 — Applet API Java 9 Java 17 JEP 289 Java EE Modules Removed (JEP 320) The six Java EE modules that shipped with Java SE 6–10 were removed from Java 11.</description></item></channel></rss>