> Currently we still link the jvm lib on Windows with psapi.
> But this seems to be unnecessary these days.
> If we want to use the older API, we can compile with -DPSAPI_VERSION=1 and 
> link psapi; but this is not done for hotspot.
> (btw it's done for some jdk libs :
> 
> https://github.com/openjdk/jdk/blob/6e5bfcc6450512b4b974ed4afa067547552a0847/make/modules/jdk.attach/Lib.gmk#L35
> https://github.com/openjdk/jdk/blob/6e5bfcc6450512b4b974ed4afa067547552a0847/make/modules/jdk.management/Lib.gmk#L35
> 
> but not in the hotspot build).
> 
> ---------
> - [x] I confirm that I make this contribution in accordance with the [OpenJDK 
> Interim AI Policy](https://openjdk.org/legal/ai).

Matthias Baesken has updated the pull request incrementally with one additional 
commit since the last revision:

  Remove psapi linkage from other libs too

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

Changes:
  - all: https://git.openjdk.org/jdk/pull/31846/files
  - new: https://git.openjdk.org/jdk/pull/31846/files/a4a0b78c..80726690

Webrevs:
 - full: https://webrevs.openjdk.org/?repo=jdk&pr=31846&range=01
 - incr: https://webrevs.openjdk.org/?repo=jdk&pr=31846&range=00-01

  Stats: 21 lines in 3 files changed: 0 ins; 16 del; 5 mod
  Patch: https://git.openjdk.org/jdk/pull/31846.diff
  Fetch: git fetch https://git.openjdk.org/jdk.git pull/31846/head:pull/31846

PR: https://git.openjdk.org/jdk/pull/31846

Reply via email to