Amazon recently released Corretto, a Java 8 runtime that is fully-compatible and license-compliant. Both Contrast Assess and Protect are fully compatible with Corretto – no changes are required to code or anything else for users of Amazon’s Java implementation.
How is Contrast compatible without requiring any changes?
Contrast Assess and Protect apply security controls within applications using a feature that was introduced back in Java 5 (Sept 2004). To quote the official JavaDoc on instrumentation, this feature specifically enables programs like Contrast to monitor program execution by “modification of the byte-codes of methods.”
This feature, in every Java Runtime Environment, means that Contrast will work with all Java implementations above Java 5, 6, 7, 8, 9, and so on.
Similar capabilities are used for other Contrast agents to instrument Ruby, Node, Python, etc.
What is the security impact of Amazon Corretto?
Amazon Corretto is simply a build of the OpenJDK project: it neither introduces nor remediates any security risk. There are, however, two benefits to Amazon Corretto:
- Amazon has licensed the official Test Compatibility Kit, a suite of tests to verify compatibility beyond simply compiling OpenJDK. This ensures that everything works as expected, beyond the build tests.
- Amazon has committed to post quarterly updates until at least June 2023, which means approximately four years of security updates beyond Oracle’s end of Java 8 public updates in April 2019.
The benefit of Contrast with Amazon Corretto is that it provides the same security visibility, detection, and protection capabilities as it does in any other JRE.
Should Contrast users switch to Amazon Corretto?
All users should make their own decisions, however Contrast is able to support any decision without requiring changes.
The following information may be helpful, but is not intended to make or imply any recommendations:
- Amazon Corretto, a TCK-compatible Java 8 build
- AdoptOpenJDK, a community-driven build of OpenJDK’s Java 8
- Azul Zulu, a freely available OpenJDK build
Neither Java 9 or Java 10 were Long-Term Support builds. Premier support has already ended for both.
The Oracle license for Java 11 has changed significantly, with Oracle’s build being commercial-only.
Contrast will fully support all of these without changes, as it works entirely within the Java specification.