8355962: RISCV64 cross build fails after 8354996
Reviewed-by: erikj, manc
This commit is contained in:
parent
56468c42be
commit
4d2d12987f
@ -66,7 +66,7 @@ endif
|
|||||||
# default classlist is minimal, let's filter out the '@cp' lines until we can
|
# default classlist is minimal, let's filter out the '@cp' lines until we can
|
||||||
# find a proper solution.
|
# find a proper solution.
|
||||||
CLASSLIST_FILE_VM_OPTS = \
|
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
|
# Save the stderr output of the command and print it along with stdout in case
|
||||||
# something goes wrong.
|
# something goes wrong.
|
||||||
|
@ -31,8 +31,6 @@
|
|||||||
*/
|
*/
|
||||||
package build.tools.classlist;
|
package build.tools.classlist;
|
||||||
|
|
||||||
import java.lang.foreign.FunctionDescriptor;
|
|
||||||
import java.lang.foreign.Linker;
|
|
||||||
import java.lang.invoke.MethodHandle;
|
import java.lang.invoke.MethodHandle;
|
||||||
import java.lang.invoke.MethodHandles;
|
import java.lang.invoke.MethodHandles;
|
||||||
import java.lang.invoke.MethodType;
|
import java.lang.invoke.MethodType;
|
||||||
@ -174,10 +172,6 @@ public class HelloClasslist {
|
|||||||
// an inconsistency in the classlist between builds (see JDK-8295951).
|
// an inconsistency in the classlist between builds (see JDK-8295951).
|
||||||
// To avoid the problem, load the class explicitly.
|
// To avoid the problem, load the class explicitly.
|
||||||
Class<?> striped64Class = Class.forName("java.util.concurrent.atomic.Striped64$Cell");
|
Class<?> striped64Class = Class.forName("java.util.concurrent.atomic.Striped64$Cell");
|
||||||
|
|
||||||
// Initialize FFM linkers
|
|
||||||
var signature = FunctionDescriptor.ofVoid();
|
|
||||||
Linker.nativeLinker().downcallHandle(signature);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
public HelloClasslist() {}
|
public HelloClasslist() {}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user