Incompatible API changes in Truffle Source-Code-Generation

Christian Humer christian.humer at gmail.com
Wed Mar 13 14:16:36 PDT 2013


Hi folks,

Please note that in my recent push to Truffle-Source-Code-Generation I have
introduced incompatible API changes. These changes will arrive in the next
few days in the openjdk repository. Three annotations
@SpecializationThrows, @SpecializationGuard and @GuardCheck were removed
from the API.

As replacement for @SpecializationThrows you can use
@Specialization(rewriteOn=Exception.class).
And for @SpecializationGuard  you can use
@Specialization(guards="guardMethodName") instead.
You should delete all occurences of @GuardCheck, they are not required
anymore.

- Christian Humer


More information about the graal-dev mailing list