Code and data integrity and encryption support in Java would get boosts from two different proposals floating in the open source Java community. One proposal would tighten strong encapsulation of Java APIs, and the second would deliver an API for Key Encapsulation Mechanism, an encryption technique that promises to provide protection against quantum computers.
A draft Java Enhancement Proposal (JEP) for integrity and strong encapsulation, posted in openjdk.org, is intended to restrict APIs to prevent them from breaking strong encapsulation, while still accommodating use cases that need to operate beyond encapsulation boundaries. Strong encapsulation is one of the Java platform features that assures code and data integrity by default, the JEP notes. However, this can be circumvented by some APIs, causing headaches for maintenance and performance.
To read this article in full, please click here
InfoWorld