Created attachment 212193 [details]
Patch against /usr/ports
The current version advertises:
> java.vm.vendor=Oracle Corporation
> java.vendor=Oracle Corporation
But this OpenJDK distribution is not from Oracle, its it from the FreeBSD-derived AdoptOpenJDK distribution.
As a comparison, this is what Azul Zulu prints:
> java.vm.vendor=Azul Systems, Inc.
> java.vendor=Azul Systems, Inc.
Attached is a patch which advertises that this OpenJDK distro comes from the Free BSD Project.
The same can be applied to all other OpenJDK ports.
I just have noticed:
> $ make java-debug | grep JAVA_PORT_VENDOR
> JAVA_PORT_VENDOR= openjdk (OpenJDK BSD Porting Team)
They should be consistent.
Does it matter what is advertised for the vendor? I thought as long as the JDK adheres strictly to the JSR, it should be OK.
Below is what Tomcat 9.0.31 showing the JVM for Ubuntu 18.04.x LTS via the manager-gui:
OS Name: Linux
OS Version: 4.15.088-Generic.
(In reply to Tommy P from comment #2)
It actually does.
* For constructs like this https://sourceforge.net/p/wrapper/bugs/313/
* For assumptions about the features of a VM. E.g, SapMachine provides features other VMs don't.
* Legal reasons, you can't call it Java if you are not Oracle
* Marketing and support reasons