Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8342035

jlink plugins for setting java.vendor, java.vm.vendor and java.vendor.url

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Unresolved
    • Icon: P4 P4
    • 25
    • None
    • tools
    • None
    • In Review

      The jlink tool can be used to create a custom run-time image that behaves substantially different to the base JDK, e.g., by adding and enabling a custom JIT compiler via JVMCI. The resulting image should be customizable to reflect this, e.g., to allow proper feature detection by user code.

      While jlink allows certain system properties to be overridden, it does not allow setting java.vendor, java.vendor.url, java.vm.vendor. The only way to set these values currently is at JDK configure time[1].

      JDK-8232080 added a jlink plugin to customize properties such as java.vendor.url.bug and java.vendor.version. This functionality could be extended to also cover java.vendor, java.vm.vendor and java.vendor.url.

      [1] https://github.com/openjdk/jdk/blob/master/make/autoconf/jdk-version.m4#L101-L130

            henryjen Henry Jen
            jeisl Josef Eisl
            Votes:
            0 Vote for this issue
            Watchers:
            8 Start watching this issue

              Created:
              Updated: