summaryrefslogtreecommitdiff
path: root/java/openjdk11/files
diff options
context:
space:
mode:
Diffstat (limited to 'java/openjdk11/files')
-rw-r--r--java/openjdk11/files/patch-src_jdk.pack_share_native_common-unpack_constants.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/java/openjdk11/files/patch-src_jdk.pack_share_native_common-unpack_constants.h b/java/openjdk11/files/patch-src_jdk.pack_share_native_common-unpack_constants.h
new file mode 100644
index 000000000000..b9e766070817
--- /dev/null
+++ b/java/openjdk11/files/patch-src_jdk.pack_share_native_common-unpack_constants.h
@@ -0,0 +1,11 @@
+--- src/jdk.pack/share/native/common-unpack/constants.h.orig 2024-07-27 15:11:22 UTC
++++ src/jdk.pack/share/native/common-unpack/constants.h
+@@ -203,7 +203,7 @@ enum {
+ AO_HAVE_FIELD_FLAGS_HI = 1<<10,
+ AO_HAVE_METHOD_FLAGS_HI = 1<<11,
+ AO_HAVE_CODE_FLAGS_HI = 1<<12,
+- AO_UNUSED_MBZ = (-1)<<13, // options bits reserved for future use.
++ AO_UNUSED_MBZ = (~0u)<<13, // options bits reserved for future use.
+
+ #define ARCHIVE_BIT_DO(F) \
+ F(AO_HAVE_SPECIAL_FORMATS) \