You've already forked AstralRinth
forked from didirus/AstralRinth
Merge commit 'bc90c27e27df60f95a1fdc3572fb0bd5aa4fd102' into feature-clean
This commit is contained in:
File diff suppressed because one or more lines are too long
@@ -622,6 +622,12 @@ pub async fn launch_minecraft(
|
||||
.into_iter(),
|
||||
);
|
||||
|
||||
// The java launcher requires access to java.lang.reflect in order to force access in to
|
||||
// whatever module the main class is in
|
||||
if java_version.parsed_version >= 9 {
|
||||
command.arg("--add-opens=java.base/java.lang.reflect=ALL-UNNAMED");
|
||||
}
|
||||
|
||||
// The java launcher code requires internal JDK code in Java 25+ in order to support JEP 512
|
||||
if java_version.parsed_version >= 25 {
|
||||
command.arg("--add-opens=jdk.internal/jdk.internal.misc=ALL-UNNAMED");
|
||||
|
||||
Reference in New Issue
Block a user