Commit Graph

585 Commits

Author SHA1 Message Date
Zach Anderson 0ccdc3ec38 Reland: [dart:io] Adds Socket.startConnect
This is a reland of https://dart-review.googlesource.com/c/sdk/+/62484
with the following changes:
- _NativeSocket.connect now drops references to pending sockets on
  an error or successful connection.
- eventhandlers are updated to ignore unset Dart ports on a close
  command.
- Test updated to account for new SocketException.

This is the second part of https://dart-review.googlesource.com/c/sdk/+/62484

This CL adds a startConnect method to Socket types that returns
a ConnectionTask object that can be cancelled. Cancelling
a ConnectionTask closes any sockets that were opened for the
connection attempt that are not yet connected to the host.

This allows a closing HttpClient to close sockets for pending
requests whose sockets weren't fully connected yet.

related https://github.com/flutter/flutter/issues/18617

Change-Id: I47fe3564e41197d622079aad4bb644bbdfe0bfe8
Reviewed-on: https://dart-review.googlesource.com/63040
Reviewed-by: Zach Anderson <zra@google.com>
Commit-Queue: Zach Anderson <zra@google.com>
2018-07-03 14:47:41 +00:00
Alexander Aprelev e5f3d682b4 [gardening] Add multiplier for arm64 buildbot.
Revert "[gardening] Update arm64 status files."

This reverts commit ff0a1d6b67 as
updating multiplier is better solution than updating status files.

Bug: http://dartbug.com/33659
Change-Id: I064964e1fafe9c77fb24d5e9c324927b75cbacb0
Reviewed-on: https://dart-review.googlesource.com/63340
Reviewed-by: Ryan Macnak <rmacnak@google.com>
Commit-Queue: Alexander Aprelev <aam@google.com>
2018-07-02 18:39:33 +00:00
Aart Bik 34fc26d4cd [vm/inliner] Inline 64-bit typed data.
Rationale:
This CL finalizes recent improvements by allowing
inlining 64-bit and double getter/setter operations.
The runtime over all data types (with and without
view) now no longer has outliers.

Note:
64-bit targets only, 32-bit targets still tbd.

Performance:
About 4x improvement on micro benchmarks.

https://github.com/dart-lang/sdk/issues/33205

Change-Id: Ic82fa24167a68e3c196edf4843f0829c7fbcf9e1
Reviewed-on: https://dart-review.googlesource.com/60451
Commit-Queue: Aart Bik <ajcbik@google.com>
Reviewed-by: Vyacheslav Egorov <vegorov@google.com>
Reviewed-by: Alexander Markov <alexmarkov@google.com>
2018-07-02 17:41:43 +00:00
Alexander Aprelev ff0a1d6b67 [gardening] Update arm64 status files.
Bug: http://dartbug.com/33659
Change-Id: Ib3bb01fa127c5a95a27709dbfcf24bec43930619
Reviewed-on: https://dart-review.googlesource.com/63304
Reviewed-by: Aart Bik <ajcbik@google.com>
Commit-Queue: Alexander Aprelev <aam@google.com>
2018-06-29 22:44:49 +00:00
Zach Anderson 4e04ad50b7 Revert "[dart:io] Adds Socket.startConnect"
This reverts commit eb3becea2c.

Reason for revert: test failures on the bots.

Original change's description:
> [dart:io] Adds Socket.startConnect
> 
> This is the second part of https://dart-review.googlesource.com/c/sdk/+/62484
> 
> This CL adds a startConnect method to Socket types that returns
> a ConnectionTask object that can be cancelled. Cancelling
> a ConnectionTask closes any sockets that were opened for the
> connection attempt that are not yet connected to the host.
> 
> This allows a closing HttpClient to close sockets for pending
> requests whose sockets weren't fully connected yet.
> 
> related https://github.com/flutter/flutter/issues/18617
> 
> Change-Id: I59c761b06e070d555fc514614079930b69c129dd
> Reviewed-on: https://dart-review.googlesource.com/62780
> Commit-Queue: Zach Anderson <zra@google.com>
> Reviewed-by: Ryan Macnak <rmacnak@google.com>

TBR=rmacnak@google.com,zra@google.com,asiva@google.com

Change-Id: I890d0de7fcde65fec55bfa9bad077c1a3dd13a74
No-Presubmit: true
No-Tree-Checks: true
No-Try: true
Reviewed-on: https://dart-review.googlesource.com/62980
Reviewed-by: Zach Anderson <zra@google.com>
Commit-Queue: Zach Anderson <zra@google.com>
2018-06-28 22:42:38 +00:00
Zach Anderson eb3becea2c [dart:io] Adds Socket.startConnect
This is the second part of https://dart-review.googlesource.com/c/sdk/+/62484

This CL adds a startConnect method to Socket types that returns
a ConnectionTask object that can be cancelled. Cancelling
a ConnectionTask closes any sockets that were opened for the
connection attempt that are not yet connected to the host.

This allows a closing HttpClient to close sockets for pending
requests whose sockets weren't fully connected yet.

related https://github.com/flutter/flutter/issues/18617

Change-Id: I59c761b06e070d555fc514614079930b69c129dd
Reviewed-on: https://dart-review.googlesource.com/62780
Commit-Queue: Zach Anderson <zra@google.com>
Reviewed-by: Ryan Macnak <rmacnak@google.com>
2018-06-28 21:58:08 +00:00
Ben Konyi 9c7cd04e7f [ VM / Testing ] Disabled non_utf8_* tests for FileSystemEntity classes
Issue 33519 causing bots to go purple due to temp files not being cleaned
up properly.

Change-Id: I772e698da36d5672e545ca12118274cb618e90ce
Reviewed-on: https://dart-review.googlesource.com/62322
Reviewed-by: Alexander Thomas <athom@google.com>
Commit-Queue: Ben Konyi <bkonyi@google.com>
2018-06-26 16:44:25 +00:00
Ben Konyi 091f8860c2 [ dart:io / tests ] Fixed issue where non_utf8* tests attempted to delete the current working directory which is not allowed on Windows.
Change-Id: I67801c1c544e0ee197386dd3aad82cc7507a98a1
Reviewed-on: https://dart-review.googlesource.com/61963
Reviewed-by: Zach Anderson <zra@google.com>
Commit-Queue: Ben Konyi <bkonyi@google.com>
2018-06-22 23:18:48 +00:00
Ben Konyi efd36d4cdf Updated non_utf8_* tests to better cleanup after themselves. Fixes issue
Change-Id: I576fde1edde38224643132fd2b10b28e9e0b22ee
Reviewed-on: https://dart-review.googlesource.com/61600
Commit-Queue: William Hesse <whesse@google.com>
Commit-Queue: Ben Konyi <bkonyi@google.com>
Reviewed-by: William Hesse <whesse@google.com>
2018-06-21 22:39:43 +00:00
asiva 85c27d78c1 [Gardening] Removed incorrect entry in the status file.
Change-Id: I46d139072a7cc26f5b8ca98c5f3034ba5746da17
Reviewed-on: https://dart-review.googlesource.com/61305
Reviewed-by: Alexander Markov <alexmarkov@google.com>
2018-06-20 18:15:46 +00:00
William Hesse 6612278b71 Skip non-utf8 file tests on reload builders, where they time out
BUG=https://github.com/dart-lang/sdk/issues/33519

Change-Id: I8be60d6a1e1c4eddc7ab44cc0c15043b412b464c
Reviewed-on: https://dart-review.googlesource.com/61260
Reviewed-by: Jonas Termansen <sortie@google.com>
2018-06-20 12:32:41 +00:00
asiva a36fbd1990 Skip app_snapshot_share test in precompiled dart1 mode as the test
spawns a dart process which runs in Dart2 mode and hence needs a
kernel file generation step to run. This test now makes sense only
in dartk and dartkp modes.

Change-Id: I03319692467552dfa68363d41b50d1786e27eba2
Reviewed-on: https://dart-review.googlesource.com/61160
Reviewed-by: Siva Annamalai <asiva@google.com>
2018-06-20 02:34:17 +00:00
Alexander Markov 437b492042 [gardening] Update status for reload-kernel bots
Change-Id: Ic0b4e9917e43d673ce0781ec1873804011cb0252
Reviewed-on: https://dart-review.googlesource.com/61040
Reviewed-by: Zach Anderson <zra@google.com>
Commit-Queue: Alexander Markov <alexmarkov@google.com>
2018-06-19 19:02:46 +00:00
Martin Kustermann 049195b15d Fix path to entry points json file in app_snapshot_share_test
Change-Id: I4c539d4a5244f6708b6789da9c65c3689b613a9a
Reviewed-on: https://dart-review.googlesource.com/60960
Reviewed-by: Martin Kustermann <kustermann@google.com>
2018-06-19 14:30:47 +00:00
Martin Kustermann 6e6bdb486a Ensure we run app_snapshot_share_test
Currently the test seems to be effectivly disabled (NOP on
non-dart_precompiled_runtime, RuntimeError on dart_precompiled_runtime)

Furthermore: The test itself runs in dart-2 mode, but the actual
functionality it tests, making shared AOT snapshots, runs in dart-1
mode. This CL makes the necessary changes to run it in dart-2 mdoe.

(For some reason this test passed on windows after the
dart2-on-by-default change. This fixes red vm-kernel-precomp-win-release-x64 builder)

Change-Id: I421b22a568f407cb7e85d6edb816b4cc676a5c3e
Reviewed-on: https://dart-review.googlesource.com/60920
Reviewed-by: Vyacheslav Egorov <vegorov@google.com>
Commit-Queue: Martin Kustermann <kustermann@google.com>
2018-06-19 13:14:13 +00:00
Martin Kustermann 856c7c67ea Skip standalone_2 on !strong configurations (for JIT / AOT VM)
This should make vm-precomp-win-simarm64-2-4-be go green.

Change-Id: I9d3f54312751ff0c00a40078c71e72e11048e3e9
Reviewed-on: https://dart-review.googlesource.com/60922
Reviewed-by: Vyacheslav Egorov <vegorov@google.com>
Commit-Queue: Martin Kustermann <kustermann@google.com>
2018-06-19 13:07:13 +00:00
asiva efb4f69a13 Adjust simarm status.
Change-Id: I0caa211296dc3fba914e97908403d987a6e89136
Reviewed-on: https://dart-review.googlesource.com/60835
Reviewed-by: Siva Annamalai <asiva@google.com>
2018-06-19 06:57:26 +00:00
asiva ebe2f1db2c Adjust status files.
Change-Id: I294248bb2970645692f0c648477d7af8983580a3
Reviewed-on: https://dart-review.googlesource.com/60831
Reviewed-by: Siva Annamalai <asiva@google.com>
2018-06-19 04:53:43 +00:00
asiva 6fcc95d2a4 Adjust status files.
Change-Id: Ia94c7477b73ae1f5fa90ffa072436355fcbacf0e
Reviewed-on: https://dart-review.googlesource.com/60830
Reviewed-by: Siva Annamalai <asiva@google.com>
2018-06-19 03:38:20 +00:00
asiva a69d922794 Adjust some of the test expectations based on the flip to Dart 2 mode.
Change-Id: I84491b161959050b3fab2493f125ab23c8078ec4
Reviewed-on: https://dart-review.googlesource.com/60823
Reviewed-by: Siva Annamalai <asiva@google.com>
2018-06-19 00:04:57 +00:00
asiva bc7220a4fd [VM] Turn dart2 on by default on the command line VM
- make Dart2 the default option for the command line VM
- add option --no-preview-dart-2 as a fallback option to run dart1
- change test scripts to use the executable dart for testing dart2 mode instead of
pkg/vm/tool/dart2
- adjust numerous build and test configurations

Change-Id: Id813fa5b71a89c7ec9335d3f6e83cfc9f35f86e7
Reviewed-on: https://dart-review.googlesource.com/58240
Commit-Queue: Siva Annamalai <asiva@google.com>
Reviewed-by: Brian Wilkerson <brianwilkerson@google.com>
Reviewed-by: Alexander Thomas <athom@google.com>
Reviewed-by: Nate Bosch <nbosch@google.com>
Reviewed-by: Sigmund Cherem <sigmund@google.com>
Reviewed-by: Vijay Menon <vsm@google.com>
2018-06-18 22:31:32 +00:00
Mike Fairhurst 0a59b2ff90 Fix test cases that await "void." Blocks #33415, making that an error
Change-Id: I758d66d5112de631283adc791c0e33b3b98edfc1
Reviewed-on: https://dart-review.googlesource.com/60707
Reviewed-by: Bob Nystrom <rnystrom@google.com>
Commit-Queue: Mike Fairhurst <mfairhurst@google.com>
2018-06-18 20:33:13 +00:00
Alexander Thomas b960e5a3ed [gardening] Mark standalone_2/io/directory_test as Crash on dartkp/debug
See #33475

TBR=whesse@google.com

Change-Id: I9c162b4ab18cb90e24959a70d92a898b7295d470
Reviewed-on: https://dart-review.googlesource.com/60541
Reviewed-by: Alexander Thomas <athom@google.com>
2018-06-17 21:11:30 +00:00
Mike Fairhurst e2d903c4dc Remove packages/ directory resolution from CFE
Change-Id: I560941d08965a58b8a88e1b49c4d7d216389609e
Reviewed-on: https://dart-review.googlesource.com/60062
Reviewed-by: Kevin Millikin <kmillikin@google.com>
Commit-Queue: Mike Fairhurst <mfairhurst@google.com>
2018-06-15 22:47:20 +00:00
Ryan Macnak 9b5a931b06 [vm] Replace most runtime/vm uses of OS::Print with OS::PrintErr.
Leave --print-snapshot-sizes on stdout because it is parsed by Flutter benchmarks.

Replace all runtime/bin uses of OS::Print with Log::Print.

Bug: https://github.com/dart-lang/sdk/issues/32134
Change-Id: I74aacfb410cdfa9270d06e7f6ab0534520c7c7ba
Reviewed-on: https://dart-review.googlesource.com/60021
Commit-Queue: Ryan Macnak <rmacnak@google.com>
Reviewed-by: Zach Anderson <zra@google.com>
Reviewed-by: Vyacheslav Egorov <vegorov@google.com>
2018-06-13 19:51:40 +00:00
Ben Konyi 1e91c62d4b [ VM / dart:io ] Fixed issue where Link.rename would fail on Windows if another link or directory with the same name as the target existed. Fixes issue #30687.
Change-Id: I2ef4dc08cc60c57e1fab38323d67afd3fba47e84
Reviewed-on: https://dart-review.googlesource.com/60060
Commit-Queue: Ben Konyi <bkonyi@google.com>
Reviewed-by: Zach Anderson <zra@google.com>
2018-06-13 18:03:20 +00:00
Mike Fairhurst fa629f6269 No longer expect crash on windows which was caused by now-unused packages/ dir in test
Change-Id: Ia979a2d6291e8df49e12a548803a1095a9eca5ad
Reviewed-on: https://dart-review.googlesource.com/60061
Reviewed-by: Mike Fairhurst <mfairhurst@google.com>
2018-06-12 23:57:42 +00:00
Mike Fairhurst 3977fa7e32 Fix analyzer non strong test for packages file test changes
Change-Id: I058b2a19446a2e952cb2f8597bcdbe0fce61fd15
Reviewed-on: https://dart-review.googlesource.com/60000
Reviewed-by: Mike Fairhurst <mfairhurst@google.com>
2018-06-12 20:23:59 +00:00
Mike Fairhurst 7911fb2683 First pass at disabling packages/ dir, packageRoot
Change-Id: Ib2d7738c84cd1258dcad46e8e2c8da8105efea60
Reviewed-on: https://dart-review.googlesource.com/59100
Reviewed-by: Kevin Moore <kevmoo@google.com>
Reviewed-by: Ryan Macnak <rmacnak@google.com>
Commit-Queue: Mike Fairhurst <mfairhurst@google.com>
2018-06-12 19:38:40 +00:00
asiva 085320de43 Fix type errors in tests, these tests fork a process and when run with
--preview-dart-2 the forked process does not inherit this option and
they were being run in Dart 1 mode.

Change-Id: Idcdd41f6c13a8592bf7dc730d891c91fb75e887e
Reviewed-on: https://dart-review.googlesource.com/59200
Reviewed-by: Ben Konyi <bkonyi@google.com>
Commit-Queue: Siva Annamalai <asiva@google.com>
2018-06-08 00:17:53 +00:00
Zach Anderson 87b5112d5b [dart:_http] Adds Dart-styled constants
Change-Id: I42e0c02b3aac7f952c5346bbcddd50293bf2b5b8
Reviewed-on: https://dart-review.googlesource.com/58620
Commit-Queue: Zach Anderson <zra@google.com>
Reviewed-by: Leaf Petersen <leafp@google.com>
2018-06-07 16:18:33 +00:00
Alexander Thomas a73ff63fd5 [gardening] Update status for app_jitk builders
TBR=whesse@google.com

Change-Id: Ieb713aab20377fff8ee4f7637fd05a580f037bff
Reviewed-on: https://dart-review.googlesource.com/59095
Reviewed-by: Alexander Thomas <athom@google.com>
2018-06-07 15:55:09 +00:00
Alexander Thomas 2c780c4b1d [gardening] Make gardening tools accept more swarming URLs & Dart 2 fixes
Change-Id: I9101020f3a32da130e26c53391477dc5501ef6ff
Reviewed-on: https://dart-review.googlesource.com/59080
Reviewed-by: Johnni Winther <johnniwinther@google.com>
2018-06-07 14:57:26 +00:00
Alexander Aprelev 4e0e72a65f Fix map_insert_remove_oom_test.
Increase old gen heap size so that the test can start.

Bug: https://github.com/dart-lang/sdk/issues/33344
Change-Id: I1946d3c6d10a2a2504b7b290c6ea638c261cd5fe
Reviewed-on: https://dart-review.googlesource.com/58541
Reviewed-by: Ryan Macnak <rmacnak@google.com>
Commit-Queue: Alexander Aprelev <aam@google.com>
2018-06-05 19:28:07 +00:00
Alexander Thomas a9257d05fb [vm] Prepare status files for dartk reload/rollback builders (#33126)
Change-Id: I954debb9f258eb94de227f6772ff08b53daba322
Reviewed-on: https://dart-review.googlesource.com/57623
Commit-Queue: Alexander Thomas <athom@google.com>
Reviewed-by: Martin Kustermann <kustermann@google.com>
2018-06-04 11:30:21 +00:00
Alexander Thomas 2a3d1dc9ed [vm] Prepare status for app_jitk builders (#33126)
Change-Id: Iec5347b5f091b9fd6ff3c24047b011527f8b08ee
Reviewed-on: https://dart-review.googlesource.com/56802
Commit-Queue: Alexander Thomas <athom@google.com>
Reviewed-by: Martin Kustermann <kustermann@google.com>
2018-05-29 11:43:25 +00:00
Ben Konyi 05f96af05a [ VM ] Fix failing non-UTF8 path test on MacOS
Change-Id: Ieda3661b61b993b71d4bd703e576625a354d4774
Reviewed-on: https://dart-review.googlesource.com/56463
Reviewed-by: Ben Konyi <bkonyi@google.com>
Commit-Queue: Ben Konyi <bkonyi@google.com>
2018-05-24 02:07:49 +00:00
Ben Konyi 3ab7cf0590 Revert "[dart:io] Revert recent non-utf8 path handling"
This reverts commit 42bcdcd332.

Change-Id: I11fb7db2aac3b7dc15cb35a22fea38b31069cbc0
Reviewed-on: https://dart-review.googlesource.com/55502
Reviewed-by: Zach Anderson <zra@google.com>
Commit-Queue: Ben Konyi <bkonyi@google.com>
2018-05-23 21:01:44 +00:00
asiva ce1dc86620 Adjust status file.
Change-Id: Iad9b4c3aaeabf22767a1e99d7d2e1033268570ee
Reviewed-on: https://dart-review.googlesource.com/55987
Reviewed-by: Siva Annamalai <asiva@google.com>
2018-05-19 01:11:40 +00:00
asiva 5632b1cb47 Adjust status file for precompiled target (see issue 33168)
Change-Id: Ice333a0f1ed11dfebb1f113f53a9f80d64207ff8
Reviewed-on: https://dart-review.googlesource.com/55986
Reviewed-by: Siva Annamalai <asiva@google.com>
2018-05-18 23:02:08 +00:00
asiva 41468e7c03 [VM] bypass some app_jit tests which have issues with mismatched VM options between the snapshot version and the invoked dart process.
Change-Id: I3f22f75a47255ebb99b8f884044fc186b83ebcfc
Reviewed-on: https://dart-review.googlesource.com/55985
Reviewed-by: Siva Annamalai <asiva@google.com>
2018-05-18 22:31:16 +00:00
Zach Anderson e7495e427c [dart:io] Adds X509Certificate.der and X509Certificate.pem
fixes #33115

Change-Id: I7ccf5998b23e936040fe65792824f09d3f494cf7
Reviewed-on: https://dart-review.googlesource.com/55505
Commit-Queue: Zach Anderson <zra@google.com>
Reviewed-by: Ben Konyi <bkonyi@google.com>
2018-05-17 16:20:06 +00:00
Zach Anderson 42bcdcd332 [dart:io] Revert recent non-utf8 path handling
Reason for revert: Breaking API change blocks Flutter rolls. Reverting
to reconsider, work around, etc..

Revert "[ VM ] Fixed issue where backing array was deleted from an ExternalTypedData before the ExternalTypedData was used."

This reverts commit 916b9da48d.

Revert "[ VM ] Fixed tests for non-UTF8 paths on Windows / Macos."

This reverts commit 6327fe91c2.

Revert "[ VM ] Fix failing tests on Windows bots after non-UTF-8 paths change."

This reverts commit b51f4b7956.

Revert "[ VM ] Updated non-UTF-8 tests to expect exceptions on OSX/iOS."

This reverts commit bcb36247d2.

Revert "Revert "[ VM ] Updated non-UTF-8 tests to expect exceptions on OSX/iOS.""

This reverts commit 24450c79a5.

Change-Id: I756f74f4acdde168d0984fe130f05f9252366334
Reviewed-on: https://dart-review.googlesource.com/55441
Reviewed-by: Todd Volkert <tvolkert@google.com>
Commit-Queue: Zach Anderson <zra@google.com>
2018-05-16 15:47:10 +00:00
Ben Konyi 24450c79a5 Revert "[ VM ] Updated non-UTF-8 tests to expect exceptions on OSX/iOS."
This reverts commit bcb36247d2.

Reason for revert: Bots are red.

Original change's description:
> [ VM ] Updated non-UTF-8 tests to expect exceptions on OSX/iOS.
> 
> Change-Id: I6328f28fffa35053861cbe00e7eefde95907c5d2
> Reviewed-on: https://dart-review.googlesource.com/55323
> Commit-Queue: Ben Konyi <bkonyi@google.com>
> Reviewed-by: Siva Annamalai <asiva@google.com>

TBR=bkonyi@google.com,rmacnak@google.com,asiva@google.com

Change-Id: I2755c0dffb921508de36d405f6419263e952a16d
No-Presubmit: true
No-Tree-Checks: true
No-Try: true
Reviewed-on: https://dart-review.googlesource.com/55340
Reviewed-by: Ben Konyi <bkonyi@google.com>
Commit-Queue: Ben Konyi <bkonyi@google.com>
2018-05-16 02:26:28 +00:00
Ben Konyi bcb36247d2 [ VM ] Updated non-UTF-8 tests to expect exceptions on OSX/iOS.
Change-Id: I6328f28fffa35053861cbe00e7eefde95907c5d2
Reviewed-on: https://dart-review.googlesource.com/55323
Commit-Queue: Ben Konyi <bkonyi@google.com>
Reviewed-by: Siva Annamalai <asiva@google.com>
2018-05-16 01:49:27 +00:00
Ben Konyi b51f4b7956 [ VM ] Fix failing tests on Windows bots after non-UTF-8 paths change.
Change-Id: Iea81649762e82c74dd275248ae5fdbff420d8654
Reviewed-on: https://dart-review.googlesource.com/55325
Reviewed-by: Ryan Macnak <rmacnak@google.com>
Commit-Queue: Ben Konyi <bkonyi@google.com>
2018-05-16 01:19:51 +00:00
Ben Konyi 6327fe91c2 [ VM ] Fixed tests for non-UTF8 paths on Windows / Macos.
Change-Id: I27dc5a3506c1d619e424f363bd405a6d66d44832
Reviewed-on: https://dart-review.googlesource.com/55320
Reviewed-by: Siva Annamalai <asiva@google.com>
2018-05-15 23:35:28 +00:00
Ben Konyi 916b9da48d [ VM ] Fixed issue where backing array was deleted from an ExternalTypedData before the ExternalTypedData was used.
Reland "Fix issues with FileSystemEntities which have non-UTF8 paths causing exceptions to be thrown when converting to/from a Dart VM String."

This reverts commit 4f549e2900.

Change-Id: Ia27c8c300beb178fa7b08ffe0bfcb2d61f65bbb5
Reviewed-on: https://dart-review.googlesource.com/55271
Reviewed-by: Zach Anderson <zra@google.com>
Commit-Queue: Ben Konyi <bkonyi@google.com>
2018-05-15 21:54:46 +00:00
Ben Konyi 4f549e2900 Revert "Fix issues with FileSystemEntities which have non-UTF8 paths causing exceptions to be thrown when converting to/from a Dart VM String."
This reverts commit ba342a94ec.

Reason for revert: Bots are red.

Original change's description:
> Fix issues with FileSystemEntities which have non-UTF8 paths causing exceptions to be thrown when converting to/from a Dart VM String.
> 
> Continuation of PR #32583 by powdercloud
> 
> Fixes #29451
> 
> Change-Id: I4bdf24f9c8ead425a4f0cad33b642908f1ec203d
> Reviewed-on: https://dart-review.googlesource.com/51580
> Commit-Queue: Ben Konyi <bkonyi@google.com>
> Reviewed-by: Zach Anderson <zra@google.com>

TBR=bkonyi@google.com,rmacnak@google.com,zra@google.com,tvolkert@google.com

Change-Id: I12850f178a13a75289d18af4e565bd73c59b14ad
No-Presubmit: true
No-Tree-Checks: true
No-Try: true
Reviewed-on: https://dart-review.googlesource.com/55060
Reviewed-by: Ben Konyi <bkonyi@google.com>
Commit-Queue: Ben Konyi <bkonyi@google.com>
2018-05-14 23:40:29 +00:00
Ben Konyi ba342a94ec Fix issues with FileSystemEntities which have non-UTF8 paths causing exceptions to be thrown when converting to/from a Dart VM String.
Continuation of PR #32583 by powdercloud

Fixes #29451

Change-Id: I4bdf24f9c8ead425a4f0cad33b642908f1ec203d
Reviewed-on: https://dart-review.googlesource.com/51580
Commit-Queue: Ben Konyi <bkonyi@google.com>
Reviewed-by: Zach Anderson <zra@google.com>
2018-05-14 23:06:57 +00:00