WebDSL now generates extremely long identifier names, prefixed with all forms of names based on the scoping structure. Long names like that are also not allowed in combination with newname on Java right now, resulting in an exception at generation time. This results from a trade off in the Stratego/J runtime: putting only strings with <100 chars in the string pool saves some time calculating hashes and managing the hash map, and reduces memory consumption.

Note that these long names are also not very efficient for the generated Java source code (and classfiles when debugging information is included).

Submitted by Lennart Kats on 11 March 2010 at 17:08

On 15 March 2010 at 13:05 Nathan Bruning commented:

This is probably fixed as of revision 3678.
Previously, actions got renamed by prefixing the name with all surrounding definition names.
Now only the name of the top-level definition that surrounds the action is used.

Please re-open with an appropriate test-case if problems occur nonetheless.

Log in to post comments