8355962: RISCV64 cross build fails after 8354996

Reviewed-by: erikj, manc
This commit is contained in:
Chen Liang 2025-05-02 22:34:10 +00:00 committed by Man Cao
parent 56468c42be
commit 4d2d12987f
2 changed files with 1 additions and 7 deletions

View File

@ -66,7 +66,7 @@ endif
# default classlist is minimal, let's filter out the '@cp' lines until we can
# find a proper solution.
CLASSLIST_FILE_VM_OPTS = \
-Duser.language=en -Duser.country=US --enable-native-access=ALL-UNNAMED
-Duser.language=en -Duser.country=US
# Save the stderr output of the command and print it along with stdout in case
# something goes wrong.

View File

@ -31,8 +31,6 @@
*/
package build.tools.classlist;
import java.lang.foreign.FunctionDescriptor;
import java.lang.foreign.Linker;
import java.lang.invoke.MethodHandle;
import java.lang.invoke.MethodHandles;
import java.lang.invoke.MethodType;
@ -174,10 +172,6 @@ public class HelloClasslist {
// an inconsistency in the classlist between builds (see JDK-8295951).
// To avoid the problem, load the class explicitly.
Class<?> striped64Class = Class.forName("java.util.concurrent.atomic.Striped64$Cell");
// Initialize FFM linkers
var signature = FunctionDescriptor.ofVoid();
Linker.nativeLinker().downcallHandle(signature);
}
public HelloClasslist() {}