mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
drop some remaining Unsafe usages
GitOrigin-RevId: eefefea2ffe01053115aaae389c722e8bbacab64
This commit is contained in:
committed by
intellij-monorepo-bot
parent
224cbe2f08
commit
4f472c9f9d
@@ -1510,7 +1510,7 @@ public final class BuildManager implements Disposable {
|
||||
//-Djava.endorsed.dirs is not supported in JDK 9+, may result in abnormal process termination
|
||||
cmdLine.addParameter("-Djava.endorsed.dirs=\"\""); // turn off all jre customizations for predictable behaviour
|
||||
}
|
||||
if (sdkVersion.isAtLeast(JavaSdkVersion.JDK_16)) {
|
||||
if (sdkVersion.isAtLeast(JavaSdkVersion.JDK_11)) {
|
||||
// enable javac-related reflection tricks in JPS
|
||||
ClasspathBootstrap.configureReflectionOpenPackages(cmdLine::addParameter);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user