JDK 8u60 release

Java 8u60 update available

JAX Editorial Team

Update image via Shutterstock

A small but important update for Java 8 has shipped with a new version of the Advanced Management Console and changes in Deployment Rule Sets v1.2. There’s also some documentation updates thanks to Nashorn enhancements.

Oracle has released an update for Java 8. In addition to numerous bugfixes, release 1.8.0_60-b27 (8u60 for short) guest stars Nashorn and Deployment Rule Sets, with further functionality being added and improved upon.

Firstly for Nashorn, and if you need to expose your JavaScript objects so that arrays are exposed as lists and not maps, you can use the Java.asJSONCompatible(obj)function, where obj is the root of your JSON object tree. This addition comes in light of the undesirable behaviour that happens when the Java code expects JSON-parsed objects. “Java libraries that manipulate JSON-parsed objects usually expect arrays to expose the java.util.List interface instead”.

Furthermore, the conversion of internal JavaScript strings in Nashorn now appear as java.lang.String when exposed externally. This follows the caution mentioned at the end of Mapping Data Types section no longer being pertinent.

JDK 8u60 also features version 1.2 of the Deployment Rule Sets, which now allows users to add the "checksum" element as a sub element of "id", which can allow unsigned jars to be identified by the SHA-256 checksum of the uncompressed form of a jar:

  • The "checksum" element will match only unsigned jars, and the given hash will be compared only against the uncompressed form of the jar
  • The "checksum" element (similar to "certificate" element) has two arguments"hash" and "algorithm", however, unlike "certificate" element, the only supported value for "algorithm" is “SHA-256”. Any other value provided will be ignored

In parallel with the release of this update, a new version of the Advanced Management Console (AMC) has been released for Java. AMC offers usage tracking of various Java applications to be configured in Windows and other platforms.

With the Deployment Rule Sets, it’s possible to use different installed client versions of Java through Applet and Web Start applications. A video demo for getting started with AMC 2.0 has been made available here.

Leave a Reply

Be the First to Comment!

Notify of