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

Oracle internal modules used in sandbox #1138

Open
Domonion opened this issue Oct 11, 2022 · 0 comments
Open

Oracle internal modules used in sandbox #1138

Domonion opened this issue Oct 11, 2022 · 0 comments
Assignees
Labels
ctg-bug Issue is a bug

Comments

@Domonion
Copy link
Collaborator

Description

Currently we use sun.security.provider package from sun.security module at the org.utbot.instrumentation.process.SecurityKt#sandbox(java.net.URI, kotlin.jvm.functions.Function0<? extends T>).

Judging by official Oracle documentation there can be multiple providers for security modules. sun.security is not listed in standard modules list so there might exist JDK without that module, so that UTBotJava would not be able to run using it.

Although there are no knowledge about which JDK is it, it's highly advised to rewrite sandbox without using unlisted internal Oracle modules.

@Domonion Domonion added the ctg-bug Issue is a bug label Oct 11, 2022
@korifey korifey moved this to Todo in UTBot Java Oct 11, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ctg-bug Issue is a bug
Projects
Status: Todo
Development

No branches or pull requests

2 participants