man pages should change when changing version

Task Info (Flyspray)
Opened By soloturn (soloturn)
Task ID 73678
Type Bug Report
Project Arch Linux
Category Packages: Extra
Version None
OS All
Opened 2022-02-08 07:46:11 UTC
Status Assigned
Assignee Felix Yan (felixonmars)
Assignee Levente Polyak (anthraxx)

Details

Description: installing jdk8, jdk11 and jdk17, activating java17, then doing "man javac" displays the jdk8 version man page. would be cool if it would display the one active.