RFR: 8256380: JDK-8254162 broke 32bit windows build
Jorn Vernee
jvernee at openjdk.java.net
Mon Nov 16 12:19:03 UTC 2020
Fix win-32 linker error due to forward declaration and definition signature mismatch.
FWIW, the altered header is included from nativeLookup.cpp, which uses the function pointer of that function. But, since the signature of the definition [1] is different, and due to name mangling on the particular ABI, the symbols of the declaration in the header and definition are different as well, and things fail to link later.
[1] https://github.com/openjdk/jdk/blob/master/src/hotspot/share/prims/scopedMemoryAccess.cpp#L181
-------------
Commit messages:
- Fix win-32 linker error due to forward declaration and definition signature mismatch
Changes: https://git.openjdk.java.net/jdk/pull/1222/files
Webrev: https://webrevs.openjdk.java.net/?repo=jdk&pr=1222&range=00
Issue: https://bugs.openjdk.java.net/browse/JDK-8256380
Stats: 1 line in 1 file changed: 0 ins; 0 del; 1 mod
Patch: https://git.openjdk.java.net/jdk/pull/1222.diff
Fetch: git fetch https://git.openjdk.java.net/jdk pull/1222/head:pull/1222
PR: https://git.openjdk.java.net/jdk/pull/1222
More information about the hotspot-dev
mailing list