Skip to content

Commit 2ff29eb

Browse files
committed
Disable callback tests for win32-aarch64
1 parent 22202a0 commit 2ff29eb

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

src/com/sun/jna/Platform.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -129,8 +129,9 @@ else if (osName.equalsIgnoreCase("netbsd")) {
129129
RO_FIELDS = osType != WINDOWSCE;
130130
C_LIBRARY_NAME = osType == WINDOWS ? "msvcrt" : osType == WINDOWSCE ? "coredll" : "c";
131131
MATH_LIBRARY_NAME = osType == WINDOWS ? "msvcrt" : osType == WINDOWSCE ? "coredll" : "m";
132-
HAS_DLL_CALLBACKS = osType == WINDOWS;
133132
ARCH = getCanonicalArchitecture(System.getProperty("os.arch"), osType);
133+
// Windows aarch64 callbacks disabled via ASMFN_OFF (no mingw support)
134+
HAS_DLL_CALLBACKS = osType == WINDOWS && !ARCH.startsWith("aarch");
134135
RESOURCE_PREFIX = getNativeLibraryResourcePrefix();
135136
}
136137
private Platform() { }

0 commit comments

Comments
 (0)