mirror of
https://github.com/openjdk/jdk.git
synced 2025-09-18 01:54:47 +02:00
8080776: ARM 32 bit binaries do not run on 64 bit ARM v8 hardware
Need to know arm cpu type earlier in the init sequence to avoid illegal instruction Reviewed-by: dholmes, dlong, bdelsart
This commit is contained in:
parent
058dd16f78
commit
7f027ca123
2 changed files with 10 additions and 0 deletions
|
@ -3273,6 +3273,9 @@ void Threads::initialize_jsr292_core_classes(TRAPS) {
|
|||
jint Threads::create_vm(JavaVMInitArgs* args, bool* canTryAgain) {
|
||||
extern void JDK_Version_init();
|
||||
|
||||
// Preinitialize version info.
|
||||
VM_Version::early_initialize();
|
||||
|
||||
// Check version
|
||||
if (!is_supported_jni_version(args->version)) return JNI_EVERSION;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue