<div dir="ltr">Hi Remi,<br><br>This is really great!<br><br>I was wondering about a tool like this since your email "Civilizer - let's civilize those primitive types !" [1]<br><br>I believe that most libraries will not be able to release versions that can use directly value types. So this tool will help a lot.<br><br>Best regards,<br>Anderson.<br><div><br></div><div>[1] - <a href="https://mail.openjdk.org/pipermail/valhalla-dev/2023-January/010803.html">https://mail.openjdk.org/pipermail/valhalla-dev/2023-January/010803.html</a><br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Tue, Apr 9, 2024 at 5:51 PM Remi Forax <<a href="mailto:forax@univ-mlv.fr">forax@univ-mlv.fr</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Hello,<br>
i've written a small tool that let you annotate your Java 8+ code with an annotation (@ValueType by default), verifies that the annotated classes can be transformed to a value classes in the future and even enhance a jar to forward port the annotated classes to be value types when used with a the Valhalla VM.<br>
<br>
<a href="https://github.com/forax/einherjar" rel="noreferrer" target="_blank">https://github.com/forax/einherjar</a><br>
<br>
@Kevin, I think this is close top what you describe on the spec-expert mailing list.<br>
<br>
regards,<br>
Rémi<br>
<br>
PS: this is a raw first version, when the first preview of Valhalla will be released, i will be able to do more tests.<br>
</blockquote></div>