-
Notifications
You must be signed in to change notification settings - Fork 6k
Remove use of DART_CHECK_VALID. #8417
Conversation
chinmaygarde
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I am not sure about the error handling by propagation in case of isolate creation or library initialization. Is my understanding off about the error handling to be employed here?
| Dart_LookupLibrary(ToDart("dart:io")), dart::bin::LookupIONative, | ||
| dart::bin::LookupIONativeSymbol); | ||
| if (Dart_IsError(result)) { | ||
| Dart_PropagateError(result); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Isn't this called from the isolate create callback. The error handling contract there is to return nullptr from the callback as the isolate handle. In that case, I think this function should return a bool or something to indicate failure and have the create callback return null.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Right, this code is still incorrect, but it will unblock the next Dart roll.
chinmaygarde
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lgtm to unblock the roll. Feel free to assign a bug to me to track these down.
flutter/engine@309d078...ad9d241 git log 309d078..ad9d241 --no-merges --oneline ad9d241 Roll src/third_party/skia dde12a25bb5e..f346df396a23 (1 commits) (flutter/engine#8438) 0ed237c Roll src/third_party/skia b6d04556c34d..dde12a25bb5e (4 commits) (flutter/engine#8437) 445ab42 Roll src/third_party/dart 11a3dd7332..600b2831ef (9 commits) 49d0dc6 Roll src/third_party/skia 5c5de2146309..b6d04556c34d (1 commits) (flutter/engine#8434) 4ff18fb Roll src/third_party/dart f6768b6fb3..11a3dd7332 (56 commits) 7b83198 Roll src/third_party/skia 2273c900ea28..5c5de2146309 (5 commits) (flutter/engine#8432) 800ea0a Revert "Enable shutting down all root isolates in a VM. (#8402)" (flutter/engine#8431) b59c443 Enable shutting down all root isolates in a VM. (flutter/engine#8402) 9acdf18 Make AccessibilityViewEmbedder final (flutter/engine#8429) 804d54d Eliminate unused displayBounds parameter (flutter/engine#8427) d4c815f Roll buildroot (flutter/engine#8425) 20190d7 Roll src/third_party/skia fbe240669394..2273c900ea28 (13 commits) (flutter/engine#8428) 7e38b0a Revert "Revert "Separate the data required to bootstrap the VM into its own class. (#8397)" (#8406)" (flutter/engine#8414) d8bb9d7 Roll src/third_party/skia 176da0bb8a10..fbe240669394 (9 commits) (flutter/engine#8424) 64fc583 Remove use of DART_CHECK_VALID. (flutter/engine#8417) The AutoRoll server is located here: https://autoroll.skia.org/r/flutter-engine-flutter-autoroll Documentation for the AutoRoller is here: https://skia.googlesource.com/buildbot/+/master/autoroll/README.md If the roll is causing failures, please contact the current sheriff ([email protected]), and stop the roller if necessary.
This reverts commit 1c7e671.
This reverts commit 1c7e671.
Bug: flutter/flutter#30407