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

Clean up imports and dependencies. #130

Merged
merged 1 commit into from
Sep 14, 2021

Conversation

Lukasa
Copy link
Collaborator

@Lukasa Lukasa commented Sep 14, 2021

Motivation:

With NIO 2.32.0 we broke the core NIO module up into modules that split
apart the POSIX layer and the core abstractions. As a result, this
package no longer needs to express a hard dependency on the POSIX layer.

Modifications:

  • Rewrote imports of NIO to NIOCore.
  • Added NIOEmbedded imports where necessary in tests.
  • Note that the main package still depends on NIO, which is necessary
    for backwards-compatibility reasons. This dependency is unused.

Result:

No need to use NIOPosix.

@Lukasa Lukasa added the semver/patch No public API change. label Sep 14, 2021
Motivation:

With NIO 2.32.0 we broke the core NIO module up into modules that split
apart the POSIX layer and the core abstractions. As a result, this
package no longer needs to express a hard dependency on the POSIX layer.

Modifications:

- Rewrote imports of NIO to NIOCore.
- Added NIOEmbedded imports where necessary in tests.
- Note that the main package still _depends_ on NIO, which is necessary
  for backwards-compatibility reasons. This dependency is unused.

Result:

No need to use NIOPosix.
@Lukasa Lukasa merged commit e7f5278 into apple:main Sep 14, 2021
@Lukasa Lukasa deleted the cb-clean-up-imports-and-deps branch September 14, 2021 09:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
semver/patch No public API change.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants