Enable assertions

Doug Simon doug.simon at oracle.com
Sun Mar 23 11:07:08 UTC 2014


You need to use -esa since Graal is on the boot class path.

Sent from my iPhone

> On Mar 23, 2014, at 12:03 PM, "D.Sturm" <D.Sturm42 at gmail.com> wrote:
> 
> Is there a way to enable assertions in Graal?
> 
> Running with
> ./mx.sh --vmbuild debug vm -ea -graal SomeFile
> will only enable assertions for the run files (i.e. SomeFile), but not for
> the Graal code itself.
> 
> --Daniel


More information about the graal-dev mailing list