On Mon, 2 Dec 2024 19:52:36 GMT, David Holmes <dhol...@openjdk.org> wrote:
>> Add jlink plugins to allow branding change for java.vendor, java.vm.vendor >> and java.vendor.url. >> >> The jlink plugin will change the value in java.lang.VersionProps, which will >> set those property values. The `java.vm.vendor` was initialized by VM with >> value set at build time, and then later be replaced with value from >> VersionProps. >> >> To keep current behavior, we treat 'N/A' value as no-op to mimic current >> build behavior. Perhaps we don't really need this, as proper value should be >> set with `branding.conf` in official build. > > src/hotspot/share/runtime/abstract_vm_version.hpp line 30: > >> 28: #include "memory/allStatic.hpp" // For declaration of class AllStatic >> 29: #include "utilities/globalDefinitions.hpp" >> 30: #include "runtime/os.hpp" > > This include is not needed by the hpp file please put it in the cpp file. Yes, I start with a simpler version of override as inline function, should have moved this include along with refactoring. ------------- PR Review Comment: https://git.openjdk.org/jdk/pull/21964#discussion_r1866748950