GraalVM 0.20 Release

Thomas Wuerthinger thomas.wuerthinger at oracle.com
Thu Feb 9 13:49:26 UTC 2017


Michel,

Currently we only support the following zip related classes
java.util.zip.Adler32;
java.util.zip.CRC32;
java.util.zip.Checksum;
java.util.zip.DataFormatException;
java.util.zip.Deflater;
java.util.zip.GZIPInputStream;
java.util.zip.GZIPOutputStream;
java.util.zip.Inflater;
but not java.util.zip.ZipFile or java.util.jar.JarFile in AOT images.

We might be able to add support for java.util.jar.JarFile in a future release. Is this the only class blocking you or are you running into additional issues?

Thanks, thomas


> On 09 Feb 2017, at 02:28, Michel Trudeau <michel.trudeau at oracle.com> wrote:
> 
> I've been trying to create an aot-image for my application, it is using JarFile class, and I end up with the following error.   Any workaround ?   I tried replacing the JarFile class in the rt.jar from the downloaded graal distribution with one that doesn't contain a reference to JarVerifier, but that didn't work.
> 
>    java.util.jar.JarFile.getManifestFromReference(): Type is marked as deleted: HotSpotType<Ljava/util/jar/JarVerifier;, resolved>
>        at java.util.jar.JarFile.getManifestFromReference(JarFile.java:184)
>        at java.util.jar.JarFile.getManifest(JarFile.java:180)
> 
> Thanks,
> -- 
> Michel
> 
> 
>> Christian Humer <mailto:christian.humer at gmail.com>
>> February 8, 2017 at 8:13 AM
>> Hi guys,
>> 
>> GraalVM 0.20 with the latest bits of Graal, Truffle, Graal.JS, TruffleRuby, FastR and SVM just landed on OTN.
>> 
>> The bits are from early February and based on Truffle 0.23 and LabsJDK 8 with JVMCI 0.23.
>> 
>> New and Noteworthy:
>> * This release now includes the Substrate VM image builder (bin/aot-image). It is possible to create SVM executable images of Graal.JS using "bin/aot-image --js" and TruffleRuby using "bin/aot-image --ruby".
>> * Instead of a Development Kit and Runtime distribution we now distinguish between GraalVM with JDK and GraalVM without. The version without JDK requires a JVMCI enabled JDK 8 to be specified using the JAVA_HOME environment variable. Please note that this version of GraalVM is not yet compatible with early access builds of JDK9.
>> 
>> Get it here:
>> http://www.oracle.com/technetwork/oracle-labs/program-languages/downloads/index.html 
>> 
>> Next release should arrive mid March.
>> 
>> Cheers,
>> Christian Humer
>> 
> 



More information about the graal-dev mailing list