File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change 11/*
2- * Copyright (c) 2001, 2021 , Oracle and/or its affiliates. All rights reserved.
2+ * Copyright (c) 2001, 2024 , Oracle and/or its affiliates. All rights reserved.
33 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
44 *
55 * This code is free software; you can redistribute it and/or modify it
@@ -2316,7 +2316,7 @@ struct JNINativeInterface_* jni_functions_check() {
23162316 // make sure the last pointer in the checked table is not null, indicating
23172317 // an addition to the JNINativeInterface_ structure without initializing
23182318 // it in the checked table.
2319- debug_only (int *lastPtr = (int *)((char *)&checked_jni_NativeInterface + \
2319+ debug_only (intptr_t *lastPtr = (intptr_t *)((char *)&checked_jni_NativeInterface + \
23202320 sizeof (*unchecked_jni_NativeInterface) - sizeof (char *));)
23212321 assert (*lastPtr != 0 ,
23222322 " Mismatched JNINativeInterface tables, check for new entries" );
You can’t perform that action at this time.
0 commit comments