Skip to content

Commit 86eb5d9

Browse files
author
David Holmes
committed
8329958: Windows x86 build fails: downcallLinker.cpp(36) redefinition
Reviewed-by: kvn, shade
1 parent be1d374 commit 86eb5d9

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

src/hotspot/share/prims/downcallLinker.hpp

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright (c) 2020, 2023, Oracle and/or its affiliates. All rights reserved.
2+
* Copyright (c) 2020, 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
@@ -41,7 +41,8 @@ class DowncallLinker: AllStatic {
4141
int captured_state_mask,
4242
bool needs_transition);
4343

44-
static void capture_state(int32_t* value_ptr, int captured_state_mask);
44+
// This is defined as JVM_LEAF which adds the JNICALL modifier.
45+
static void JNICALL capture_state(int32_t* value_ptr, int captured_state_mask);
4546

4647
class StubGenerator : public StubCodeGenerator {
4748
BasicType* _signature;

0 commit comments

Comments
 (0)