< prev index next >
src/jdk.aot/share/classes/jdk.tools.jaotc.binformat/src/jdk/tools/jaotc/binformat/elf/ElfTargetInfo.java
Print this page
rev 59383 : [mq]: final
*** 1,7 ****
/*
! * Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License version 2 only, as
* published by the Free Software Foundation.
--- 1,7 ----
/*
! * Copyright (c) 2016, 2020, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License version 2 only, as
* published by the Free Software Foundation.
*** 63,73 ****
System.out.println("Unsupported architecture " + archStr);
arch = Elf64_Ehdr.EM_NONE;
}
osName = System.getProperty("os.name").toLowerCase();
! if (!osName.equals("linux") && !osName.equals("sunos")) {
System.out.println("Unsupported Operating System " + osName);
osName = "Unknown";
}
}
--- 63,73 ----
System.out.println("Unsupported architecture " + archStr);
arch = Elf64_Ehdr.EM_NONE;
}
osName = System.getProperty("os.name").toLowerCase();
! if (!osName.equals("linux")) {
System.out.println("Unsupported Operating System " + osName);
osName = "Unknown";
}
}
< prev index next >