Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SR-11926: [FileHandle] Ensure the Darwin compatibility of Access Control of new methods. #2585

Closed
wants to merge 1 commit into from

Conversation

YOCKOW
Copy link
Collaborator

@YOCKOW YOCKOW commented Dec 12, 2019

From Swift 5.0, new APIs of FileHandle are introduced.
While they are defined as open in DarwinFoundation (as you know they are imported from objc), they are public in SwiftFoundation.
They should be defined as open also in SwiftFoundation to ensure compatibility (for example, making subclasses of FileHandle in other modules).

Resolves SR-11926.

@spevans
Copy link
Collaborator

spevans commented Jan 21, 2020

@swift-ci test

@millenomi
Copy link
Contributor

Note that at least some of these changes are incorrect. e.g.: write(contentsOf:) is public, not open, on Darwin.

@YOCKOW
Copy link
Collaborator Author

YOCKOW commented Apr 2, 2020

It seems to come to a conclusion.
Unfortunately, I'm going to close this PR.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants