DescriptionMake sure '_globalState' is set before calling `computeThisScript`.
As first line of running `_globalState = new _Manager()` we invoked `_nativeDetectEnvironment()`. However, that one could ending up calling the getter `IsolateNatives.thisScript` which, in turn could need `_globalState`. Since the state wasn't set yet, this yielded a NPE.
R=sigmund@google.com
Committed: https://github.com/dart-lang/sdk/commit/ffb72ee8170eed364b3ec500ac0a0097d359a143
Patch Set 1 #Patch Set 2 : Add comment. #Messages
Total messages: 5 (1 generated)
|