On Wed, 13 Mar 2024 09:57:12 GMT, Magnus Ihse Bursie <i...@openjdk.org> wrote:
> After we removed mapfiles, we can setup -fvisibility=hidden (and > -Wl,--exclude-libs,ALL) in the most basic flags, so this applies to all > compilation. > > This will remove duplicate code and make the underlying assumptions of the > build clearer. > > (This PR replaces https://github.com/openjdk/jdk/pull/18061 which got too > messy.) Two files will have different flags after this patch: `jspawnhelper` (on linux and mac), and `jexec` (on linux only). They are helper executables, which were not compiled with these flags before. This has no practical effect. ------------- PR Comment: https://git.openjdk.org/jdk/pull/18267#issuecomment-1994006990