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

Jiangli Zhou jiangli at openjdk.org
Thu Aug 31 15:55:04 UTC 2023


On Thu, 31 Aug 2023 05:00:18 GMT, David Holmes <dholmes at openjdk.org> wrote:

> Is `normalize` the only function that causes a conflict and the other changes are just for consistency? If so please just rename normalize to e.g. `normalize_path`

Right, only `normalize` showed up in our testing so far. I suggested @cjmoon1 to also change other functions in the file mainly for consistency purpose. Just rename normalize to `normalize_path` sounds ok to me. Will wait a bit to see if @sspitsyn has any thoughts as well.

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

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


More information about the serviceability-dev mailing list