This error occurs at runtime when calling <int-lt(|y)>x, where x and y are integers. This works in the C version, but throws the following exception in the java version:

Exception in thread "main" org.strategoxt.lang.StrategoException: Primitive not defined: SSL_lti
	at org.strategoxt.lang.Context.invokePrimitive(
	at org.strategoxt.stratego_lib.int_lt_0_1.invoke(

tested with:

STRC 1.8 (revision 24287)
STRJ 0.17.92pre0 based on STRC 1.8r24287

I am currently using <lt>(x,y) as a workaround.

Submitted by Christoffer Gersen on 15 February 2012 at 17:27

On 15 February 2012 at 17:40 Lennart Kats commented:

This seems to be a mistake or overoptimization in the library. It’s calling SSL_lti, but it should be reusing SSL_gti.

On 28 January 2013 at 14:54 Eelco Visser tagged 0.18

Log in to post comments