Every feature Java 15 came with

Every feature Java 15 came with

In this blog, we will go through a little bit about what these new features are, how they can be used using a few code snippets.


Java 15 which came into General availability brought a very good set of 14 features. Out of those 14 features, few are additions and few are removed/disabled from current java eco-system. Here is the list of features added

  • Edwards-Curve Digital Signature Algorithm (EdDSA)
  • Sealed Classes (Preview)
  • Hidden Classes
  • Remove the Nashorn JavaScript Engine
  • Reimplement the Legacy DatagramSocket API
  • Disable and Deprecate Biased Locking
  • Pattern Matching for instanceof (Second Preview)
  • ZGC: A Scalable Low-Latency Garbage Collector
  • Text Blocks
  • Shenandoah: A Low-Pause-Time Garbage Collector
  • Remove the Solaris and SPARC Ports
  • Foreign-Memory Access API (Second Incubator)
  • Records (Second Preview)
  • Deprecate RMI Activation for Removal

In this blog, we will go through a little bit about what these new features are, how they can be used using a few code snippets.

Edwards-Curve Digital Signature Algorithm (EdDSA)

Image for post

Photo by Markus Spiske on Unsplash

One of the reasons for including this feature in Java 15 is

  • It is a popular signature algorithm due to its security and performance compared to similar signatures ECDSA
  • caching up with popular crypto libraries such as OpenSSL and BoringSSL which already supports EdDSA.
  • Its only signature at the moment that is allowed in TLS 1.3

Code snippet To generate a key pair and sign the same

Code snippet Snippet to construct the public key

More reading material: https://openjdk.java.net/jeps/339

learning software-development java programming

Bootstrap 5 Complete Course with Examples

Bootstrap 5 Tutorial - Bootstrap 5 Crash Course for Beginners

Nest.JS Tutorial for Beginners

Hello Vue 3: A First Look at Vue 3 and the Composition API

Building a simple Applications with Vue 3

Deno Crash Course: Explore Deno and Create a full REST API with Deno

How to Build a Real-time Chat App with Deno and WebSockets

Convert HTML to Markdown Online

HTML entity encoder decoder Online

Offshore Software Development - Best Practices

To make the most out of the benefits of offshore software development, you should understand the crucial factors that affect offshore development.

Learning by Doing: How to Learn Java Basics by Building Your Own Project

Check out some ideas for sample projects that can help you learn Java, and programming in general, in a fun and engaging way.

5 Core Criteria for Selecting Software Development Company - TopDevelopers.co

Check out these five criteria for the selection of your software vendor, and you will never regret having the wrong quality product made for you.

How to Install OpenJDK 11 on CentOS 8

What is OpenJDK? OpenJDk or Open Java Development Kit is a free, open-source framework of the Java Platform, Standard Edition (or Java SE).

Software Developer vs Software Engineer — Differences: Bogus or Real?

In this article, see if there are any differences between software developers and software engineers. What you’re about to read mostly revolves around my personal thoughts, deductions, and offbeat imagination. If you have different sentiments, add them in the comment section, and let’s dispute! So, today’s topic…