src/jdk.aot/share/classes/jdk.tools.jaotc.binformat/src/jdk/tools/jaotc/binformat/macho/MachOTargetInfo.java
Index
Unified diffs
Context diffs
Sdiffs
Frames
Patch
New
Old
Previous File
Next File
hotspot Cdiff src/jdk.aot/share/classes/jdk.tools.jaotc.binformat/src/jdk/tools/jaotc/binformat/macho/MachOTargetInfo.java
src/jdk.aot/share/classes/jdk.tools.jaotc.binformat/src/jdk/tools/jaotc/binformat/macho/MachOTargetInfo.java
Print this page
*** 22,39 ****
*/
package jdk.tools.jaotc.binformat.macho;
import java.nio.ByteOrder;
- import jdk.tools.jaotc.binformat.macho.MachO;
import jdk.tools.jaotc.binformat.macho.MachO.mach_header_64;
/**
* Class that abstracts MACH-O target details.
*
*/
! public class MachOTargetInfo {
/**
* Target architecture and subtype.
*/
private static final int arch;
private static final int subarch;
--- 22,38 ----
*/
package jdk.tools.jaotc.binformat.macho;
import java.nio.ByteOrder;
import jdk.tools.jaotc.binformat.macho.MachO.mach_header_64;
/**
* Class that abstracts MACH-O target details.
*
*/
! final class MachOTargetInfo {
/**
* Target architecture and subtype.
*/
private static final int arch;
private static final int subarch;
*** 66,87 ****
}
osName = System.getProperty("os.name").toLowerCase();
}
! public static int getMachOArch() {
return arch;
}
! public static int getMachOSubArch() {
return subarch;
}
! public static int getMachOEndian() {
return endian;
}
! public static String getOsName() {
return osName;
}
}
-
--- 65,85 ----
}
osName = System.getProperty("os.name").toLowerCase();
}
! static int getMachOArch() {
return arch;
}
! static int getMachOSubArch() {
return subarch;
}
! static int getMachOEndian() {
return endian;
}
! static String getOsName() {
return osName;
}
}
src/jdk.aot/share/classes/jdk.tools.jaotc.binformat/src/jdk/tools/jaotc/binformat/macho/MachOTargetInfo.java
Index
Unified diffs
Context diffs
Sdiffs
Frames
Patch
New
Old
Previous File
Next File