- A Concurrent Affair - https://www.concurrentaffair.org -

New Mint Release: r15772

We have just made a new release of Mint [1] and DrJava with Mint [2]: September 16, 2010 (r15772). The latest release is, as always, available from the Mint implementation [3] page:

We have added the edu.rice.cs.mint.runtime.MintSerializer class to it that can write code object, including CSP data, to a jar file (or whatever stream you like), and then restore it again. Here is a very simple example:

1
2
3
4
5
6
Code<Integer> c = <|123|>;
File [7] f = new File [7](dir, "IntegerCode1.jar");
MintSerializer.save(c, "IntegerCode1", f);
       
Integer [8] s = MintSerializer.load(f);
System [9].out.println(s);

The version of DrJava with Mint is based on the current trunk (and not on updated stable release of DrJava that was made available this week).

(Re-posted from The Java Mint Blog [10].)

[11] [12]Share [13]