On 11/16/2016 07:06 PM, philip chimento gmail com wrote:
> Yes, that worked, thanks for the great suggestion! There is no ordering
> problem (unless someone felt the need to create a GjsContext in a
> different static constructor...)
It is not safe to create things like that from a static constructor.
There is no guaranteed ordering in static constructors.
Yes, it would be a bad idea and I don't think it should be supported. Initializing SpiderMonkey from a static constructor should be fine, though.
Philip