Oracle heeft update 40 voor versie 7.0 van zowel de developmentkit als de runtime-environment van Java Standard Edition uitgebracht. Het gaat om een reguliere en geplande update, die ruim zeshonderd problemen moet verhelpen. Daarnaast zijn er ook enkele nieuwe features, zoals ondersteuning voor Retina-schermen op OS X en zijn er extra waarschuwingen aangebracht, bijvoorbeeld wanneer de geïnstalleerde Java-versie te oud is of wanneer er ongesigneerde Java-applets worden gestart.
New Features and Changes
- Retina Display support on Mac OS X
Retina screens will now display content correctly. Previously rendering had been blurry. See 8000629.
- Deployment Rule Set
Deployment rule set allows a desktop administrator to control the level of Java client compatibility and default prompts across an organization.
For a summary of this feature, see Deployment Rule Set documentation.
- Option to disable the "JRE out of date" warning
Starting from 7u40, a new deployment property
deployment.expiration.check.enabledis available. This property can be used to disable the "JRE out of date" warning.
When the installed JRE (7u10 or later), falls below the security baseline or passes it's built-in expiration date, an additional warning is shown to users to update their installed JRE to the latest version. For businesses that manage the update process centrally, users attempting to update their JRE individually, may cause problems.
To suppress this specific warning message, add the following entry in the deployment properties file:
For more information, see Deployment Configuration File and Properties.
- New Security Warnings for Unsigned and Self-Signed Applications
New warnings are added in the dialogs for Unsigned and Self-Signed applications.
From the dialogs for Unsigned and Self-Signed applets, "Remember this decision" option has been removed. In addition, the previously remembered decisions for self-signed and unsigned applets will be ignored.
For more information, see Security Dialogs.
- Local Applets return NULL for DocumentBase
Beginning with JDK 7u40, an applet's
getDocumentBase()method will return NULL when the applet is running from the local file system.
If applet needs to load resource, here are the options:
- If the resource is in the applet's JAR(s), the user should be able to load it with class
ClassLoader getResoruceAsStreamdirectly, without needing the codebase information.
- If the resource is in an arbitrary location, which is not inside the applet's JAR(s), the user must have other ways to get to that location, since it is not part of the applet resource. For example, the
user.homejava system property, provided their applet has
- JAXP Security Improvements
JDK 7u40 release contains Java API for XML Processing (JAXP) 1.5, which adds the ability to restrict the set of network protocols that may be used to fetch external resources. For more information, see JEP 185: JAXP 1.5: Restrict Fetching of External Resources.
- Default x.509 Certificates Have Longer Key Length
Starting from 7u40, the use of x.509 certificates with RSA keys less than 1024 bits in length is restricted. This restriction is applied via the Java Security property,
jdk.certpath.disabledAlgorithms. The default value of
jdk.certpath.disabledAlgorithmsis now as follows:
jdk.certpath.disabledAlgorithms=MD2, RSA keySize < 1024
In order to avoid the compatibility issue, users who use X.509 certificates with RSA keys less than 1024 bits, are recommended to update their certificates with stronger keys. As a workaround, at their own risk, users can adjust the key size to permit smaller key sizes through the security property
For more information, see Java PKI Programmer's Guide or JSSE Reference Guide.
- Bug Fixes
For a list of bug fixes included in this release, see JDK 7u40 Bug Fixes page.