RFR: 8313277: Resolve multiple definition of 'normalize' when statically linking JDK native libraries with user code

David Holmes dholmes at openjdk.org
Thu Aug 31 04:56:06 UTC 2023


On Wed, 30 Aug 2023 15:35:20 GMT, Jiangli Zhou <jiangli at openjdk.org> wrote:

> Could you please clarify the last part of your comment? Is it related to namespace?

No not namespaces, just by using C++ so it a member function, then C++ name mangling would mean the symbol would be different to some same-named function in some other library - in essence the class name part of the symbol would provide the "unique" prefix.

-------------

PR Comment: https://git.openjdk.org/jdk/pull/15477#issuecomment-1700365303


More information about the serviceability-dev mailing list