Skip to content

Oracle internal modules used in sandbox #1138

Open
@Domonion

Description

@Domonion

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.

Metadata

Metadata

Assignees

Labels

ctg-bugIssue is a bug

Type

No type

Projects

Status

Todo

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions