Skip to content

Conversation

@aviroop-123
Copy link
Contributor

^KT-82978

@aviroop-123 aviroop-123 force-pushed the resolve-dependencies-parallel branch from 7a5eec3 to c978c6f Compare December 8, 2025 18:17
@demiurg906 demiurg906 requested review from ddolovov and removed request for AnzhelaSukhanova and azakharenko December 9, 2025 08:01
@ddolovov
Copy link
Contributor

In general LGTM. Thank you!

@aviroop-123 aviroop-123 requested a review from ddolovov December 11, 2025 20:05
@ddolovov
Copy link
Contributor

ddolovov commented Dec 12, 2025

Unfortunately, fixup! commits are not supported on GitHub. Could you please squash the commits manually?

@ddolovov
Copy link
Contributor

/test-private

@kotlin-safe-merge
Copy link

Command rejected: Command cannot be used on a branch from forked repository.

@ddolovov
Copy link
Contributor

There are numerous tests that fail on CI server with errors like error: KLIB resolver: Failed to resolve Kotlin library: org.jetbrains.kotlin.native.platform.posix, due to access denied ("java.io.FilePermission" "$USER_DIR$/kotlin-native/dist/klib/common/org.jetbrains.kotlin.native.platform.posix" "read").

This happens because parallelStream() schedules tasks for ForkJoinPool.commonPool which has tighter access control permissions than are used by default in our tests.

I could suggest you to rewrite the parallelization without using parallelStream(), or try to run parallelStream() in the context of a custom ForkJoinPool which would not have strict access control permissions.

You can check whether your changes helped by running this test: org.jetbrains.kotlin.konan.test.cli.NativeCliTestGenerated

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.

2 participants