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.

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

Commit messages:
 - Avoid N/A used as java.vm.vendor value as currently build behavior
 - 8342035: jlink plugins for setting java.vendor, java.vm.vendor and 
java.vendor.url

Changes: https://git.openjdk.org/jdk/pull/21964/files
  Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=21964&range=00
  Issue: https://bugs.openjdk.org/browse/JDK-8342035
  Stats: 224 lines in 14 files changed: 213 ins; 5 del; 6 mod
  Patch: https://git.openjdk.org/jdk/pull/21964.diff
  Fetch: git fetch https://git.openjdk.org/jdk.git pull/21964/head:pull/21964

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

Reply via email to