Potential fix for jdk.internal.misc package not found

This commit is contained in:
2025-11-30 15:32:46 +01:00
parent 3970f21999
commit 30f8390d44
6 changed files with 32 additions and 2 deletions
@@ -0,0 +1,30 @@
/*
* This file is a part of the SteamWar software.
*
* Copyright (C) 2025 SteamWar.de-Serverteam
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU Affero General Public License for more details.
*
* You should have received a copy of the GNU Affero General Public License
* along with this program. If not, see <https://www.gnu.org/licenses/>.
*/
package jdk.internal.misc;
public class Unsafe {
public static Unsafe getUnsafe() {
throw new UnsupportedOperationException();
}
public native Object allocateInstance(Class<?> cls)
throws InstantiationException;
}
+1 -1
View File
@@ -30,7 +30,7 @@ dependencies {
annotationProcessor(libs.classindex)
compileOnly(project(":CommonCore", "default"))
compileOnly(project(":CommandFramework", "default"))
compileOnly(project(":SpigotCore:CRIUDummy", "default"))
compileOnly(project(":SpigotCore:CompileDummy", "default"))
compileOnly(libs.worldedit12)
+1 -1
View File
@@ -234,7 +234,7 @@ include(
include(
"SpigotCore",
"SpigotCore:CRIUDummy",
"SpigotCore:CompileDummy",
"SpigotCore:SpigotCore_8",
"SpigotCore:SpigotCore_9",
"SpigotCore:SpigotCore_10",